Hi Maxime,

> -----Original Message-----
> From: Maxime Coquelin <[email protected]>
> Sent: Wednesday, October 27, 2021 12:29 AM
> To: [email protected]; Xia, Chenbo <[email protected]>; Hu, Jiayu
> <[email protected]>; Wang, YuanX <[email protected]>; Ma, WenwuX
> <[email protected]>; Richardson, Bruce <[email protected]>;
> Mcnamara, John <[email protected]>
> Cc: Maxime Coquelin <[email protected]>
> 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 <[email protected]>

> in both packed and split implementation, which is the same
> as iovec_idx.
> 
> Signed-off-by: Maxime Coquelin <[email protected]>
> ---
>  lib/vhost/vhost.h      |  5 +++--
>  lib/vhost/virtio_net.c | 28 +++++++++++-----------------
>  2 files changed, 14 insertions(+), 19 deletions(-)

Reply via email to