lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240730012336.775912-1-yoong.siang.song@intel.com>
Date: Tue, 30 Jul 2024 09:23:36 +0800
From: Song Yoong Siang <yoong.siang.song@...el.com>
To: Tony Nguyen <anthony.l.nguyen@...el.com>,
	"David S . Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>,
	Richard Cochran <richardcochran@...il.com>,
	Alexei Starovoitov <ast@...nel.org>,
	Daniel Borkmann <daniel@...earbox.net>,
	Jesper Dangaard Brouer <hawk@...nel.org>,
	John Fastabend <john.fastabend@...il.com>,
	Vinicius Costa Gomes <vinicius.gomes@...el.com>,
	Jonathan Corbet <corbet@....net>,
	Przemek Kitszel <przemyslaw.kitszel@...el.com>,
	Shinas Rasheed <srasheed@...vell.com>,
	Kevin Tian <kevin.tian@...el.com>,
	Brett Creeley <brett.creeley@....com>,
	Blanco Alcaine Hector <hector.blanco.alcaine@...el.com>,
	Joshua Hay <joshua.a.hay@...el.com>,
	Sasha Neftin <sasha.neftin@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org,
	netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	bpf@...r.kernel.org,
	linux-doc@...r.kernel.org
Subject: [PATCH iwl-next,v1 3/3] igc: Add default Rx Queue into documentation

From: Blanco Alcaine Hector <hector.blanco.alcaine@...el.com>

Add description on default Rx Queue, including the get and set
method, into documentation.

Signed-off-by: Blanco Alcaine Hector <hector.blanco.alcaine@...el.com>
Signed-off-by: Song Yoong Siang <yoong.siang.song@...el.com>
---
 .../device_drivers/ethernet/intel/igc.rst     | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/Documentation/networking/device_drivers/ethernet/intel/igc.rst b/Documentation/networking/device_drivers/ethernet/intel/igc.rst
index 08b2cfacc7c0..bef396d9ec53 100644
--- a/Documentation/networking/device_drivers/ethernet/intel/igc.rst
+++ b/Documentation/networking/device_drivers/ethernet/intel/igc.rst
@@ -63,6 +63,27 @@ diagnostics, as well as displaying statistical information. The latest ethtool
 version is required for this functionality. Download it at:
 https://www.kernel.org/pub/software/network/ethtool/
 
+Default Rx queue selection
+--------------------------
+In Multiple Receive Queues modes, ingress traffic may be redirected to specific
+Rx queue based on different programmable filters.
+
+When none of the filters is matched, the incoming frame will be redirected to
+the "Default Rx queue", which is Rx Queue 0 by default.
+
+For configurations where Queue 0 pair is used for high priority traffic (like
+AF_XDP), this may not be desirable. To address this, the driver provides the
+option to modify the default Rx queue via sysfs.
+
+A sysfs attribute "default_rx_queue" is available under /sys/devices. E.g.:
+/sys/devices/pci0000:00/.../default_rx_queue
+
+To check the currently configured default Rx queue:
+cat /sys/devices/pci0000:00/.../default_rx_queue
+
+To set the default queue to a desired value, for example 3:
+echo 3 > /sys/devices/pci0000:00/.../default_rx_queue
+
 
 Support
 =======
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ