[PATCH rdma-next 0/5] 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 (5):
  RDMA/core: Add module param to disable device sharing among net ns
  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

 drivers/infiniband/core/cma.c         |   3 +
 drivers/infiniband/core/core_priv.h   |   6 +-
 drivers/infiniband/core/device.c      | 110 +++++++++++++++++++++++++-
 drivers/infiniband/core/nldev.c       |  71 +++++++++++++++--
 drivers/infiniband/core/user_mad.c    |  10 +++
 drivers/infiniband/core/uverbs_main.c |   5 ++
 include/rdma/ib_verbs.h               |   3 +
 include/uapi/rdma/rdma_netlink.h      |   9 ++-
 8 files changed, 207 insertions(+), 10 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