On Mon, May 13, 2019 at 08:26:57AM +0300, Leon Romanovsky wrote: > From: Parav Pandit <parav@xxxxxxxxxxxx> > > .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@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > Jason, Doug > > It will send extra complexity with kernel-headers updates > if this patch goes as part of second PR to Linus in this merge > window. > > Thanks > --- > drivers/infiniband/core/nldev.c | 27 +++++++++++++++------------ > include/uapi/rdma/rdma_netlink.h | 2 +- > 2 files changed, 16 insertions(+), 13 deletions(-) Okay, applied to for-next Jason