[PATCH rdma-next 0/6] Disable device sharing in multiple net namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

>From Parav,

When there are multiple rdma devices exist in a system, it is desired to
have per net namespace based devices without any compatibility devices.

Therefore, add a query and set option through which user can
disable/enable default mode of sharing a rdma device in multiple net
namespaces.

In subsequent series, a new netlink command will be added to
change the namespace of an rdma device.

Thanks

Parav Pandit (6):
  RDMA/core: Prepare to not share rdma device in multiple net namespaces
  RDMA: Check net namespace access for uverbs, umad and cma
  RDMA/core: Extend ib_device_get_by_index for net namespace
  RDMA/core: Add interface to read device namespace sharing mode
  RDMA/core: Add command to set ib_core device net namspace sharing mode
  RDMA/core: Default to disable sharing rdma devices in multiple net ns

 drivers/infiniband/core/cma.c           |  3 ++
 drivers/infiniband/core/core_priv.h     |  5 +-
 drivers/infiniband/core/device.c        | 42 +++++++++++++--
 drivers/infiniband/core/net_namespace.c | 48 +++++++++++++++++
 drivers/infiniband/core/nldev.c         | 69 ++++++++++++++++++++++---
 drivers/infiniband/core/user_mad.c      | 10 ++++
 drivers/infiniband/core/uverbs_main.c   |  5 ++
 include/rdma/ib_verbs.h                 |  9 ++++
 include/uapi/rdma/rdma_netlink.h        |  9 +++-
 9 files changed, 187 insertions(+), 13 deletions(-)

--
2.19.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux