]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: Use rdma GID API
authorParav Pandit <parav@mellanox.com>
Tue, 5 Jun 2018 05:40:23 +0000 (08:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:09:05 +0000 (11:09 -0600)
commita010b1cb8537f1b5a6dc99190a64442791ac7803
tree4ce5693ab14b1057c7235bf7019a00c598540442
parent75abd4140b3f50bf28a2a80d63a9ca12c1e5ae89
IB/rxe: Use rdma GID API

rxe_netdev_from_av can now be done by the core code directly from the
gid_attrs, no need for a helper in the driver.

ib_find_cached_gid_by_port can be switched to use the rdma version here as
well.

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/sw/rxe/rxe_net.c
drivers/infiniband/sw/rxe/rxe_recv.c