Re: [dpdk-dev] [PATCH v2 03/15] vhost: simplify async IO vectors

2021-10-28 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, October 27, 2021 12:29 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, WenwuX > ; Richardson, Bruce ; > Mcnamara, John > Cc: Maxime Coquelin > Subject: [PATCH v2 03/15] vhost: simplify async

[dpdk-dev] [PATCH v2 03/15] vhost: simplify async IO vectors

2021-10-26 Thread Maxime Coquelin
IO vectors implementation is unnecessarily complex, mixing source and destinations vectors in the same array. This patch declares two arrays, one for the source and one for the destination. It also get rid off seg_awaits variable in both packed and split implementation, which is the same as iovec_