Go to file
Olivier Matz 9fedc2da38 net/virtio: fix mbuf data offset for simple Rx
The mbuf->data_off was was not properly set for the first received
mbufs. Fix this by setting it in virtqueue_enqueue_recv_refill_simple(),
which is used to enqueue the first mbuf in the ring.

The function virtio_rxq_rearm_vec(), which is used to rearm the ring
with new mbufs, is valid and does not need to be updated.

Fixes: cab0461234 ("virtio: fill Rx avail ring with blank mbufs")
Cc: stable@dpdk.org

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-02-13 18:41:19 +01:00
app app/testpmd: fix flow director filter 2018-02-08 22:27:50 +01:00
buildtools buildtools: output build failure reason to stderr 2018-02-08 22:25:37 +01:00
config build: add more implementers IDs and PNs for ARM 2018-02-06 14:44:31 +01:00
devtools compat: relicense some files 2018-02-06 23:13:47 +01:00
doc doc: remove jumbo frames entry from tap features 2018-02-13 18:17:30 +01:00
drivers net/virtio: fix mbuf data offset for simple Rx 2018-02-13 18:41:19 +01:00
examples examples/l3fwd: convert Altivec files to SPDX license tag 2018-02-08 22:42:57 +01:00
lib ethdev: increase log level of port allocation failure 2018-02-13 16:32:16 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: fix external build 2018-02-05 23:39:04 +01:00
pkg version: 17.11.0 2017-11-15 19:00:28 +01:00
test test/timer_perf: fix memory leak 2018-02-06 19:45:29 +01:00
usertools usertools/devbind: fix kernel module reporting 2018-02-06 02:18:45 +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 driver information tool 2018-02-09 16:39:57 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt test: build app with meson as dpdk-test 2018-01-30 21:58:59 +01:00
meson.build build: detect micro-arch on ARM 2018-01-30 21:59:00 +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