Received: by 10.223.176.5 with SMTP id f5csp2202381wra; Sun, 4 Feb 2018 23:21:11 -0800 (PST) X-Google-Smtp-Source: AH8x226bl6u/Ja3kJQLclUnxJsMk9K0m4qOzLsffGaziYo5/vD4lSf9wgcAQJtotZE84wUmIjvgY X-Received: by 10.99.152.84 with SMTP id l20mr6719964pgo.145.1517815270914; Sun, 04 Feb 2018 23:21:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517815270; cv=none; d=google.com; s=arc-20160816; b=0RBxo3wiTyKysReMA5y2/H+GWTJ8JE8ph6+mqUi3e+XTRzfN1udSrPFYEwO6HSqrb2 4Dp/C+aKYNfjLOikJ2z995UyyHVB180q/dRA3o5Sd8KayNl3hAqLtc+fZodKs7efbBdu vYUqbYvv3fXuGHZuFiF9XpVfz4JM18yUTbnZLDtU5v4BwEz8KZAKI20E3TUmkUUAnJBh dP8v/m3fXoG8qXd9bDlQ2MXHigYzuhpEoHQh+4LSRyFJxCrGPKkimInZ3gkNBft8ut7P EG1PUzVL/+K1xtWMkg6kP2QW0grkJ0QiH5EEtlmQbxxQzHej9kA5V05R5wgD5rPhFk9O MFKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=lBvA/n2jcDejt/woGcsRBBlG1crV3kIN7hOBvjKHrmY=; b=fbOLXoJqaJS9gj7KZw78RKDoXFV/4mdjCUdYQ4DIFXVIVTLDi+rMZx+fs7QG+8M3cj vdF02z8rFEerue7S/omFTnPrWoB0dNXonmHCrsMtN/EpOUydaNJMO9Nzs4XBbk8AySdg JmYKdpJrc9UXKdIB3KfDjLCTyxig+xDxtBkRNv6ypywyhEuJbNK0wPIySbGeJg4gh2tv aN2GAFUP8uDdZ/eM62gkdE4Aqks257Ux/RphXP4E5BqWNbvPAIv9U7Gtq4QA2Ov93Fdx tUro4jqAqgxObTav0E7dlgAlKQ9VN4sRfH0QVZn4+zBvUYbmObjvLSJpaZLwtPLOCSYi bNpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kB8dkfz3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w34-v6si6525912pla.629.2018.02.04.23.20.56; Sun, 04 Feb 2018 23:21:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kB8dkfz3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752623AbeBEHTo (ORCPT + 99 others); Mon, 5 Feb 2018 02:19:44 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:45742 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943AbeBEHTl (ORCPT ); Mon, 5 Feb 2018 02:19:41 -0500 Received: by mail-io0-f195.google.com with SMTP id p188so29197743ioe.12; Sun, 04 Feb 2018 23:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lBvA/n2jcDejt/woGcsRBBlG1crV3kIN7hOBvjKHrmY=; b=kB8dkfz3dr43LCvYavSyjBt4jfuHuqAN0uiIlu1mAIQYPPKSESimYo+zBiIqW66sA7 SyQm4Mp2TFAK+pryVB81GZDbEEWnqtXG3xMJIakHPiTwpkcvtZXiCg4wdNQXeenFdP89 nBNmpae+tO0MEjyz9iERxR+hikDIJAuTxIbhlWWyeODh4sDgnsvwze37yC8vhCZp1B2e z6ascSM3IaInbF6zVD782scPeL8YYfRaJ1BS9O7vhJ+UpsDXdjxX2L4KU/YJxTsnWb3Y 2UroAKpQKa6eLxoCshnbBFql1Ee26jWmh28Kqpf5ynaxkNAUDSI96g2O/1Nqr4/JC/AO RKRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lBvA/n2jcDejt/woGcsRBBlG1crV3kIN7hOBvjKHrmY=; b=Z4AhcH4U1BY22qbBecUOdujfCtBaCcKp8aUjD68KR9yuZIVWFdfs1h1ytvSJFCma9x oM9wg7/iUqkjXFVrYzbhX/mtUJxrL2NLzqYIXt+7RpIOWT+HrAB72Y82/PmDW0zcM3NX VM2I0H922mqy6pxGFGoLyNSxQXRf8+WwkD4CERbDZitywVdErrJQZiGyZszrTMyv8dZv CQ2GCmo5QRMXOTHBw3wH34RZkOP1ZrgBJP1bNift/vKfdxeWryP/2Bs11xP4iWS2tPDM Rp6mhCFA53IJ39oka9WD14tIqUWe7bMrNDikiAdQKzBS/nkW4b4yoJq8oQNbIk26vcDM oZaA== X-Gm-Message-State: AKwxytczJn2Z3V8xlwGmDMMC/thppQLPWCYWMwMA+tMGDJEg79YRkZHH RYy1q4psPGyG0Ax9v8LvEgLmsw== X-Received: by 10.107.139.78 with SMTP id n75mr54170724iod.252.1517815180624; Sun, 04 Feb 2018 23:19:40 -0800 (PST) Received: from mordor.localdomain ([49.205.217.87]) by smtp.gmail.com with ESMTPSA id r137sm4754267ita.23.2018.02.04.23.19.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Feb 2018 23:19:40 -0800 (PST) Date: Mon, 5 Feb 2018 12:49:34 +0530 From: Aishwarya Pant To: Hal Rosenstock Cc: Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Greg KH , linux-doc@vger.kernel.org, Julia Lawall Subject: Re: [PATCH] Documentation/ABI: update infiniband sysfs interfaces Message-ID: <20180205071934.GA9185@mordor.localdomain> References: <20180201133233.GA21266@mordor.localdomain> <64f953cc-7831-1164-28b5-5319e72e600f@dev.mellanox.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64f953cc-7831-1164-28b5-5319e72e600f@dev.mellanox.co.il> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 01, 2018 at 12:48:18PM -0500, Hal Rosenstock wrote: > On 2/1/2018 8:32 AM, 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 > > --- > > Documentation/ABI/testing/sysfs-class-infiniband | 755 +++++++++++++++++++++++ > > 1 file changed, 755 insertions(+) > > > > diff --git a/Documentation/ABI/testing/sysfs-class-infiniband b/Documentation/ABI/testing/sysfs-class-infiniband > > index a86abe66a316..2e150169633b 100644 > > --- a/Documentation/ABI/testing/sysfs-class-infiniband > > +++ b/Documentation/ABI/testing/sysfs-class-infiniband > > @@ -1,3 +1,194 @@ > > +sysfs interface common for all infiniband devices > > +------------------------------------------------- > > + > > +What: /sys/class/infiniband//node_type > > +What: /sys/class/infiniband//node_guid > > +What: /sys/class/infiniband//sys_image_guid > > +Date: Apr, 2005 > > +KernelVersion: v2.6.12 > > +Contact: linux-rdma@vger.kernel.org > > +Description: > > + node_type: (RO) Node type (CA, RNIC, usNIC, usNIC UDP, > > + switch or router) > > + > > + node_guid: (RO) Node GUID > > + > > + sys_image_guid: (RO) System image GUID > > + > > + > > +What: /sys/class/infiniband//node_desc > > +Date: Feb, 2006 > > +KernelVersion: v2.6.17 > > +Contact: linux-rdma@vger.kernel.org > > +Description: > > + (RW) Update the node description with information such as the > > + node's hostname, so that IB network management software can tie > > + its view to the real world. > > + > > + > > +What: /sys/class/infiniband//fw_ver > > +Date: Jun, 2016 > > +KernelVersion: v4.10 > > +Contact: linux-rdma@vger.kernel.org > > +Description: > > + (RO) Display firmware version > > + > > + > > +What: /sys/class/infiniband//ports//lid > > +What: /sys/class/infiniband//ports//rate > > +What: /sys/class/infiniband//ports//lid_mask_count > > +What: /sys/class/infiniband//ports//sm_sl > > +What: /sys/class/infiniband//ports//sm_lid > > +What: /sys/class/infiniband//ports//state > > +What: /sys/class/infiniband//ports//phys_state > > +What: /sys/class/infiniband//ports//cap_mask > > +Date: Apr, 2005 > > +KernelVersion: v2.6.12 > > +Contact: linux-rdma@vger.kernel.org > > +Description: > > + > > + lid: (RO) Port LID > > + > > + rate: (RO) Port data rate (active width * active > > + speed) > > + > > + lid_mask_count: (RO) Port LID mask count > > + > > + sm_slL (RO) Subnet manager SL for port's subnet > > Typo sm_sl: > > > + > > + sm_lid: (RO) Subnet manager LID for port's subnet > > + > > + state: (RO) Port state (DOWN, INIT, ARMED, ACTIVE or > > + ACTIVE_DEFER> + > > + phys_state: (RO) Port physical state (Sleep, Polling, > > + LinkUp, etc) > > + > > + cap_mask: (RO) Port capability mask > > 2 bits here are settable: IsCommunicationManagementSupported and IsSM. Hi Sorry, I don't quite understand this. cap_mask is a read only value which indicates the supported functions. So the two bits- IsCommunicationManagementSupported and IsSM, should not be setttable? Aishwarya