Go to file
Tiwei Bie bcf55c9302 net/virtio: fix vector Rx flushing
The vector Rx will be broken if backend has consumed all
the descs in the avail ring before the device is started.
Because in current implementation, vector Rx will return
immediately without refilling the avail ring if the used
ring is empty. So we have to refill the avail ring after
flushing the elements in the used ring for vector Rx.

Besides, vector Rx has a different ring layout assumption
and mbuf management. So we need to handle it differently.

Fixes: d8227497ec ("net/virtio: flush Rx queues on start")
Cc: stable@dpdk.org

Reported-by: Antonio Fischetti <antonio.fischetti@intel.com>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Antonio Fischetti <antonio.fischetti@intel.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
2018-01-16 18:47:49 +01:00
app app/testpmd: support GENEVE pattern item in flow rules 2018-01-16 18:47:49 +01:00
buildtools pmdinfogen: fix cross compilation for ARM big endian 2018-01-12 17:26:41 +01:00
config net/mlx4: revert workaround for broken Verbs 2018-01-16 18:47:49 +01:00
devtools devtools: add mrvl net PMD to test-build 2018-01-16 18:47:49 +01:00
doc net/i40e: support MAC loopback 2018-01-16 18:47:49 +01:00
drivers net/virtio: fix vector Rx flushing 2018-01-16 18:47:49 +01:00
examples examples/flow_filtering: add Tx queues setup process 2018-01-16 18:47:49 +01:00
lib vhost: support Generic Segmentation Offload 2018-01-16 18:47:49 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
pkg version: 17.11.0 2017-11-15 19:00:28 +01:00
test service: add attribute for number of invocations 2018-01-12 12:49:40 +01:00
usertools tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
GNUmakefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
MAINTAINERS maintainers: update for bnxt 2018-01-16 18:47:49 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 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