linux/drivers/infiniband/sw
Jason Gunthorpe d7407d1669 RDMA: Change ops->init_port to ops->port_groups
init_port was only being used to register sysfs attributes against the
port kobject. Now that all users are creating static attribute_group's we
can simply set the attribute_group list in the ops and the core code can
just handle it directly.

This makes all the sysfs management quite straightforward and prevents any
driver from abusing the naked port kobject in future because no driver
code can access it.

Link: https://lore.kernel.org/r/114f68f3d921460eafe14cea5a80ca65d81729c3.1623427137.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-16 20:58:31 -03:00
..
rdmavt RDMA: Change ops->init_port to ops->port_groups 2021-06-16 20:58:31 -03:00
rxe RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
siw RDMA/siw: Fix a use after free in siw_alloc_mr 2021-04-27 15:19:21 -03:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00