diff options
| author | Parav Pandit <[email protected]> | 2019-05-13 08:26:57 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-05-13 22:16:48 -0300 |
| commit | 4d7ba8ce0fec6d5f364dc15786453d26fc0ccb65 (patch) | |
| tree | 2a64ec1f5e0d0b962ac09442fc6bfd3ba396095e /include | |
| parent | 641114d2af312d39ca9bbc2369d18a5823da51c6 (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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include')
| -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 */ |