Home
last modified time | relevance | path

Searched hist:d6b1764a8c5ac0ad3a66c6d11d24c4fe067fe933 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/core/
H A Dcore_priv.hdiff d6b1764a8c5ac0ad3a66c6d11d24c4fe067fe933 Wed Sep 05 11:54:25 CEST 2018 Parav Pandit <parav@mellanox.com> 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>
H A Dcache.cdiff d6b1764a8c5ac0ad3a66c6d11d24c4fe067fe933 Wed Sep 05 11:54:25 CEST 2018 Parav Pandit <parav@mellanox.com> 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>