]> 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)
commit1710f88aaeaacdc441957f119632cb583d3a6abc
tree948375b7e7d89c057f2811bbabd20c658b3d6930
parentc9dd68342d3d3929c3c67c4a76c98fb317b54c90
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