summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-09-05 11:54:25 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-09-13 00:32:17 +0200
commitd6b1764a8c5ac0ad3a66c6d11d24c4fe067fe933 (patch)
tree9b82b62906e476c9383f61e1c7cb929acb305dba /block
parentRDMA/core: Simplify roce_resolve_route_from_path() (diff)
downloadlinux-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