aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/uverbs_ioctl.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2021-06-11 19:00:26 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-06-16 20:58:30 -0300
commitb7066b32a14fd21480efd93cb0c24807d6b28484 (patch)
treecebc0a95c27f765fa153285af3c756d58f953bb7 /include/rdma/uverbs_ioctl.h
parentRDMA/core: Simplify how the port sysfs is created (diff)
downloadlinux-dev-b7066b32a14fd21480efd93cb0c24807d6b28484.tar.xz
linux-dev-b7066b32a14fd21480efd93cb0c24807d6b28484.zip
RDMA/core: Create the device hw_counters through the normal groups mechanism
Instead of calling device_add_groups() add the group to the existing groups array which is managed through device_add(). This requires setting up the hw_counters before device_add(), so it gets split up from the already split port sysfs flow. Move all the memory freeing to the release function. Link: https://lore.kernel.org/r/666250d937b64f6fdf45da9e2dc0b6e5e4f7abd8.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/rdma/uverbs_ioctl.h')
0 files changed, 0 insertions, 0 deletions