]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6256b69d81a14b1122985ecca71f8a429a1b0eed
treeb2a647c0142055333c3503631109b5604c06eeb0
parentae124fc5a8c8cb1d189b4622d1b64ae00d6af220
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