470be516a2
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>
17 lines
610 B
Plaintext
17 lines
610 B
Plaintext
What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>
|
|
Date: November 29, 2015
|
|
KernelVersion: 4.4.0
|
|
Contact: linux-rdma@vger.kernel.org
|
|
Description: The net-device's name associated with the GID resides
|
|
at index <gid-index>.
|
|
|
|
What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/types/<gid-index>
|
|
Date: November 29, 2015
|
|
KernelVersion: 4.4.0
|
|
Contact: linux-rdma@vger.kernel.org
|
|
Description: The RoCE type of the associated GID resides at index <gid-index>.
|
|
This could either be "IB/RoCE v1" for IB and RoCE v1 based GODs
|
|
or "RoCE v2" for RoCE v2 based GIDs.
|
|
|
|
|