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

2018-12-16 Thread Maxime Coquelin
On 12/14/18 10:16 PM, Xiao Wang wrote: 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 --- drivers/net/ifc/ifcvf_vdpa.c | 3 +++ lib/librte_vhost/r

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

2018-12-14 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 --- drivers/net/ifc/ifcvf_vdpa.c | 3 +++ lib/librte_vhost/rte_vdpa.h| 18 ++