[dpdk-stable] [PATCH] net/virtio: fix refill order in packed ring datapath

Maxime Coquelin maxime.coquelin at redhat.com
Mon Jul 19 10:30:13 CEST 2021



On 7/8/21 11:58 AM, Cheng Jiang wrote:
> The front-end should refill the descriptor with the mbuf indicated by
> the buff_id rather then the index of used descriptor. Back-end may
> return buffers out of order if async copy mode is enabled.
> 
> When initializing rxq, refill the descriptors in order as buff_id is
> not available at that time.
> 
> Fixes: a76290c8f1cf ("net/virtio: implement Rx path for packed queues")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Cheng Jiang <cheng1.jiang at intel.com>
> Signed-off-by: Marvin Liu <yong.liu at intel.com>
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the stable mailing list