From: David Ahern Date: Fri, 31 May 2019 22:10:55 +0000 (-0700) Subject: Merge branch 'rdma-net-namespace' into next X-Git-Tag: v5.3.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=339b14ab5e616fc20031639b8fdfbf12b72407cd;p=thirdparty%2Fiproute2.git Merge branch 'rdma-net-namespace' into next Parav Pandit says: ==================== RDMA subsystem can be running in either of the modes. (a) Sharing RDMA devices among multiple net namespaces or (b) Exclusive mode where RDMA device is bound to single net namespace This patch series adds (1) query command to query rdma subsystem sharing mode (2) set command to change rdma subsystem sharing mode (3) assign rdma device to a net namespace rdma tool examples: (a) Query current rdma subsys net namespace sharing mode $ rdma sys show netns shared (b) Change rdma subsys mode to exclusive mode $ rdma sys set netns exclusive $ rdma sys show netns exclusive (c) Assign rdma device to a specific newly created net namespace $ ip netns add foo $ rdma dev set mlx5_1 netns foo ==================== Signed-off-by: David Ahern --- 339b14ab5e616fc20031639b8fdfbf12b72407cd