Re: [PATCH] Documentation/ABI: update infiniband sysfs interfaces

From: Jason Gunthorpe
Date: Thu Feb 01 2018 - 17:08:33 EST


On Thu, Feb 01, 2018 at 07:02:33PM +0530, Aishwarya Pant wrote:
> 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>
> Documentation/ABI/testing/sysfs-class-infiniband | 755 +++++++++++++++++++++++
> 1 file changed, 755 insertions(+)

Wow this looks really great

Should this patch delete some of the old documentation?

> diff --git a/Documentation/ABI/testing/sysfs-class-infiniband b/Documentation/ABI/testing/sysfs-class-infiniband

Lots, maybe even all of of this is considered stable..

> +sysfs interface for Broadcom NetXtreme-E RoCE driver
> +----------------------------------------------------
> +
> +What: /sys/class/infiniband/bnxt_reX/fw_rev
> +What: /sys/class/infiniband/bnxt_reX/hw_rev
> +What: /sys/class/infiniband/bnxt_reX/hca_type

These are actually common to all drivers

/sys/class/infiniband/XXX/fw_rev, etc

Jason