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

2021-07-19 Thread Xia, Chenbo
> -Original Message- > From: Jiang, Cheng1 > Sent: Thursday, July 8, 2021 5:58 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Liu, Yong > ; Yang, YvonneX ; Jiang, Cheng1 > ; sta...@dpdk.org > Subject: [PATCH] net/virtio: fix refill order in packed ring da

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

2021-07-19 Thread Maxime Coquelin
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 o

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

2021-07-08 Thread Cheng Jiang
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. Fixe