vdpa/mlx5: support queues number operation
authorMatan Azrad <matan@mellanox.com>
Sun, 2 Feb 2020 16:03:42 +0000 (16:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:21 +0000 (09:51 +0100)
commitd830dc16421d3d53f51f80ab3287e0d33cbd3498
tree70be2b7358d363554dcc923c47ce052d826cae0f
parent95276abaaf0a3e605e99a306f1923f46c3037a64
vdpa/mlx5: support queues number operation

Support get_queue_num operation to get the maximum number of queues
supported by the device.

This number comes from the DevX capabilities.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/vdpa/mlx5/mlx5_vdpa.c