> -----Original Message----- > From: Jiang, Cheng1 <[email protected]> > Sent: Thursday, July 8, 2021 5:58 PM > To: [email protected]; Xia, Chenbo <[email protected]> > Cc: [email protected]; Hu, Jiayu <[email protected]>; Liu, Yong > <[email protected]>; Yang, YvonneX <[email protected]>; Jiang, Cheng1 > <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Cheng Jiang <[email protected]> > Signed-off-by: Marvin Liu <[email protected]> > -- > 2.17.1
Applied to next-virtio/main, thanks.

