vhost: support host notifier queue configuration
authorMatan Azrad <matan@mellanox.com>
Mon, 29 Jun 2020 14:08:16 +0000 (14:08 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 30 Jun 2020 12:52:30 +0000 (14:52 +0200)
commit0329868d6a46cf1865cdd93f4a2e4ffe5715f29c
treecfca7ac60b772faddc691ce15bfed95536381927
parentedc6391e45d350b1341038a55a55e13bad926317
vhost: support host notifier queue configuration

As an arrangement to per queue operations in the vDPA device it is
needed to change the next experimental API:

The API ``rte_vhost_host_notifier_ctrl`` was changed to be per queue
instead of per device.

A `qid` parameter was added to the API arguments list.

Setting the parameter to the value RTE_VHOST_QUEUE_ALL configures the
host notifier to all the device queues as done before this patch.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/rel_notes/release_20_08.rst
drivers/vdpa/ifc/ifcvf_vdpa.c
drivers/vdpa/mlx5/mlx5_vdpa.c
lib/librte_vhost/rte_vdpa_dev.h
lib/librte_vhost/vhost_user.c