]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Reduce the use of num_port capability
authorDaniel Jurgens <danielj@mellanox.com>
Thu, 4 Jan 2018 15:25:34 +0000 (17:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Jan 2018 18:42:21 +0000 (11:42 -0700)
commit3ee8c45a8746020c66792acd2dc1ee9f9ff9ea38
tree948375b7e7d89c057f2811bbabd20c658b3d6930
parent781e44b6808968555991bf9058d5e3b0cd22da96
IB/mlx5: Reduce the use of num_port capability

Remove use of the num_ports general capability throughout. The number of
ports will be variable in the future, and reported in a different way.

Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/mad.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/qp.c