Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1565462rdb; Wed, 31 Jan 2024 02:32:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJmrRoJs/9qscBDJksnvKUYurvaXeJrdSgbgp6mWbL6esBYEH8EM8tCgX0gb1f+6RoeLwK X-Received: by 2002:a05:6a20:2d06:b0:19e:365f:bd2b with SMTP id g6-20020a056a202d0600b0019e365fbd2bmr819285pzl.25.1706697137133; Wed, 31 Jan 2024 02:32:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706697137; cv=pass; d=google.com; s=arc-20160816; b=PXockconqr05ClKzWkZrcm6ZkoU6Z473tZa1vfyQKZStoV/PsngJ4OafunL6Qkscja 4TlRaFoSHFMDdY6oN0luLybNhTPH+xzxiRfq9wz4+FfewGVRi26PzFJAUAVeNveretgI bzNUXVahsFntCyMqHJS3D4KyBRSTiIvFh6d61hasQcwjEXJSw7EHi6w+wXP/m4z6bv7c U7/Ak3WvdurGygpvhHVb3bPWcrLZlwA6vQtZqNS1cfoYvrI2bnq0s1KYQFXoJzyy1wJM 1O9eS+TAkUaWl8sgn3S2Z8jW7wkml9fAATOVQLc4pY12lWci0ahZc0oEFUb7QZ4J8JbK TZZQ== 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=Rr100ybKBL+bbMWKLMuCbej5vjk92lcOiYvazMpVELE=; b=iA2YAweSR42ZLE1COvwoGgRJLkcy4cHJ0zexhPmZtAPghr3o4XGSHIreYuDRe4jvt7 ji1TQiRQ18a53YIBp5dqA6UnoS0yiIqIWHR7yt8MuwvQpvaG3EqaO6474aHuUA7heXiM 62KeMqWWfr2ftGJ011Jh3e1Dc3Pc9IUYWypkw05MEGQnVlsPTvAHcFlb+AJy9/UP77Bh 55NLDOMfS7gqtPOAIDHglB7GRO2C2m74PlCqSpc85UpQwkA0kQEHkSiOEPNWq9BlUJnd 152xR9jTCYxjS3IXnOgONk0gQ6TqS7ek/Zgai6K7UJUJtCXTU7UbVwAnxxptHSI28Tu+ Mt7Q==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46223-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVq9IRNnCsb09NUx7+Ql2wf4dPKuxRocQSXE4/whpRsiQbR+PNbD9x3GZD32ryCwS0fbndca7kr+gLuiWlEXH2axRszzyhTM+ufRLbZnA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d14-20020a170902728e00b001d93edde4e6si720pll.221.2024.01.31.02.32.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:32:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46223-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46223-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46223-linux.lists.archive=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 EDCBC2959A8 for ; Wed, 31 Jan 2024 10:26:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADBF080C1C; Wed, 31 Jan 2024 10:22:06 +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 Content-Transfer-Encoding: 8bit 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 --- .../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 -- 2.34.1