Re: [PATCH rdma-rc] RDMA/core: Change system parameters callback from dumpit to doit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux