mirror_iproute2/rdma
Parav Pandit d17a0248a2 rdma: Add an option to set net namespace of rdma device
Enrich rdmatool with an option to set network namespace of RDMA
device. After successful execution of it, rdma device will
be accessible only in assigned network namespace.

rdma tool command examples and output.

First set netns mode to exclusive.

$ rdma system set netns exclusive

Now create network namespace and assign RDMA device to this
network namespace.

$ ip netns add foo
$ rdma dev set mlx5_1 netns foo

Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2019-05-31 15:10:32 -07:00
..
include/uapi/rdma rdma: update uapi headers 2019-05-18 06:38:39 -07:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
dev.c rdma: Add an option to set net namespace of rdma device 2019-05-31 15:10:32 -07:00
link.c rdma: add 'link add/delete' commands 2019-04-03 12:04:30 -07:00
Makefile rdma: Add an option to query,set net namespace sharing sys parameter 2019-05-31 15:10:29 -07:00
rdma.c rdma: Add an option to query,set net namespace sharing sys parameter 2019-05-31 15:10:29 -07:00
rdma.h rdma: Add an option to query,set net namespace sharing sys parameter 2019-05-31 15:10:29 -07:00
res-cmid.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-cq.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-mr.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-pd.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-qp.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res.c rdma: Perform single .doit call to query specific objects 2019-02-24 07:09:15 -08:00
res.h rdma: add helper rd_sendrecv_msg() 2019-04-03 12:04:25 -07:00
sys.c rdma: Add an option to query,set net namespace sharing sys parameter 2019-05-31 15:10:29 -07:00
utils.c rdma: Add an option to query,set net namespace sharing sys parameter 2019-05-31 15:10:29 -07:00