diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-09-23 22:48:52 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2010-11-16 19:10:26 +0000 |
commit | d621bc7430360db0d1873e6c5c5163687ef5100e (patch) | |
tree | 0c2060481f4c4a74ed7812940de1679ebf7980b2 /ethtool.8 | |
parent | 967cb3194d9803594e3ab4d7fa66634c33466e34 (diff) | |
download | ethtool-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.8 | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -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. |