]> git.droids-corp.org - dpdk.git/commit
vhost: move async data in dedicated structure
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 26 Oct 2021 16:28:50 +0000 (18:28 +0200)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 29 Oct 2021 10:32:30 +0000 (12:32 +0200)
commitee8024b3d4ad375cc5e28d493449c5dcea335540
tree568043ae7b18b37570aa6fcbafa8a673dfa08a75
parent3c3c54cfa6b38b48e9b817653fde32631aec024d
vhost: move async data in dedicated structure

This patch moves async-related metadata from vhost_virtqueue
to a dedicated struct. It makes it clear which fields are
async related, and also saves some memory when async feature
is not in use.

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