Re: [dpdk-dev] [PATCH v2 1/3] net/virtio: fix mbuf data offset for simple Rx function

2018-02-13 Thread Maxime Coquelin
On 02/12/2018 04:46 PM, Maxime Coquelin wrote: From: Olivier Matz 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

[dpdk-dev] [PATCH v2 1/3] net/virtio: fix mbuf data offset for simple Rx function

2018-02-12 Thread Maxime Coquelin
From: Olivier Matz 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,