aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2021-06-11 19:00:23 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-06-16 20:58:29 -0300
commita32f433522c97d2f07c060517f1f0f4058aa211b (patch)
tree57ea3e21a37c77a89dc79bc691a08d6f2de57106 /include
parentRDMA/core: Split port and device counter sysfs attributes (diff)
downloadlinux-dev-a32f433522c97d2f07c060517f1f0f4058aa211b.tar.xz
linux-dev-a32f433522c97d2f07c060517f1f0f4058aa211b.zip
RDMA/core: Split gid_attrs related sysfs from add_port()
The gid_attrs directory is a dedicated kobj nested under the port, construct/destruct it with its own pair of functions for understandability. This is much more readable than having it weirdly inlined out of order into the add_port() function. Link: https://lore.kernel.org/r/1c9434111b6770a7aef0e644a88a16eee7e325b8.1623427137.git.leonro@nvidia.com Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions