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