path: root/
diff options
authorSucheta Chakraborty <>2011-10-07 04:58:50 -0700
committerBen Hutchings <>2011-10-17 16:19:27 +0100
commitca910802b2ae25080560190028c1a8cb97b985e9 (patch)
tree4c22ef2e3da0d1391c96aa5d9bc52190330814a1 /
parent2a729964785fd25c64a6d5709ae9c7a8a925c968 (diff)
ethtool: add ETHTOOL_{G,S}CHANNEL support.
Used to configure number of tx/ rx/ other channels. Reqd. man page changes are included. Signed-off-by: Sucheta Chakraborty <> Signed-off-by: Ben Hutchings <>
Diffstat (limited to '')
1 files changed, 29 insertions, 0 deletions
diff --git a/ b/
index efc6098..f9d3633 100644
--- a/
+++ b/
@@ -307,6 +307,16 @@ ethtool \- query or control network driver and hardware settings
.BN action
.BN loc
.RB ]
+.B ethtool \-l|\-\-show\-channels
+.I ethX
+.B ethtool \-L|\-\-set\-channels
+.I ethX
+.BN rx
+.BN tx
+.BN other
+.BN combined
.\" Adjust lines (i.e. full justification) and hyphenate.
@@ -754,6 +764,25 @@ lB l.
Specify the location/ID to insert the rule. This will overwrite
any rule present in that location and will not go through any
of the rule ordering process.
+.B \-l \-\-show\-channels
+Queries the specified network device for the numbers of channels it has.
+A channel is an IRQ and the set of queues that can trigger that IRQ.
+.B \-L \-\-set\-channels
+Changes the numbers of channels of the specified network device.
+.BI rx \ N
+Changes the number of channels with only receive queues.
+.BI tx \ N
+Changes the number of channels with only transmit queues.
+.BI other \ N
+Changes the number of channels used only for other purposes e.g. link interrupts or SR-IOV co-ordination.
+.BI combined \ N
+Changes the number of multi-purpose channels.
Not supported (in part or whole) on all network drivers.