]> git.droids-corp.org - dpdk.git/commit
vhost: prepare async for mbuf to descriptor refactoring
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 26 Oct 2021 16:29:01 +0000 (18:29 +0200)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 29 Oct 2021 10:32:30 +0000 (12:32 +0200)
commitdbfa4c0bbdf5f6828d9f3b7a5c9ec1d240abccd1
tree5141438536d4cb22b54f7b1e2a44e87bba5cb474
parentc75987487d1d4d6aa3978c210a5b229e2a36b7c2
vhost: prepare async for mbuf to descriptor refactoring

This patch extracts the IO vectors filling from
async_mbuf_to_desc() into a dedicated function as a
preliminary step of merging copy_mubf_to_desc() and
async_mbuf_to_desc().

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
lib/vhost/virtio_net.c