net/mlx5: extend device attributes getter
authorOphir Munk <ophirmu@nvidia.com>
Mon, 28 Dec 2020 09:54:06 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit1f29d15ec94d01d05f2a5ac003d4bee26204fe8b
treeec46ef3458c3cce59bfc787dbe4de0c4c97559c2
parent09a5e9777e7eb0179e0f9a3b6830c89702df0bd7
net/mlx5: extend device attributes getter

This commit adds device attributes parameters to be reported by
mlx5_os_get_dev_attr(): max_cqe, max_mr, max_pd, max_srq, max_srq_wr

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.h