summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-05-13 08:26:57 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-05-13 22:16:48 -0300
commit4d7ba8ce0fec6d5f364dc15786453d26fc0ccb65 (patch)
tree2a64ec1f5e0d0b962ac09442fc6bfd3ba396095e /include/uapi
parent641114d2af312d39ca9bbc2369d18a5823da51c6 (diff)
RDMA/core: Change system parameters callback from dumpit to doit
.dumpit() callback is used for returning same type of data in the loop, e.g. loop over ports, resources, devices. However system parameters are general and standalone for whole subsystem. It means that getting system parameters should be doit callback. Fixes: cb7e0e130503 ("RDMA/core: Add interface to read device namespace sharing mode") Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/rdma/rdma_netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 42a8bdc40a14..41db51367efa 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -250,7 +250,7 @@ enum rdma_nldev_command {
RDMA_NLDEV_CMD_PORT_GET, /* can dump */
- RDMA_NLDEV_CMD_SYS_GET, /* can dump */
+ RDMA_NLDEV_CMD_SYS_GET,
RDMA_NLDEV_CMD_SYS_SET,
/* 8 is free to use */