diff options
author | Gal Pressman <galp@mellanox.com> | 2017-03-08 16:03:51 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2017-03-24 15:06:02 -0400 |
commit | adbaa18b9bc108da442e773f5c10941d609e5688 (patch) | |
tree | a7da40957bcc95f39ffc0e0c1107a2c78160864f /ethtool.8.in | |
parent | b932835d2302ccbb3e7c0cf708a9c3fd25868de6 (diff) | |
download | ethtool-adbaa18b9bc108da442e773f5c10941d609e5688.tar.gz |
ethtool: Support for configurable RSS hash function
This ethtool patch adds support to set and get the current RSS hash
function for the device through the new hfunc mask field in the
ethtool_rxfh struct. Kernel supported hash function names are queried
with ETHTOOL_GSTRINGS - each string is corresponding with a bit in hfunc
mask according to its index in the string-set.
Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'ethtool.8.in')
-rw-r--r-- | ethtool.8.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ethtool.8.in b/ethtool.8.in index 9fc22c8..636e7a3 100644 --- a/ethtool.8.in +++ b/ethtool.8.in @@ -301,6 +301,8 @@ ethtool \- query or control network driver and hardware settings .BI weight\ W0 .IR W1 .RB ...\ | \ default \ ] +.RB [ hfunc +.IR FUNC ] .HP .B ethtool \-f|\-\-flash .I devname file @@ -868,6 +870,10 @@ Sets RSS hash key of the specified network device. RSS hash key should be of dev Hash key format must be in xx:yy:zz:aa:bb:cc format meaning both the nibbles of a byte should be mentioned even if a nibble is zero. .TP +.BI hfunc +Sets RSS hash function of the specified network device. +List of RSS hash functions which kernel supports is shown as a part of the --show-rxfh command output. +.TP .BI equal\ N Sets the receive flow hash indirection table to spread flows evenly between the first \fIN\fR receive queues. |