]> git.droids-corp.org - dpdk.git/commit
vhost: merge sync and async descriptor to mbuf filling
authorXuan Ding <xuan.ding@intel.com>
Mon, 16 May 2022 11:10:39 +0000 (11:10 +0000)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Wed, 1 Jun 2022 09:50:09 +0000 (11:50 +0200)
commit844e113a051d64e24886d3bf61cb6687ac16ef00
tree45a5affab705aca8875d86ac070bb159b41b2a3b
parentd796fee5e5c820c2c6a371ab33d87f9bb5985cc8
vhost: merge sync and async descriptor to mbuf filling

This patch refactors copy_desc_to_mbuf() used by the sync
path to support both sync and async descriptor to mbuf filling.

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Tested-by: Yvonne Yang <yvonnex.yang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/vhost/vhost.h
lib/vhost/virtio_net.c