common/mlx5: get number of ports that can be bonded
authorXueming Li <xuemingl@nvidia.com>
Wed, 28 Oct 2020 10:44:38 +0000 (10:44 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:05 +0000 (23:35 +0100)
commit1cbdad1bf28f9b45a0536c579d91f29ccf92d6e3
treed5c76d28a0dc298e3e5e09b2816d14c841dc7d3a
parent5b4a1e7ee46617f1cdfd6d61eff5f266f70e0d93
common/mlx5: get number of ports that can be bonded

Get HCA capability: number of physical ports that can be bonded.

Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h