diff options
| author | Parav Pandit <parav@mellanox.com> | 2019-02-26 13:56:13 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-28 14:52:02 -0300 |
| commit | 4e0f7b9070726a34bbd87a74e407d4cced6d49ab (patch) | |
| tree | e3c106a91fa5612c05d6b91210b96b37fac9cab5 /drivers/infiniband/core/sysfs.c | |
| parent | 62dfa7955e842e7ff6827edc034a0839b009c326 (diff) | |
RDMA/core: Implement compat device/sysfs tree in net namespace
Implement compatibility layer sysfs entries of ib_core so that non
init_net net namespaces can also discover rdma devices.
Each non init_net net namespace has ib_core_device created in it.
Such ib_core_device sysfs tree resembles rdma devices found in
init_net namespace.
This allows discovering rdma devices in multiple non init_net net
namespaces via sysfs entries and helpful to rdma-core userspace.
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 'drivers/infiniband/core/sysfs.c')
0 files changed, 0 insertions, 0 deletions
