numam-dpdk/drivers
Olivier Matz 0c4f909c17 net/virtio: fix mbuf port for simple Rx function
The mbuf->port 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 correct 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>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
2017-10-10 15:51:04 +02:00
..
bus bus/dpaa: fix memory allocation during scan 2017-10-10 15:30:44 +02:00
crypto xen: remove dependency in libraries 2017-10-09 01:52:08 +02:00
event bus/fslmc: add QBMAN API to do enqueue with multiple frames 2017-10-06 03:21:57 +02:00
mempool mempool/octeontx: fix icc build 2017-10-09 16:17:33 +02:00
net net/virtio: fix mbuf port for simple Rx function 2017-10-10 15:51:04 +02:00
Makefile mempool/octeontx: add build and log infrastructure 2017-10-08 19:24:07 +02:00