From patchwork Wed Jan 31 10:21:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Breno Leitao X-Patchwork-Id: 194653 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1795376dyb; Wed, 31 Jan 2024 02:32:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrf0MCAgoXTJRo77zUuOZa2UZgfCEdOfhlJK1c5b82Jry5qYdAC/vhAthInMZdDzVg1e3k X-Received: by 2002:a05:6808:2098:b0:3be:c43a:97c7 with SMTP id s24-20020a056808209800b003bec43a97c7mr745458oiw.24.1706697147473; Wed, 31 Jan 2024 02:32:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706697147; cv=pass; d=google.com; s=arc-20160816; b=MCsvu7S8WAeuSWnPHCA/EhJYC90V4l/1kRMeD2wzrxYXX5TyRPhm5e0++ePbthzqgZ tdQaJyHZB36OI6j92tunmZUWrUbjYHbO87uMQxa7aosRe4q+EODWEz3qk6lH7+Xr2/id LmK7kknhYppV72gMFDmZ8YMuhPyEbhQrB/7xfO6DWv45C2NZAFozCr+quiGGmB+1EAQo Fibs2RThicuJeYmlpqGZbgr+cpGs2FEAaq0tP5Jvh+q1inFlcV1lFsqQPB2O9CW6Jh4Q A6mdLeZOPrCfBLe1w/zUPxyMGF5ay1WZJyisPcr2/k7ITr+OaXy2mw8/W/APcumFx7rj le6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=dzz8XfgMT6sJFwrMg84o7ZbqmGEnX1hEApi1gdyPgqI=; fh=ea3uc8noqxopki/FLUgwX17eEjQ78vIHfs2Vg8/HNWY=; b=Qi0klEmXDFNfbG6QOgTPlWXNotsRt5qauAQqBaIaWSPVX0H8At3uHjyEy3hySYVyJX RP/+MNCd1YTPt9HbZlPs50WnVH2p4OnwfHnjPyPpMr4g421ho04B4x7Haik7SqoHoq1x +RtJgAno0Xtk4gZJnSYLQpZOJv7jk9Gmzi0cnbrc5A+14LO+C0wfUPr7F7N4D0/8G/Br gNoNPt57QiRS+bOUf950FFDt8j1gTe76QNsHmaoljFkXqVsAggq3VCO4/eNVrcEgXW4/ 8ybv4eMx21kAiJE3A+/KQjKOLzL8w76Qy1I3y/Kq+nU0pQ4o2AbAEM5YoUGEF1kqDopZ jl0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46223-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46223-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXxR4KQkK4+c98VrqwUFdCC7cLaQJt/1G41ORWAjBqYW89WRyRh0f+whAjjlsyvC6+3VABCA54NiZLlPBbjJK+SQn/gTg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ld10-20020a056a004f8a00b006da04ab75basi9380607pfb.278.2024.01.31.02.32.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:32:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46223-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46223-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46223-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 78E79295D58 for ; Wed, 31 Jan 2024 10:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A0718286D; Wed, 31 Jan 2024 10:22:08 +0000 (UTC) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 401E0762C3; Wed, 31 Jan 2024 10:22:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696526; cv=none; b=nYeQcZi+vsp3qc2t6eDzxTOYux0h6+TAK2hJMQ1yppEBLhbwZdhD9r5fCiPfAwEqa8voKimplD08x0b7ox5K+nz+O4FKDBm+TOzKBZEA5fNaoCzvqRH+bJR95+3VERRWJ4rxonhcP+quSXWUmka+9wYx8dXmutphG5Ga6kmxHdY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696526; c=relaxed/simple; bh=Ew3jG/iqdLrRFnqrV7+TDchfiZaOrt/C9SUF3rcAj1Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fg3bbykBx2fh/D4qSplcnH2sSKzhgngg2KfUMrJD72vxrsF6pkJKnr4pr6BE8WQ0juqW07YEtaklH9RjZDjnDFVbDLQTEyD/YjdFZfsXFjR9NvYZiDpgw9sZ7IkFQtccGwwWdi9mB95hLF53qTi60UNh3lAMVeimw81p+ckh6+Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.208.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d057b6df2aso23783821fa.3; Wed, 31 Jan 2024 02:22:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706696522; x=1707301322; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dzz8XfgMT6sJFwrMg84o7ZbqmGEnX1hEApi1gdyPgqI=; b=wodxfXvSsuJaaSUn52h9Seoq7I27FCy2E7UGvol8YViRSk++EXKay/ooOCaM/mhgaS yrOij6nkOjAk3UM4rAkzTw7qPW8uV0/X4qbCsLTQgP3vKY3c+SG82XV+T15ZXYkWr+bs 0Z2xAnLi7OmTrJwI6X6NOqkjVf1KuDm7LR7mT+wPD6t2asKrmupuBZmjUvgNMQiv6I92 Egnhvjuzl29oDd4y5Lc1UdLHoC7+r7nGtapd25egWgVOeD0PWmA/LPmq9RWz4AeYcyfE 5BtEhA7sW9xNlJ2dEyX2kr4U+DVi2qlpoCzhfci6Glq3sQsq/m2SJ34MmsC3oN8EzXJA kKCQ== X-Gm-Message-State: AOJu0YzPgGpSA3Gi4Yoo54xSJ9JxdBa4ZOW901pI55/YJn7mvFgXqi// 74+ho3e3iHjHKSo/0b6tIA6FuHUcBrXtYAOrLrK2iwOSZNjheJ3J X-Received: by 2002:a2e:be28:0:b0:2d0:5a6c:7095 with SMTP id z40-20020a2ebe28000000b002d05a6c7095mr1006031ljq.35.1706696521851; Wed, 31 Jan 2024 02:22:01 -0800 (PST) Received: from localhost (fwdproxy-cln-002.fbsv.net. [2a03:2880:31ff:2::face:b00c]) by smtp.gmail.com with ESMTPSA id q11-20020a5085cb000000b0055d15d938e6sm5596917edh.11.2024.01.31.02.22.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:22:01 -0800 (PST) From: Breno Leitao To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, Florian Fainelli Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Jonathan Corbet , Randy Dunlap Subject: [PATCH net v2 1/2] net: sysfs: Fix /sys/class/net/ path Date: Wed, 31 Jan 2024 02:21:49 -0800 Message-Id: <20240131102150.728960-2-leitao@debian.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131102150.728960-1-leitao@debian.org> References: <20240131102150.728960-1-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789601668361238877 X-GMAIL-MSGID: 1789601668361238877 The documentation is pointing to the wrong path for the interface. Documentation is pointing to /sys/class/, instead of /sys/class/net/. Fix it by adding the `net/` directory before the interface. Fixes: 1a02ef76acfa ("net: sysfs: add documentation entries for /sys/class//queues") Signed-off-by: Breno Leitao Acked-by: Florian Fainelli --- .../ABI/testing/sysfs-class-net-queues | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-net-queues b/Documentation/ABI/testing/sysfs-class-net-queues index 906ff3ca928a..5bff64d256c2 100644 --- a/Documentation/ABI/testing/sysfs-class-net-queues +++ b/Documentation/ABI/testing/sysfs-class-net-queues @@ -1,4 +1,4 @@ -What: /sys/class//queues/rx-/rps_cpus +What: /sys/class/net//queues/rx-/rps_cpus Date: March 2010 KernelVersion: 2.6.35 Contact: netdev@vger.kernel.org @@ -8,7 +8,7 @@ Description: network device queue. Possible values depend on the number of available CPU(s) in the system. -What: /sys/class//queues/rx-/rps_flow_cnt +What: /sys/class/net//queues/rx-/rps_flow_cnt Date: April 2010 KernelVersion: 2.6.35 Contact: netdev@vger.kernel.org @@ -16,7 +16,7 @@ Description: Number of Receive Packet Steering flows being currently processed by this particular network device receive queue. -What: /sys/class//queues/tx-/tx_timeout +What: /sys/class/net//queues/tx-/tx_timeout Date: November 2011 KernelVersion: 3.3 Contact: netdev@vger.kernel.org @@ -24,7 +24,7 @@ Description: Indicates the number of transmit timeout events seen by this network interface transmit queue. -What: /sys/class//queues/tx-/tx_maxrate +What: /sys/class/net//queues/tx-/tx_maxrate Date: March 2015 KernelVersion: 4.1 Contact: netdev@vger.kernel.org @@ -32,7 +32,7 @@ Description: A Mbps max-rate set for the queue, a value of zero means disabled, default is disabled. -What: /sys/class//queues/tx-/xps_cpus +What: /sys/class/net//queues/tx-/xps_cpus Date: November 2010 KernelVersion: 2.6.38 Contact: netdev@vger.kernel.org @@ -42,7 +42,7 @@ Description: network device transmit queue. Possible values depend on the number of available CPU(s) in the system. -What: /sys/class//queues/tx-/xps_rxqs +What: /sys/class/net//queues/tx-/xps_rxqs Date: June 2018 KernelVersion: 4.18.0 Contact: netdev@vger.kernel.org @@ -53,7 +53,7 @@ Description: number of available receive queue(s) in the network device. Default is disabled. -What: /sys/class//queues/tx-/byte_queue_limits/hold_time +What: /sys/class/net//queues/tx-/byte_queue_limits/hold_time Date: November 2011 KernelVersion: 3.3 Contact: netdev@vger.kernel.org @@ -62,7 +62,7 @@ Description: of this particular network device transmit queue. Default value is 1000. -What: /sys/class//queues/tx-/byte_queue_limits/inflight +What: /sys/class/net//queues/tx-/byte_queue_limits/inflight Date: November 2011 KernelVersion: 3.3 Contact: netdev@vger.kernel.org @@ -70,7 +70,7 @@ Description: Indicates the number of bytes (objects) in flight on this network device transmit queue. -What: /sys/class//queues/tx-/byte_queue_limits/limit +What: /sys/class/net//queues/tx-/byte_queue_limits/limit Date: November 2011 KernelVersion: 3.3 Contact: netdev@vger.kernel.org @@ -79,7 +79,7 @@ Description: on this network device transmit queue. This value is clamped to be within the bounds defined by limit_max and limit_min. -What: /sys/class//queues/tx-/byte_queue_limits/limit_max +What: /sys/class/net//queues/tx-/byte_queue_limits/limit_max Date: November 2011 KernelVersion: 3.3 Contact: netdev@vger.kernel.org @@ -88,7 +88,7 @@ Description: queued on this network device transmit queue. See include/linux/dynamic_queue_limits.h for the default value. -What: /sys/class//queues/tx-/byte_queue_limits/limit_min +What: /sys/class/net//queues/tx-/byte_queue_limits/limit_min Date: November 2011 KernelVersion: 3.3 Contact: netdev@vger.kernel.org