Go to file
Maxime Coquelin 61d0bec3ba net/virtio: fix in-order Rx with segmented packet
After having dequeued a burst of descriptors, there may be a
need to dequeue a few more if the last packet was segmented
and not complete. When it happens, the extra segments were
not properly attached to the mbuf chain, and so were lost.

Also, head segment data_len field is wrongly summed with
the length of all the segments of the chain.

This patch fixes both the mbuf chaining and head segment's
data_len field.

Fixes: e5f456a98d ("net/virtio: support in-order Rx and Tx")
Cc: stable@dpdk.org

Reported-by: Yaroslav Brustinov <ybrustin@cisco.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-06-13 23:54:29 +09:00
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app test: skip meson dependency checks if not required 2019-06-05 18:53:10 +02:00
buildtools build: generate Windows exports file 2019-06-05 19:49:28 +02:00
config config: add Marvell ARMADA based on armv8-a 2019-06-04 10:30:14 +02:00
devtools devtools: select patches to check with git range 2019-05-10 15:16:23 +02:00
doc net/bnxt: update HWRM API to version 1.10.0.74 2019-06-13 23:54:28 +09:00
drivers net/virtio: fix in-order Rx with segmented packet 2019-06-13 23:54:29 +09:00
examples examples/rxtx_callbacks: support HW timestamp 2019-06-06 20:21:20 +09:00
kernel kernel/linux: remove unneeded meson variables 2019-05-30 00:28:39 +02:00
lib eal/x86: force inlining of all memcpy and mov helpers 2019-06-13 23:54:29 +09:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk acl: remove use of weak functions 2019-06-05 16:28:11 +02:00
usertools net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
.gitattributes
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add a distinguisher to the extra Travis builds 2019-04-17 13:56:23 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS maintainers: update Marvell PMDs 2019-06-04 10:32:20 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: use integer for max ethdev ports option 2019-03-26 23:08:09 +01:00
meson.build build: generate Windows exports file 2019-06-05 19:49:28 +02:00
README
VERSION version: 19.08-rc0 2019-05-14 22:58:22 +02: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