[PATCH rdma-next 0/2] Add netlink command to change net namespace of rdma device

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

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

>From Parav,

This series introduces a netlink command to change net namespace of a
rdma device.

It performs small device disable enable sequence to ensure that there is
no active traffic when device moves to new namespace. This operation
needs to synchronize with device rename and device unregistration. This
is protected using recently introduced unregistration mutex.

When net namespace is deleted, all rdma devices residing in such net
namespace are moved back to default init_net namespace.

Thanks

Parav Pandit (2):
  RDMA/core: Introduce a helper function to change net namespace of rdma
    device
  RDMA/core: Add netlink command to change net namespace of rdma device

 Documentation/infiniband/core_devices.txt |   2 +-
 drivers/infiniband/core/core_priv.h       |   2 +
 drivers/infiniband/core/device.c          | 150 +++++++++++++++++++++-
 drivers/infiniband/core/nldev.c           |  13 +-
 include/uapi/rdma/rdma_netlink.h          |   4 +
 5 files changed, 168 insertions(+), 3 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