diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-10-10 09:19:12 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-10-16 13:37:16 -0400 |
commit | 05d940d3a3ec4e6d5d6a726aae4d73c5c64603c6 (patch) | |
tree | a5f59798685b7383ea7222694d40f7956fa149f0 /include/uapi/rdma/rdma_netlink.h | |
parent | d21943dd19b5c79dc09bb0e8bf80cd5ee09c41c2 (diff) | |
download | linux-05d940d3a3ec4e6d5d6a726aae4d73c5c64603c6.tar.bz2 |
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/rdma_netlink.h')
-rw-r--r-- | include/uapi/rdma/rdma_netlink.h | 3 |
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 */ |