Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1203271pxb; Thu, 16 Sep 2021 02:03:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3sTmj/XWwldP6ekwuBfgmtnfSf1FRokmLP3NjLogOg7GPnnIdyU9JJNQu4nU2MBprfdni X-Received: by 2002:a05:6e02:2163:: with SMTP id s3mr3219893ilv.172.1631782992647; Thu, 16 Sep 2021 02:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631782992; cv=none; d=google.com; s=arc-20160816; b=PPWxS34ubUul4Nk38iAGhXwDG7P522Tw3qMhZtg9Lm4dOKCc4+juI5PAIbc2xeeJqY LpsdTx9fyfnKQJRXqh7GCqjb/lvehsNBjAFovchWjDhGnAUYi7ftZHRkCJW87mtIIPBr OqVvjTONslXyDxua2gDWVDR5SW6KnIbFzG8EFbxI8602P1hl0+sssg2HL+Z/nGa6Pvlu wHJ2TImRHzj64Ht/qBUi19X3CFE8DGCd/AIffNCIcGNg43/8aJLEL7xvoY2xSirQlZIo E5SqMYHu348hx7WjmgYZQnO7dQPDw+j0AnpGzZzejSFtfo0/FEaYzRmtgOLut802cOdk xp2w== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FqquEMQt0yjtnv579epobVmQ9m/vb1yo4ACYCzmm9Gw=; b=GmiQcquurKK2rpSBQnuj2aLOoTOnv/7ECo+sHOZcQ2YFa/njNlLt1VH6DEyq22UOm+ RCGOGAFlByReNLFejiakeY2EL+Xc5e9bZ9fM3CsNrQz+LrxT7gcu7FFhDk44CutAHZJX ipvbOnY36FefbVIZM+zA9WCpfT1lM929CrRWe3k2kLVaWcGNW2fsXpJE4JBR4FPPA3oa EMiS0DS0lqw7yyC9qDMogpmT/eQDWQ8ELAC/E206Tko4IIRkjGl+IBaEHfX6i4qvlTy1 omGJeP5XBRW5d/y6B49KdgzkikA8ies5GMetCUWwl2hIDOcgQAXoChGSwdCrORZmQ1UW WHQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SECGetP9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m33si1950755jaf.66.2021.09.16.02.03.00; Thu, 16 Sep 2021 02:03:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SECGetP9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236084AbhIPJDO (ORCPT + 99 others); Thu, 16 Sep 2021 05:03:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:36256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235422AbhIPJBX (ORCPT ); Thu, 16 Sep 2021 05:01:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A190E6127A; Thu, 16 Sep 2021 09:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631782802; bh=2onBDmcX5Z2qOBLRcvgnkoXuBMNPKSL8Szs8OXOsw7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SECGetP9a1vvU/DzwjmWRHkSoGdF2KXJx2DKQK3VjDYwOKvMpGE2BA7zAtcLC9Lyy 8atOeDuuKHaItgPLB6NER+AQidVMx9g8+BwuAK1iv3kzm3IDJsOYarVR3mawEehzfy d64OqJMxnzzlVqprEQ5h1k19pI6FB2VIbiKsH9/sscs60p9WzWyT9+YdAN/Ys/v6Zo Em2m3h9t0kVg29XiAekHy12MaOv52J4ZHSnRcVKF2lI0fPICsFDHrV4YpU7yTYHhsu sxwM7eF6TYDQRlQvGPvueH9M8HsdWTiQMsZMFu9pf8+h7xLJcWQW4P4zZpOqTKrRiA Jwxb62PBUpMlA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQnFQ-001qkO-Rz; Thu, 16 Sep 2021 11:00:00 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Jason Gunthorpe , Shiraz Saleem , linux-kernel@vger.kernel.org, Jason Gunthorpe Subject: [PATCH v3 13/30] ABI: sysfs-class-infiniband: use wildcards on What definitions Date: Thu, 16 Sep 2021 10:59:40 +0200 Message-Id: <3cb5cad69f457ed92b38d719ff7f6f0fc9364285.1631782432.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org An "N" upper letter is not a wildcard, nor can easily be identified by script, specially since the USB sysfs define things like. bNumInterfaces. Use, instead, , in order to let script/get_abi.pl to convert it into a Regex. Acked-by: Jason Gunthorpe Signed-off-by: Mauro Carvalho Chehab --- .../ABI/stable/sysfs-class-infiniband | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/Documentation/ABI/stable/sysfs-class-infiniband b/Documentation/ABI/stable/sysfs-class-infiniband index 9b1bdfa43354..ebf08c604336 100644 --- a/Documentation/ABI/stable/sysfs-class-infiniband +++ b/Documentation/ABI/stable/sysfs-class-infiniband @@ -232,10 +232,10 @@ Description: The RoCE type of the associated GID resides at index . or "RoCE v2" for RoCE v2 based GIDs. -What: /sys/class/infiniband_mad/umadN/ibdev -What: /sys/class/infiniband_mad/umadN/port -What: /sys/class/infiniband_mad/issmN/ibdev -What: /sys/class/infiniband_mad/issmN/port +What: /sys/class/infiniband_mad/umad/ibdev +What: /sys/class/infiniband_mad/umad/port +What: /sys/class/infiniband_mad/issm/ibdev +What: /sys/class/infiniband_mad/issm/port Date: Apr, 2005 KernelVersion: v2.6.12 Contact: linux-rdma@vger.kernel.org @@ -261,8 +261,8 @@ Description: userspace ABI compatibility of umad & issm devices. -What: /sys/class/infiniband_verbs/uverbsN/ibdev -What: /sys/class/infiniband_verbs/uverbsN/abi_version +What: /sys/class/infiniband_verbs/uverbs/ibdev +What: /sys/class/infiniband_verbs/uverbs/abi_version Date: Sept, 2005 KernelVersion: v2.6.14 Contact: linux-rdma@vger.kernel.org @@ -471,7 +471,7 @@ Description: =============== ====================================================== -What: /sys/class/infiniband/qibX/ports/N/sl2vl/[0-15] +What: /sys/class/infiniband/qibX/ports//sl2vl/[0-15] Date: May, 2010 KernelVersion: v2.6.35 Contact: linux-rdma@vger.kernel.org @@ -480,8 +480,8 @@ Description: the Service Level (SL). Listing the SL files returns the Virtual Lane (VL) as programmed by the SL. -What: /sys/class/infiniband/qibX/ports/N/CCMgtA/cc_settings_bin -What: /sys/class/infiniband/qibX/ports/N/CCMgtA/cc_table_bin +What: /sys/class/infiniband/qibX/ports//CCMgtA/cc_settings_bin +What: /sys/class/infiniband/qibX/ports//CCMgtA/cc_table_bin Date: May, 2010 KernelVersion: v2.6.35 Contact: linux-rdma@vger.kernel.org @@ -499,11 +499,11 @@ Description: delay. =============== ================================================ -What: /sys/class/infiniband/qibX/ports/N/linkstate/loopback -What: /sys/class/infiniband/qibX/ports/N/linkstate/led_override -What: /sys/class/infiniband/qibX/ports/N/linkstate/hrtbt_enable -What: /sys/class/infiniband/qibX/ports/N/linkstate/status -What: /sys/class/infiniband/qibX/ports/N/linkstate/status_str +What: /sys/class/infiniband/qibX/ports//linkstate/loopback +What: /sys/class/infiniband/qibX/ports//linkstate/led_override +What: /sys/class/infiniband/qibX/ports//linkstate/hrtbt_enable +What: /sys/class/infiniband/qibX/ports//linkstate/status +What: /sys/class/infiniband/qibX/ports//linkstate/status_str Date: May, 2010 KernelVersion: v2.6.35 Contact: linux-rdma@vger.kernel.org @@ -523,16 +523,16 @@ Description: "Fatal_Hardware_Error". =============== =============================================== -What: /sys/class/infiniband/qibX/ports/N/diag_counters/rc_resends -What: /sys/class/infiniband/qibX/ports/N/diag_counters/seq_naks -What: /sys/class/infiniband/qibX/ports/N/diag_counters/rdma_seq -What: /sys/class/infiniband/qibX/ports/N/diag_counters/rnr_naks -What: /sys/class/infiniband/qibX/ports/N/diag_counters/other_naks -What: /sys/class/infiniband/qibX/ports/N/diag_counters/rc_timeouts -What: /sys/class/infiniband/qibX/ports/N/diag_counters/look_pkts -What: /sys/class/infiniband/qibX/ports/N/diag_counters/pkt_drops -What: /sys/class/infiniband/qibX/ports/N/diag_counters/dma_wait -What: /sys/class/infiniband/qibX/ports/N/diag_counters/unaligned +What: /sys/class/infiniband/qibX/ports//diag_counters/rc_resends +What: /sys/class/infiniband/qibX/ports//diag_counters/seq_naks +What: /sys/class/infiniband/qibX/ports//diag_counters/rdma_seq +What: /sys/class/infiniband/qibX/ports//diag_counters/rnr_naks +What: /sys/class/infiniband/qibX/ports//diag_counters/other_naks +What: /sys/class/infiniband/qibX/ports//diag_counters/rc_timeouts +What: /sys/class/infiniband/qibX/ports//diag_counters/look_pkts +What: /sys/class/infiniband/qibX/ports//diag_counters/pkt_drops +What: /sys/class/infiniband/qibX/ports//diag_counters/dma_wait +What: /sys/class/infiniband/qibX/ports//diag_counters/unaligned Date: May, 2010 KernelVersion: v2.6.35 Contact: linux-rdma@vger.kernel.org @@ -650,9 +650,9 @@ Description: =============== ============================================= -What: /sys/class/infiniband/hfi1_X/ports/N/CCMgtA/cc_settings_bin -What: /sys/class/infiniband/hfi1_X/ports/N/CCMgtA/cc_table_bin -What: /sys/class/infiniband/hfi1_X/ports/N/CCMgtA/cc_prescan +What: /sys/class/infiniband/hfi1_X/ports//CCMgtA/cc_settings_bin +What: /sys/class/infiniband/hfi1_X/ports//CCMgtA/cc_table_bin +What: /sys/class/infiniband/hfi1_X/ports//CCMgtA/cc_prescan Date: May, 2016 KernelVersion: v4.6 Contact: linux-rdma@vger.kernel.org @@ -675,9 +675,9 @@ Description: disable. =============== ================================================ -What: /sys/class/infiniband/hfi1_X/ports/N/sc2vl/[0-31] -What: /sys/class/infiniband/hfi1_X/ports/N/sl2sc/[0-31] -What: /sys/class/infiniband/hfi1_X/ports/N/vl2mtu/[0-15] +What: /sys/class/infiniband/hfi1_X/ports//sc2vl/[0-31] +What: /sys/class/infiniband/hfi1_X/ports//sl2sc/[0-31] +What: /sys/class/infiniband/hfi1_X/ports//vl2mtu/[0-15] Date: May, 2016 KernelVersion: v4.6 Contact: linux-rdma@vger.kernel.org @@ -691,8 +691,8 @@ Description: =============== =================================================== -What: /sys/class/infiniband/hfi1_X/sdma_N/cpu_list -What: /sys/class/infiniband/hfi1_X/sdma_N/vl +What: /sys/class/infiniband/hfi1_X/sdma_/cpu_list +What: /sys/class/infiniband/hfi1_X/sdma_/vl Date: Sept, 2016 KernelVersion: v4.8 Contact: linux-rdma@vger.kernel.org -- 2.31.1