From: Tiwei Bie Date: Fri, 8 Jun 2018 03:22:24 +0000 (+0800) Subject: net/ifc: enable the host notifier support X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=973bd0c1da3c1c480bf80bebe4c343c3d1e6b68e;p=dpdk.git net/ifc: enable the host notifier support The necessary vDPA ops have already been implemented in ifcvf driver. So just need to announce the necessary protocol features to enable the host notifier support. Signed-off-by: Tiwei Bie Acked-by: Xiao Wang Reviewed-by: Maxime Coquelin --- diff --git a/drivers/net/ifc/ifcvf_vdpa.c b/drivers/net/ifc/ifcvf_vdpa.c index c6627c23a5..b8e22daf32 100644 --- a/drivers/net/ifc/ifcvf_vdpa.c +++ b/drivers/net/ifc/ifcvf_vdpa.c @@ -646,6 +646,9 @@ ifcvf_get_vdpa_features(int did, uint64_t *features) #define VDPA_SUPPORTED_PROTOCOL_FEATURES \ (1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK | \ + 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_REQ | \ + 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD | \ + 1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER | \ 1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD) static int ifcvf_get_protocol_features(int did __rte_unused, uint64_t *features)