]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/core: Change system parameters callback from dumpit to doit
authorParav Pandit <parav@mellanox.com>
Mon, 13 May 2019 05:26:57 +0000 (08:26 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 14 May 2019 01:16:48 +0000 (22:16 -0300)
commit4d7ba8ce0fec6d5f364dc15786453d26fc0ccb65
tree2a64ec1f5e0d0b962ac09442fc6bfd3ba396095e
parent641114d2af312d39ca9bbc2369d18a5823da51c6
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>
drivers/infiniband/core/nldev.c
include/uapi/rdma/rdma_netlink.h