Received: by 10.223.176.5 with SMTP id f5csp2506707wra; Mon, 5 Feb 2018 05:19:14 -0800 (PST) X-Google-Smtp-Source: AH8x227PmnhD0Tf9GvZGqonZN/9OgBnI4RtF6Lx1iPfgoln9F5tNoHjJCn7IXCFXln7AXkmHfQOL X-Received: by 2002:a17:902:51e9:: with SMTP id y96-v6mr23907520plh.344.1517836753930; Mon, 05 Feb 2018 05:19:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517836753; cv=none; d=google.com; s=arc-20160816; b=EP0kjngvV6kwSACPKCJ6ErZ0KydHFdt3bD81CMspzWSNlJ0YLUzARHhpRANyknaxzH hILDoDK7cn3AZDKwU1kNgOKpCFm5LoS8fMPSREjMayc16XLQB4rChL6gc2wes8Ttx/io YaQb8zPyvV6MafXiTfeU6lPD9/j8qj9xz7d+7xZH7EK/mmVnwPsbO/eP/13zMj63dWgo ywj6+fw2LheOVwedQ+2MkWsns7kjjfPco5YlxNZoo2InKhlrLvp821u5gF9WQOpg+QDU F/JbF4A+upJS8lbJntvPHHzDq+yQhWh2P6W4LqPUTOkz8mLcEKw85ZiDmAqv8rLuRRbn qAAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Vm0JmHttD2p3FYqD53xpdp/kko1lE7Puw9FD8HsWPbw=; b=RE5HidP2GFTZJ41gFzzLiczUjOJHbBtZZBkPvWLFBkML3XNxhE/ip76n928Kyc0m+l GofhjbuLiwMIwP/ylLFUhGAmYISTqDxspAfWtzsPLzrnx+tkcfsB2zBDxho3a2d3vKX6 EBx2PnvxNH59ZUB+EYgFTDu5YCriqYerLMtRSKN/LEaS359EO+06sTsXLQsr6+On4Q66 +52MR2/1N5CzXCvkpY1RZlU2tmPOl82H98Gu5tjvJv28Grr/EoGMzcakbJCxiBgxn1Dk rRa6sw+NPYwsYp2Gh7Xm8mS2t4uqV762Dhg2570pUIuairAmilPFGvMn9Vq40ZAKqUJW ph/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dev-mellanox-co-il.20150623.gappssmtp.com header.s=20150623 header.b=qjoo0Z/2; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.co.il Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si5405489pgf.231.2018.02.05.05.18.58; Mon, 05 Feb 2018 05:19:13 -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=@dev-mellanox-co-il.20150623.gappssmtp.com header.s=20150623 header.b=qjoo0Z/2; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.co.il Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753029AbeBENRD (ORCPT + 99 others); Mon, 5 Feb 2018 08:17:03 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:40226 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752825AbeBENQ6 (ORCPT ); Mon, 5 Feb 2018 08:16:58 -0500 Received: by mail-qt0-f193.google.com with SMTP id s39so39479417qth.7 for ; Mon, 05 Feb 2018 05:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Vm0JmHttD2p3FYqD53xpdp/kko1lE7Puw9FD8HsWPbw=; b=qjoo0Z/2P7DREzhdfWSpxekh+fwT4tDu+e7B2dt89JyV/bjSBFNBHsFQAm2afQANz3 DW47GJXlz/HZvnZS4X55uuQ5hJhXOU3dPBK1m7FQe6C+rAB5fiJolFXaopEdqYXtyWQ2 18NoHAD0aaP6FL62mAFnUJjdyZuGTgtKEUb2ZvLBi6qoyHS+lsi9ahrovzEsKbbNUA3B zYofWlx25kxGX8ZUrqQWWcfWBvGEN8KMH3S9iBGvS8JMxkbBbUxPI82NW5Exb4mfVY8N Skp4X2UYkyGZiHswUvfMRiAeltcBYXp6oS2mrqDzBGJ2RBNMmk/2FV69TQ4eMYX2he/q 3QTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Vm0JmHttD2p3FYqD53xpdp/kko1lE7Puw9FD8HsWPbw=; b=p9jgxJrInBtUxkRNQ+PJWib0bAjGp9+u6hbQhs0yT/WRC0Cw9f8P8SaM0SZmDMq1A4 vu60YM2tdCnJ3j/551WZz4YWMoTFYeqebjDEVm9l18fcvFwVIEh4FtEgeKmKFH3t/mPt EitO0bvpWwo/u1fO01UiTzyEzYzEcG/RiQdpsO4ttRIBvLWV+WTjBq3txJn8H4KrADtu R4GvOQTKsDgvxv90hP6oVMmlJUYyKehnuhfD0amQCp/wVme3uRNEiKcdY6nbfl+i9RlJ IRl40PyTPdPNx/7EHlzNOe+ZBnGZrl0YLQdFbeV+HDDc/5NJpbJ4b98a9ZO/fdFRkbJI EowA== X-Gm-Message-State: AKwxytfaq4qzRMI/jAnDcGOLZwy23VvrfvLZVZQtO0fU/RsR5sOVNcdp FIFz6yh4ltQL4AWX52bMpcMUtg== X-Received: by 10.200.17.153 with SMTP id d25mr35181776qtj.97.1517836617627; Mon, 05 Feb 2018 05:16:57 -0800 (PST) Received: from [192.168.1.183] (c-73-182-207-166.hsd1.ma.comcast.net. [73.182.207.166]) by smtp.googlemail.com with ESMTPSA id k188sm5709758qkf.59.2018.02.05.05.16.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 05:16:57 -0800 (PST) Subject: Re: [PATCH] Documentation/ABI: update infiniband sysfs interfaces To: Aishwarya Pant 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 References: <20180201133233.GA21266@mordor.localdomain> <64f953cc-7831-1164-28b5-5319e72e600f@dev.mellanox.co.il> <20180205071934.GA9185@mordor.localdomain> From: Hal Rosenstock Message-ID: <6aca6ebc-4e58-79c7-6767-9e370c8ef71d@dev.mellanox.co.il> Date: Mon, 5 Feb 2018 08:16:55 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180205071934.GA9185@mordor.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/5/2018 2:19 AM, Aishwarya Pant wrote: >>> + 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? In terms of IB, PortInfo:CapabilityMask is RO from perspective of SM. In linux, IsSM is settable via open of issmN file. An SM will do this to set the IsSM bit. It is similar in terms of IsCommunicationManagementSupported bit where bit is set when CM module is loaded in kernel (in cm_add_one). -- Hal > Aishwarya > > >