diff options
author | Parav Pandit <parav@mellanox.com> | 2017-11-14 14:52:12 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-18 15:37:10 -0700 |
commit | dbb12562f7c2377c210ed6b2e79eda5bfe23c30c (patch) | |
tree | c87633b9fb04c6426a8d4ac9e7e0e4bc064396f5 /drivers/infiniband/core/iwcm.c | |
parent | RDMA/core: Avoid copying ifindex twice (diff) | |
download | linux-dev-dbb12562f7c2377c210ed6b2e79eda5bfe23c30c.tar.xz linux-dev-dbb12562f7c2377c210ed6b2e79eda5bfe23c30c.zip |
IB/{core, ipoib}: Simplify ib_find_gid to search only for IB link layer
Currently there are no users of ib_find_gid for RoCE transport. It is
only used by IPoIB.
Therefore its simplified to ignore RoCE ports and GID type check which
was previously done for every port.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/iwcm.c')
0 files changed, 0 insertions, 0 deletions