Re: [dpdk-dev] [RFC 08/14] vhost: improve IO vector logic

2021-10-12 Thread Maxime Coquelin
Hi, On 10/12/21 08:05, Hu, Jiayu wrote: Hi, -Original Message- From: Maxime Coquelin Sent: Friday, October 8, 2021 6:00 AM To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu ; Wang, YuanX ; Ma, WenwuX ; Richardson, Bruce ; Mcnamara, John Cc: Maxime Coquelin Subject: [RFC 08/14] vhost: improv

Re: [dpdk-dev] [RFC 08/14] vhost: improve IO vector logic

2021-10-11 Thread Hu, Jiayu
Hi, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 8, 2021 6:00 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, > WenwuX ; Richardson, Bruce > ; Mcnamara, John > > Cc: Maxime Coquelin > Subject: [RFC 08/14] vhost: improve IO vector logic > > I

[dpdk-dev] [RFC 08/14] vhost: improve IO vector logic

2021-10-07 Thread Maxime Coquelin
IO vectors and their iterators arrays were part of the async metadata but not their indexes. In order to makes this more consistent, the patch adds the indexes to the async metadata. Doing that, we can avoid triggering DMA transfer within the loop as it IO vector index overflow is now prevented in