common/mlx5: add DevX command to query WQ
authorMatan Azrad <matan@nvidia.com>
Thu, 25 Feb 2021 10:44:59 +0000 (10:44 +0000)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 3 Mar 2021 16:27:18 +0000 (17:27 +0100)
commit542689e92e668c2d734829145996da15de3d0c97
treefec1a7a2aeb904d5039de65a9a8630c979c3ebc3
parent75a9a73ddbdd3e7581078752aadb1c980617e739
common/mlx5: add DevX command to query WQ

Add a DevX command to query Rx queues attributes created by VERBS.

Currently support only counter_set_id attribute.

This counter ID is managed by the kernel driver and being assigned to
any queue created by the kernel.

Cc: stable@dpdk.org
Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h
drivers/common/mlx5/version.map