Parav Pandit 904f4f647e IB/core: Use valid port number to check link layer
IB HCA port starts from 1. Use IB core provided port iterator API to avoid
any assumption with start port number.

Link: https://lore.kernel.org/r/20210127150010.1876121-11-leon@kernel.org
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-02-02 19:25:51 -04:00
..
2020-01-25 15:11:37 -04:00
2020-12-10 15:05:17 -04:00
2020-03-04 14:28:25 -04:00
2020-12-07 15:45:00 -04:00
2020-08-06 16:43:36 -07:00
2019-06-28 21:18:23 -03:00
2018-12-12 07:40:16 -07:00
2018-12-12 07:40:16 -07:00
2020-07-06 14:54:46 -03:00