diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-01-30 17:07:16 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-01-31 16:30:04 -0500 |
commit | 074b5abbf7a1f5d847df96e6b951d767f3a29a43 (patch) | |
tree | aa0183daf6c1910ddb7cc335cef3a800a72da4ad /include/uapi | |
parent | 8de9399a24f97af2d3dfa28346f5c302f420bdae (diff) | |
download | linux-074b5abbf7a1f5d847df96e6b951d767f3a29a43.tar.gz linux-074b5abbf7a1f5d847df96e6b951d767f3a29a43.tar.bz2 linux-074b5abbf7a1f5d847df96e6b951d767f3a29a43.zip |
RDMA/netlink: Hide unimplemented NLDEV commands
The nldev was implemented by following devlink implementation,
including SET/DEL/NEW commands. However these commands were not
implemented and hence don't need to be exposed.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/rdma/rdma_netlink.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h index 17e59bec169e..4c77e2a7b07e 100644 --- a/include/uapi/rdma/rdma_netlink.h +++ b/include/uapi/rdma/rdma_netlink.h @@ -227,16 +227,14 @@ enum rdma_nldev_command { RDMA_NLDEV_CMD_UNSPEC, RDMA_NLDEV_CMD_GET, /* can dump */ - RDMA_NLDEV_CMD_SET, - RDMA_NLDEV_CMD_NEW, - RDMA_NLDEV_CMD_DEL, - RDMA_NLDEV_CMD_PORT_GET, /* can dump */ - RDMA_NLDEV_CMD_PORT_SET, - RDMA_NLDEV_CMD_PORT_NEW, - RDMA_NLDEV_CMD_PORT_DEL, + /* 2 - 4 are free to use */ - RDMA_NLDEV_CMD_RES_GET, /* can dump */ + RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */ + + /* 6 - 8 are free to use */ + + RDMA_NLDEV_CMD_RES_GET = 9, /* can dump */ RDMA_NLDEV_CMD_RES_QP_GET, /* can dump */ |