Re: [dpdk-dev] [PATCH v3 1/2] net/virtio: update stats when in order xmit done

2019-09-27 Thread Maxime Coquelin
On 9/18/19 7:06 PM, Marvin Liu wrote: > When doing xmit in-order enqueue, packets are buffered and then flushed > into avail ring. Buffered packets can be dropped due to insufficient > space. Moving stats update action just after successful avail ring > updates can guarantee correctness. > > Fi

Re: [dpdk-dev] [PATCH v3 1/2] net/virtio: update stats when in order xmit done

2019-09-27 Thread Maxime Coquelin
On 9/18/19 7:06 PM, Marvin Liu wrote: > When doing xmit in-order enqueue, packets are buffered and then flushed > into avail ring. Buffered packets can be dropped due to insufficient > space. Moving stats update action just after successful avail ring > updates can guarantee correctness. > > Fi

[dpdk-dev] [PATCH v3 1/2] net/virtio: update stats when in order xmit done

2019-09-18 Thread Marvin Liu
When doing xmit in-order enqueue, packets are buffered and then flushed into avail ring. Buffered packets can be dropped due to insufficient space. Moving stats update action just after successful avail ring updates can guarantee correctness. Fixes: e5f456a98d3c ("net/virtio: support in-order Rx a