Re: [dpdk-dev] [PATCH v5 02/10] vhost: provide helper for host notifier ctrl

2018-12-18 Thread Ferruh Yigit
On 12/18/2018 8:01 AM, Xiao Wang wrote: > @@ -155,4 +157,20 @@ > > rte_vdpa_get_device(int did); > > */ > int __rte_experimental > rte_vdpa_get_device_num(void); > + > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice > + * > + * Enable/Disable host notifier map

[dpdk-dev] [PATCH v5 02/10] vhost: provide helper for host notifier ctrl

2018-12-18 Thread Xiao Wang
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 Reviewed-by: Maxime Coquelin --- drivers/net/ifc/ifcvf_vdpa.c | 3 +++ lib/librte_vhost/rte_vdpa.h