diff options
author | Parav Pandit <parav@mellanox.com> | 2019-05-13 07:26:57 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-14 03:16:48 +0200 |
commit | 4d7ba8ce0fec6d5f364dc15786453d26fc0ccb65 (patch) | |
tree | 2a64ec1f5e0d0b962ac09442fc6bfd3ba396095e /include/uapi/rdma | |
parent | RDMA: Directly cast the sockaddr union to sockaddr (diff) | |
download | linux-4d7ba8ce0fec6d5f364dc15786453d26fc0ccb65.tar.xz linux-4d7ba8ce0fec6d5f364dc15786453d26fc0ccb65.zip |
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/rdma')
-rw-r--r-- | include/uapi/rdma/rdma_netlink.h | 2 |
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 */ |