diff options
author | Parav Pandit <parav@mellanox.com> | 2018-09-05 11:54:25 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-13 00:32:17 +0200 |
commit | d6b1764a8c5ac0ad3a66c6d11d24c4fe067fe933 (patch) | |
tree | 9b82b62906e476c9383f61e1c7cb929acb305dba /block | |
parent | RDMA/core: Simplify roce_resolve_route_from_path() (diff) | |
download | linux-d6b1764a8c5ac0ad3a66c6d11d24c4fe067fe933.tar.xz linux-d6b1764a8c5ac0ad3a66c6d11d24c4fe067fe933.zip |
RDMA/core: Introduce rdma_read_gid_attr_ndev_rcu() to check GID attribute
Introduce an API rdma_read_gid_attr_ndev_rcu() to return GID attribute
netdevice which is in UP state for accessing netdevice's fields such as
net namespace and ifindex.
This is useful for users who intent to access netdevice fields under rcu
lock.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions