[dpdk-dev] [PATCH v2 03/15] vhost: simplify async IO vectors
Xia, Chenbo
chenbo.xia at intel.com
Fri Oct 29 07:37:16 CEST 2021
Hi Maxime,
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Wednesday, October 27, 2021 12:29 AM
> To: dev at dpdk.org; Xia, Chenbo <chenbo.xia at intel.com>; Hu, Jiayu
> <jiayu.hu at intel.com>; Wang, YuanX <yuanx.wang at intel.com>; Ma, WenwuX
> <wenwux.ma at intel.com>; Richardson, Bruce <bruce.richardson at intel.com>;
> Mcnamara, John <john.mcnamara at intel.com>
> Cc: Maxime Coquelin <maxime.coquelin at 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.xia at intel.com>
> in both packed and split implementation, which is the same
> as iovec_idx.
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
> lib/vhost/vhost.h | 5 +++--
> lib/vhost/virtio_net.c | 28 +++++++++++-----------------
> 2 files changed, 14 insertions(+), 19 deletions(-)
More information about the dev
mailing list