numam-dpdk/drivers/net/virtio
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
..
virtio_user net/virtio-user: fix crash as features change 2018-01-29 10:04:28 +01:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
rte_pmd_virtio_version.map
virtio_ethdev.c net/virtio: fix crash while freeing mbufs 2018-02-05 19:56:04 +01:00
virtio_ethdev.h net/virtio: support guest announce 2018-01-21 15:51:52 +01:00
virtio_logs.h net/virtio: implement dynamic logging 2018-01-16 18:47:49 +01:00
virtio_pci.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_pci.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_ring.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_rxtx_simple_neon.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple.c net/virtio: fix mbuf data offset for simple Rx 2018-02-13 18:41:19 +01:00
virtio_rxtx_simple.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_rxtx.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx.h net/virtio: make control queue thread-safe 2018-01-16 18:47:49 +01:00
virtio_user_ethdev.c net/virtio-user: check error on clearing non block flag 2018-02-06 22:09:17 +01:00
virtqueue.c net/virtio: fix typo in function name 2018-01-29 10:04:28 +01:00
virtqueue.h net/virtio: fix typo in function name 2018-01-29 10:04:28 +01:00