commit | dbb12562f7c2377c210ed6b2e79eda5bfe23c30c | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Tue Nov 14 14:52:12 2017 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Dec 18 15:37:10 2017 -0700 |
tree | c87633b9fb04c6426a8d4ac9e7e0e4bc064396f5 | |
parent | 5092d17a39a454d8b045a8cdce514bf4b07d22dc [diff] |
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>