|
|
b96ca7 |
From 2fb429c04c2da29701c250351bb8877f9d0e5ac2 Mon Sep 17 00:00:00 2001
|
|
|
b96ca7 |
From: Edward Cree <ecree@solarflare.com>
|
|
|
b96ca7 |
Date: Fri, 9 Mar 2018 15:04:21 +0000
|
|
|
b96ca7 |
Subject: [PATCH 17/18] ethtool.8: Document RSS context control and RSS filters
|
|
|
b96ca7 |
|
|
|
b96ca7 |
Signed-off-by: Edward Cree <ecree@solarflare.com>
|
|
|
b96ca7 |
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
|
b96ca7 |
(cherry picked from commit 172d6f10021dcce940d0354b266a9f4bbfde0b94)
|
|
|
b96ca7 |
---
|
|
|
b96ca7 |
ethtool.8.in | 28 ++++++++++++++++++++++++++++
|
|
|
b96ca7 |
1 file changed, 28 insertions(+)
|
|
|
b96ca7 |
|
|
|
b96ca7 |
diff --git a/ethtool.8.in b/ethtool.8.in
|
|
|
b96ca7 |
index 6816020..dd2e3f5 100644
|
|
|
b96ca7 |
--- a/ethtool.8.in
|
|
|
b96ca7 |
+++ b/ethtool.8.in
|
|
|
b96ca7 |
@@ -274,6 +274,7 @@ ethtool \- query or control network driver and hardware settings
|
|
|
b96ca7 |
.BM user\-def
|
|
|
b96ca7 |
.RB [ dst-mac \ \*(MA\ [ m \ \*(MA]]
|
|
|
b96ca7 |
.BN action
|
|
|
b96ca7 |
+.BN context
|
|
|
b96ca7 |
.BN loc
|
|
|
b96ca7 |
.RB |
|
|
|
b96ca7 |
.br
|
|
|
b96ca7 |
@@ -303,6 +304,10 @@ ethtool \- query or control network driver and hardware settings
|
|
|
b96ca7 |
.RB ...\ | \ default \ ]
|
|
|
b96ca7 |
.RB [ hfunc
|
|
|
b96ca7 |
.IR FUNC ]
|
|
|
b96ca7 |
+.RB [ context
|
|
|
b96ca7 |
+.I CTX
|
|
|
b96ca7 |
+.RB |\ new ]
|
|
|
b96ca7 |
+.RB [ delete ]
|
|
|
b96ca7 |
.HP
|
|
|
b96ca7 |
.B ethtool \-f|\-\-flash
|
|
|
b96ca7 |
.I devname file
|
|
|
b96ca7 |
@@ -832,6 +837,13 @@ lB l.
|
|
|
b96ca7 |
0 or higher Rx queue to route the flow
|
|
|
b96ca7 |
.TE
|
|
|
b96ca7 |
.TP
|
|
|
b96ca7 |
+.BI context \ N
|
|
|
b96ca7 |
+Specifies the RSS context to spread packets over multiple queues; either
|
|
|
b96ca7 |
+.B 0
|
|
|
b96ca7 |
+for the default RSS context, or a value returned by
|
|
|
b96ca7 |
+.BI ethtool\ -X\ ... \ context
|
|
|
b96ca7 |
+.BR new .
|
|
|
b96ca7 |
+.TP
|
|
|
b96ca7 |
.BI loc \ N
|
|
|
b96ca7 |
Specify the location/ID to insert the rule. This will overwrite
|
|
|
b96ca7 |
any rule present in that location and will not go through any
|
|
|
b96ca7 |
@@ -883,6 +895,22 @@ must be non-zero and must not exceed the size of the indirection table.
|
|
|
b96ca7 |
.TP
|
|
|
b96ca7 |
.BI default
|
|
|
b96ca7 |
Sets the receive flow hash indirection table to its default value.
|
|
|
b96ca7 |
+.TP
|
|
|
b96ca7 |
+\fBcontext \fICTX\fR | \fBnew\fR
|
|
|
b96ca7 |
+Specifies an RSS context to act on; either
|
|
|
b96ca7 |
+.B new
|
|
|
b96ca7 |
+to allocate a new RSS context, or
|
|
|
b96ca7 |
+.IR CTX ,
|
|
|
b96ca7 |
+a value returned by a previous
|
|
|
b96ca7 |
+.IB ... \ context
|
|
|
b96ca7 |
+.BR new .
|
|
|
b96ca7 |
+.TP
|
|
|
b96ca7 |
+.B delete
|
|
|
b96ca7 |
+Delete the specified RSS context. May only be used in conjunction with
|
|
|
b96ca7 |
+.B context
|
|
|
b96ca7 |
+and a non-zero
|
|
|
b96ca7 |
+.I CTX
|
|
|
b96ca7 |
+value.
|
|
|
b96ca7 |
.RE
|
|
|
b96ca7 |
.TP
|
|
|
b96ca7 |
.B \-f \-\-flash
|
|
|
b96ca7 |
--
|
|
|
b96ca7 |
1.8.3.1
|
|
|
b96ca7 |
|