-
- Downloads
RDMA/rxe: Use ib_device_get_by_netdev() instead of open coding
The core API handles the locking correctly and is faster if there are
multiple devices.
Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/sw/rxe/rxe.h 11 additions, 1 deletiondrivers/infiniband/sw/rxe/rxe.h
- drivers/infiniband/sw/rxe/rxe_net.c 15 additions, 24 deletionsdrivers/infiniband/sw/rxe/rxe_net.c
- drivers/infiniband/sw/rxe/rxe_sysfs.c 9 additions, 8 deletionsdrivers/infiniband/sw/rxe/rxe_sysfs.c
- drivers/infiniband/sw/rxe/rxe_verbs.c 3 additions, 14 deletionsdrivers/infiniband/sw/rxe/rxe_verbs.c
Loading
Please register or sign in to comment