linux/include/uapi/rdma
Parav Pandit 2b34c55802 RDMA/core: Add command to set ib_core device net namspace sharing mode
Add netlink command that enables/disables sharing rdma device among
multiple net namespaces.

Using rdma tool,
$rdma sys set netns shared (default mode)

When rdma subsystem netns mode is set to shared mode, rdma devices
will be accessible in all net namespaces.

Using rdma tool,
$rdma sys set netns exclusive

When rdma subsystem netns mode is set to exclusive mode, devices
will be accessible in only one net namespace at any given
point of time.

If there are any net namespaces other than default init_net exists,
while executing this command, it will fail and mode cannot be changed.

To change this mode, netlink command is used instead of sysctl, because
netlink command allows to auto load a module.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-03-28 14:52:02 -03:00
..
hfi IB/hfi1: Add OPFN and TID RDMA capability bits 2018-12-06 19:59:46 -07:00
bnxt_re-abi.h RDMA/bnxt_re: Update kernel user abi to pass chip context 2019-02-07 13:24:49 -07:00
cxgb3-abi.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
cxgb4-abi.h iw_cxgb4: RDMA write with immediate support 2018-08-02 20:16:02 -06:00
hns-abi.h RDMA/hns: Update the kernel header file of hns 2019-01-25 09:55:48 -07:00
i40iw-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
ib_user_cm.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
ib_user_ioctl_cmds.h IB/core: Move query port to ioctl 2018-12-20 15:18:24 -07:00
ib_user_ioctl_verbs.h IB/core: Move query port to ioctl 2018-12-20 15:18:24 -07:00
ib_user_mad.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
ib_user_sa.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
ib_user_verbs.h IB/uverbs: Expose XRC ODP device capabilities 2019-02-04 14:34:06 -07:00
mlx4-abi.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
mlx5_user_ioctl_cmds.h IB/mlx5: Introduce async DEVX obj query API 2019-01-29 13:33:00 -07:00
mlx5_user_ioctl_verbs.h IB/mlx5: Introduce async DEVX obj query API 2019-01-29 13:33:00 -07:00
mlx5-abi.h IB/mlx5: Report packet based credit mode device capability 2018-12-07 13:22:09 -07:00
mthca-abi.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
nes-abi.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
ocrdma-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
qedr-abi.h qedr: Add user space support for SRQ 2018-08-14 16:31:54 -06:00
rdma_netlink.h RDMA/core: Add command to set ib_core device net namspace sharing mode 2019-03-28 14:52:02 -03:00
rdma_user_cm.h IB/cma: Define option to set ack timeout and pack tos_set 2019-02-08 16:14:21 -07:00
rdma_user_ioctl_cmds.h IB/uverbs: Add IDRs array attribute type to ioctl() interface 2018-09-11 09:28:06 -06:00
rdma_user_ioctl.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
rdma_user_rxe.h RDMA/rxe: Improve loopback marking 2019-02-04 15:57:49 -07:00
vmw_pvrdma-abi.h RDMA/vmw_pvrdma: Return the correct opcode when creating WR 2019-01-10 17:00:28 -07:00