common/mlx5: extend DevX HCA attributes query
authorTal Shnaiderman <talshn@nvidia.com>
Mon, 28 Dec 2020 09:54:21 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit04223e451b465c3b9bbb84c903220160a4b354f7
tree88e43b8ed6dd1c407574d3c98ad04909b36c8ca6
parente253c33dee10eef8124097222c0c79d02bc5e86f
common/mlx5: extend DevX HCA attributes query

Extend DevX API mlx5_devx_cmd_query_hca_attr() to report on max number
of available objects including: CQ, QP, PD, SRQ.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h