]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Add an option to query,set net namespace sharing sys parameter
authorParav Pandit <parav@mellanox.com>
Fri, 31 May 2019 03:11:14 +0000 (22:11 -0500)
committerDavid Ahern <dsahern@gmail.com>
Fri, 31 May 2019 22:10:29 +0000 (15:10 -0700)
commitc4572a465b731a60e7dfc76e1c29640da4025640
tree357b277311ef5f02c247313c8e6c1fcd583ee4bc
parent2761769472582c6df268af5bcc2fd2d73ac7ed56
rdma: Add an option to query,set net namespace sharing sys parameter

Enrich rdmatool with an option to query rdma subsystem parameter
whether rdma devices are shared among multiple network namespaces
or exclusive to single network namespace.

rdma tool command examples and output.

$ rdma system show
netns shared

$ rdma system set netns exclusive

$ rdma system show
netns exclusive

Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/Makefile
rdma/rdma.c
rdma/rdma.h
rdma/sys.c [new file with mode: 0644]
rdma/utils.c