RE: [PATCH rdma-next 0/2] Allow drivers to have one sysfs group per device

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

 



Hi Leon,

> -----Original Message-----
> From: Leon Romanovsky <leon@xxxxxxxxxx>
> Sent: Thursday, October 11, 2018 2:32 PM
> To: Doug Ledford <dledford@xxxxxxxxxx>; Jason Gunthorpe
> <jgg@xxxxxxxxxxxx>
> Cc: Leon Romanovsky <leonro@xxxxxxxxxxxx>; RDMA mailing list <linux-
> rdma@xxxxxxxxxxxxxxx>; Daniel Jurgens <danielj@xxxxxxxxxxxx>; Parav
> Pandit <parav@xxxxxxxxxxxx>
> Subject: [PATCH rdma-next 0/2] Allow drivers to have one sysfs group per
> device
> 
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> From Parav,
> 
> Allow drivers to provide one sysfs group per device to be created as part of
> device registration process. This eliminates drivers to creates/delete sysfs
> files by itself. It makes use of standard device registration framework to
> creates such entries.
> 
> HCA drivers just need to provide a group using
> rdma_set_device_sysfs_group() where a group contains list of device
> attributes before invoking ib_register_device().
> 
> Thanks
> 
> Parav Pandit (2):
>   RDMA/core: Allow existing drivers to set one sysfs group per device
>   RDMA/drivers: Use core provided API for registering device attributes
> 
>  drivers/infiniband/hw/bnxt_re/main.c           |  74 ++++++++----------
>  drivers/infiniband/hw/cxgb3/iwch_provider.c    |  52 +++++--------
>  drivers/infiniband/hw/cxgb4/provider.c         |  47 +++++-------
>  drivers/infiniband/hw/hfi1/hfi.h               |   1 +
>  drivers/infiniband/hw/hfi1/sysfs.c             |  69 ++++++++---------
>  drivers/infiniband/hw/hfi1/verbs.c             |   3 +
>  drivers/infiniband/hw/i40iw/i40iw_verbs.c      |  70 ++++++-----------
>  drivers/infiniband/hw/mlx4/main.c              |  37 +++++----
>  drivers/infiniband/hw/mlx5/ib_rep.c            |   3 -
>  drivers/infiniband/hw/mlx5/main.c              |  66 ++++++----------
>  drivers/infiniband/hw/mlx5/mlx5_ib.h           |   1 -
>  drivers/infiniband/hw/mthca/mthca_provider.c   |  41 +++++-----
>  drivers/infiniband/hw/nes/nes_verbs.c          |  58 +++++---------
>  drivers/infiniband/hw/ocrdma/ocrdma_main.c     |  71 ++++++++---------
>  drivers/infiniband/hw/qedr/main.c              |  69 +++++++----------
>  drivers/infiniband/hw/qib/qib.h                |   2 +-
>  drivers/infiniband/hw/qib/qib_sysfs.c          | 101 ++++++++++---------------
>  drivers/infiniband/hw/qib/qib_verbs.c          |   7 +-
>  drivers/infiniband/hw/usnic/usnic_ib_main.c    |   2 +
>  drivers/infiniband/hw/usnic/usnic_ib_sysfs.c   |  70 ++++++-----------
>  drivers/infiniband/hw/usnic/usnic_ib_sysfs.h   |   2 +
>  drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c |  41 +++++-----
>  drivers/infiniband/sw/rxe/rxe_verbs.c          |  26 ++-----
>  include/rdma/ib_verbs.h                        |  28 ++++++-
>  24 files changed, 393 insertions(+), 548 deletions(-)
> 
> --
> 2.14.4

You already sent this series day before, some reason I don't find the ydays patches it in patchwork.






[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