IB/core: Add gid attributes to sysfs
authorMatan Barak <matanb@mellanox.com>
Wed, 23 Dec 2015 12:56:49 +0000 (14:56 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 15:35:11 +0000 (10:35 -0500)
commit470be516a226e851d62a8d3d31dc162500b84487
treeb2a647c0142055333c3503631109b5604c06eeb0
parentcb57bb849effcaa83addd739595d3dea3a5905fb
IB/core: Add gid attributes to sysfs

This patch set adds attributes of net device and gid type to each GID
in the GID table. Users that use verbs directly need to specify
the GID index. Since the same GID could have different types or
associated net devices, users should have the ability to query the
associated GID attributes. Adding these attributes to sysfs.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Documentation/ABI/testing/sysfs-class-infiniband [new file with mode: 0644]
drivers/infiniband/core/sysfs.c