aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-10-10 09:19:12 +0300
committerDoug Ledford <dledford@redhat.com>2018-10-16 13:37:16 -0400
commit05d940d3a3ec4e6d5d6a726aae4d73c5c64603c6 (patch)
treea5f59798685b7383ea7222694d40f7956fa149f0 /include/uapi/rdma
parentRDMA/core: Implement IB device rename function (diff)
downloadlinux-dev-05d940d3a3ec4e6d5d6a726aae4d73c5c64603c6.tar.xz
linux-dev-05d940d3a3ec4e6d5d6a726aae4d73c5c64603c6.zip
RDMA/nldev: Allow IB device rename through RDMA netlink
Provide an option to rename IB device name through RDMA netlink and limit it to users with ADMIN capability only. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/rdma_netlink.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index edba6351ac13..f9c41bf59efc 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -227,8 +227,9 @@ enum rdma_nldev_command {
RDMA_NLDEV_CMD_UNSPEC,
RDMA_NLDEV_CMD_GET, /* can dump */
+ RDMA_NLDEV_CMD_SET,
- /* 2 - 4 are free to use */
+ /* 3 - 4 are free to use */
RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */