> -----Original Message----- > From: Jiang, Cheng1 <cheng1.ji...@intel.com> > Sent: Thursday, July 8, 2021 5:58 PM > To: maxime.coque...@redhat.com; Xia, Chenbo <chenbo....@intel.com> > Cc: dev@dpdk.org; Hu, Jiayu <jiayu...@intel.com>; Liu, Yong > <yong....@intel.com>; Yang, YvonneX <yvonnex.y...@intel.com>; Jiang, Cheng1 > <cheng1.ji...@intel.com>; sta...@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: sta...@dpdk.org > > Signed-off-by: Cheng Jiang <cheng1.ji...@intel.com> > Signed-off-by: Marvin Liu <yong....@intel.com> > -- > 2.17.1
Applied to next-virtio/main, thanks.