Skip to content
Commit 4c173f59 authored by Jason Gunthorpe's avatar Jason Gunthorpe
Browse files

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: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 324e227e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment