commit | 5ac08a341303dd2105d7b5dc26b38b0d85ac726b | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Tue Mar 13 16:06:15 2018 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Thu Mar 15 14:40:38 2018 -0600 |
tree | e54c6f301f66d25fb413f53166022090d3fb04b9 | |
parent | 563c4ba3bd2b8b0b21c65669ec2226b1cfa1138b [diff] |
IB/cma: Use rdma_protocol_roce() and remove cma_protocol_roce_dev_port() rdma_protocol_roce() API from the ib_core already provides a way to detect whether a given device+port is RoCE or not. Therefore, make use of it and avoid implementing it again in rdmacm module. Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>