Re: [PATCH rdma-next v2 00/15] Reorganize sysfs file creation for struct ib_devices

From: Jason Gunthorpe
Date: Wed Jun 16 2021 - 20:00:29 EST


On Fri, Jun 11, 2021 at 07:00:19PM +0300, Leon Romanovsky wrote:

> Jason Gunthorpe (15):
> RDMA: Split the alloc_hw_stats() ops to port and device variants
> RDMA/core: Replace the ib_port_data hw_stats pointers with a ib_port
> pointer
> RDMA/core: Split port and device counter sysfs attributes
> RDMA/core: Split gid_attrs related sysfs from add_port()
> RDMA/core: Simplify how the gid_attrs sysfs is created
> RDMA/core: Simplify how the port sysfs is created
> RDMA/core: Create the device hw_counters through the normal groups
> mechanism
> RDMA/core: Remove the kobject_uevent() NOP
> RDMA/core: Expose the ib port sysfs attribute machinery
> RDMA/cm: Use an attribute_group on the ib_port_attribute intead of
> kobj's
> RDMA/qib: Use attributes for the port sysfs
> RDMA/hfi1: Use attributes for the port sysfs
> RDMA: Change ops->init_port to ops->port_groups
> RDMA/core: Allow port_groups to be used with namespaces
> RDMA: Remove rdma_set_device_sysfs_group()

Applied to for-next, thanks everyone

Jason