RE: [PATCH v3] Documentation/ABI: update infiniband sysfs interfaces

From: Parav Pandit
Date: Wed Feb 07 2018 - 11:09:21 EST


Hi Aishwarya,


> -----Original Message-----
> From: linux-rdma-owner@xxxxxxxxxxxxxxx [mailto:linux-rdma-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Aishwarya Pant
> Sent: Tuesday, February 06, 2018 11:00 PM
> To: Doug Ledford <dledford@xxxxxxxxxx>; Jason Gunthorpe <jgg@xxxxxxxx>;
> linux-rdma@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Jonathan Corbet
> <corbet@xxxxxxx>; Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Julia Lawall <julia.lawall@xxxxxxx>
> Subject: [PATCH v3] Documentation/ABI: update infiniband sysfs interfaces
>
> Add documentation for core and hardware specific infiniband interfaces.
> The descriptions have been collected from git commit logs, reading through
> code and data sheets. Some drivers have incomplete doc and are annotated
> with the comment '[to be documented]'.
>
> Signed-off-by: Aishwarya Pant <aishpant@xxxxxxxxx>
> ---
> Changes in v3:
> - outbound -> inbound in description of port_rcv_constraint_errors
> v2:
> - Move infiniband interface from testing to stable
> - Fix typos
> - Update description of cap_mask, port_xmit_constraint_errors and
> port_rcv_constraint_errors
> - Add doc for hw_counters
> - Remove old documentation
>
> Documentation/ABI/stable/sysfs-class-infiniband | 818
> +++++++++++++++++++++++ Documentation/ABI/testing/sysfs-class-infiniband
> | 16 -
> Documentation/infiniband/sysfs.txt | 129 +---
> 3 files changed, 820 insertions(+), 143 deletions(-) create mode 100644
> Documentation/ABI/stable/sysfs-class-infiniband
> delete mode 100644 Documentation/ABI/testing/sysfs-class-infiniband
>
> diff --git a/Documentation/ABI/stable/sysfs-class-infiniband
> b/Documentation/ABI/stable/sysfs-class-infiniband
> new file mode 100644
> index 000000000000..f3acf3713a91
> --- /dev/null
> +++ b/Documentation/ABI/stable/sysfs-class-infiniband
> @@ -0,0 +1,818 @@
> +sysfs interface common for all infiniband devices
> +-------------------------------------------------
> +

> +What: /sys/class/infiniband/<hca>/ports/<port-
> number>/gid_attrs/ndevs/<gid-index>
> +Date: November 29, 2015
> +KernelVersion: 4.4.0
> +Contact: linux-rdma@xxxxxxxxxxxxxxx
> +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@xxxxxxxxxxxxxxx
> +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
GIDs.