vhost: provide helper for host notifier ctrl
authorXiao Wang <xiao.w.wang@intel.com>
Tue, 18 Dec 2018 08:01:59 +0000 (16:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commit43f34e35663f6fb2b52990cb3fb40f01d7074d1e
tree18289512d30151ec8798eb59346da90c97fd5291
parent02e3b285d447f0745b7e09d1ce9717aad55633e5
vhost: provide helper for host notifier ctrl

VDPA driver can decide if it needs to enable/disable the host notifier
mapping, so exposing a API can allow flexibility. A later patch will
base on this.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/ifc/ifcvf_vdpa.c
lib/librte_vhost/rte_vdpa.h
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/vhost_user.c