[PATCH rdma-next v1 0/5] Disable device sharing in multiple net namespace

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

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Changelog:
 v0->v1:
 * Rebased.
 * Addressed Doug's Jason's comment to not allow netns system
   mode change when non init_net namespaces exist.

-----------------------------------------------------------------
>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, cma and nldev
  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      | 122 +++++++++++++++++++++++++-
 drivers/infiniband/core/nldev.c       |  96 +++++++++++++++++---
 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      |  11 ++-
 8 files changed, 243 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