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

Xia, Chenbo chenbo.xia at intel.com
Tue Jul 20 04:48:22 CEST 2021


> -----Original Message-----
> From: Jiang, Cheng1 <cheng1.jiang at intel.com>
> Sent: Thursday, July 8, 2021 5:58 PM
> To: maxime.coquelin at redhat.com; Xia, Chenbo <chenbo.xia at intel.com>
> Cc: dev at dpdk.org; Hu, Jiayu <jiayu.hu at intel.com>; Liu, Yong
> <yong.liu at intel.com>; Yang, YvonneX <yvonnex.yang at intel.com>; Jiang, Cheng1
> <cheng1.jiang at intel.com>; stable at dpdk.org
> Subject: [PATCH] net/virtio: fix refill order in packed ring datapath
> 
> 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>
> --
> 2.17.1

Applied to next-virtio/main, thanks.



More information about the dev mailing list