summaryrefslogtreecommitdiff
path: root/ethtool.8
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-09-23 22:48:52 +0100
committerBen Hutchings <bhutchings@solarflare.com>2010-11-16 19:10:26 +0000
commitd621bc7430360db0d1873e6c5c5163687ef5100e (patch)
tree0c2060481f4c4a74ed7812940de1679ebf7980b2 /ethtool.8
parent967cb3194d9803594e3ab4d7fa66634c33466e34 (diff)
downloadethtool-d621bc7430360db0d1873e6c5c5163687ef5100e.tar.gz
ethtool: Fix RX n-tuple masks and documentation
For fields with unspecified values, explicitly mask all bits. Do not allow specifying a mask without a value. Change usage information to clarify which parameters are optional or required. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ethtool.8')
-rw-r--r--ethtool.831
1 files changed, 15 insertions, 16 deletions
diff --git a/ethtool.8 b/ethtool.8
index 3ca403c..295caab 100644
--- a/ethtool.8
+++ b/ethtool.8
@@ -235,34 +235,33 @@ ethtool \- Display or change ethernet card settings
.B ethtool \-U|\-\-config\-ntuple
.I ethX
-.RB [ flow-type
-.RB tcp4|udp4|sctp4 ]
+.A3 flow-type tcp4 udp4 sctp4
.RB [ src-ip
-.IR addr ]
+.IR addr
.RB [ src-ip-mask
-.IR mask ]
+.IR mask ]]
.RB [ dst-ip
-.IR addr ]
+.IR addr
.RB [ dst-ip-mask
-.IR mask ]
+.IR mask ]]
.RB [ src-port
-.IR port ]
+.IR port
.RB [ src-port-mask
-.IR mask ]
+.IR mask ]]
.RB [ dst-port
-.IR port ]
+.IR port
.RB [ dst-port-mask
-.IR mask ]
+.IR mask ]]
.RB [ vlan
-.IR VLAN-tag ]
+.IR VLAN-tag
.RB [ vlan-mask
-.IR mask ]
+.IR mask ]]
.RB [ user-def
-.IR data ]
+.IR data
.RB [ user-def-mask
-.IR mask ]
-.RB [ action
-.IR queue\ or\ drop ]
+.IR mask ]]
+.RI action \ N
+
.SH DESCRIPTION
.BI ethtool
is used for querying settings of an ethernet device and changing them.