Hi Maxime, > -----Original Message----- > From: Maxime Coquelin <maxime.coque...@redhat.com> > Sent: Wednesday, October 27, 2021 12:29 AM > To: dev@dpdk.org; Xia, Chenbo <chenbo....@intel.com>; Hu, Jiayu > <jiayu...@intel.com>; Wang, YuanX <yuanx.w...@intel.com>; Ma, WenwuX > <wenwux...@intel.com>; Richardson, Bruce <bruce.richard...@intel.com>; > Mcnamara, John <john.mcnam...@intel.com> > Cc: Maxime Coquelin <maxime.coque...@redhat.com> > Subject: [PATCH v2 03/15] vhost: simplify async IO vectors > > 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
Gets rid of With this fixed: Reviewed-by: Chenbo Xia <chenbo....@intel.com> > in both packed and split implementation, which is the same > as iovec_idx. > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > lib/vhost/vhost.h | 5 +++-- > lib/vhost/virtio_net.c | 28 +++++++++++----------------- > 2 files changed, 14 insertions(+), 19 deletions(-)