Go to file
Yuanhan Liu d4be35a913 net/virtio: fix wrong Rx/Tx method for secondary process
If the primary enables the vector Rx/Tx path, the current code would
let the secondary always choose the non vector Rx/Tx path. This results
to a Rx/Tx method mismatch between primary and secondary process. Werid
errors then may happen, something like:

    PMD: virtio_xmit_pkts() tx: virtqueue_enqueue error: -14

Fix it by choosing the correct Rx/Tx callbacks for the secondary process.
That is, use vector path if it's given.

Fixes: 8d8393fb18 ("virtio: pick simple Rx/Tx")
Cc: stable@dpdk.org

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-01-17 09:20:18 +01:00
app mbuf: add a function to linearize a packet 2017-01-15 19:30:00 +01:00
buildtools pmdinfogen: fix null dereference 2017-01-06 11:40:30 +01:00
config ethdev: add Tx preparation 2017-01-04 20:40:15 +01:00
devtools devtools: skip capitalization check for commit prefixes 2017-01-13 17:03:43 +01:00
doc app/testpmd: add MACsec commands 2017-01-15 19:16:48 +01:00
drivers net/virtio: fix wrong Rx/Tx method for secondary process 2017-01-17 09:20:18 +01:00
examples examples/vhost: fix lcore initialization 2017-01-17 09:20:18 +01:00
lib ethdev: fix port data mismatched in multiple process model 2017-01-17 09:20:18 +01:00
mk tools: move to usertools 2017-01-04 21:17:32 +01:00
pkg tools: move to usertools 2017-01-04 21:17:32 +01:00
usertools tools: move to usertools 2017-01-04 21:17:32 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS tools: move to usertools 2017-01-04 21:17:32 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org