OSDN Git Service

IB/core: Make rdma_find_gid_by_filter support all protocols
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 5 Jun 2018 05:40:21 +0000 (08:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:09:05 +0000 (11:09 -0600)
commit83f6f8d29dd3079b278791ebf14e87802f91b6bc
treefd392c4ba41645b31141a149224eb82c2ba41d81
parentc3d71b69a75cbbc03c8f43571b003ddadd40d056
IB/core: Make rdma_find_gid_by_filter support all protocols

There is no reason to restrict this function to roce only these days,
allow the filter function to be called on any protocol.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cache.c