commit | 6d5b2047fe62ed83a90f0ecdf1cc9b4ae6fcc974 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Mon Mar 19 07:59:59 2018 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Mar 19 11:41:40 2018 -0600 |
tree | e5dc4fd30e77f805df720eedd2cec6d8c4728580 | |
parent | 958d2c1ba37680b765a089dc374cc199fb61619b [diff] |
IB/core: Use rdma_is_port_valid() Use rdma_is_port_valid() which performs port validity check instead of open coding the same check. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>