aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_verbs.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-10-11 22:31:53 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-10-17 01:12:38 -0600
commitd4122f5abef844112799d2056fdc7bbedbc913f3 (patch)
tree263a7c4d58f7929ea9da2ef06058cb71d315fc6a /drivers/infiniband/hw/qib/qib_verbs.c
parentIB/rxe: Remove unnecessary enum values (diff)
downloadlinux-dev-d4122f5abef844112799d2056fdc7bbedbc913f3.tar.xz
linux-dev-d4122f5abef844112799d2056fdc7bbedbc913f3.zip
RDMA/core: Allow existing drivers to set one sysfs group per device
Currently many rdma drivers are creating device attribute files using device_create_file() with device specific attributes. Device specific attributes should be exposed via well defined netlink device attributes in future. Introduce an API rdma_set_device_sysfs_group() for existing drivers to set a group for sysfs attributes for legacy. This API is only for exposing legacy attributes which existed for sometime now. New drivers should not be using this API and rather follow netlink path. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_verbs.c')
0 files changed, 0 insertions, 0 deletions