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

This patch extracts the descriptors buffers filling
from copy_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