diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-03-08 08:57:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-09 16:39:58 -0800 |
commit | abb521e36b9286c262971974ebaeda2d67dadd86 (patch) | |
tree | 78a151feea37ae0162b25dfe96f28f140d7c14b1 /net/core/ethtool.c | |
parent | 581319c58600b54612c417aff32ae9bbd79f4cdb (diff) | |
download | op-kernel-dev-abb521e36b9286c262971974ebaeda2d67dadd86.zip op-kernel-dev-abb521e36b9286c262971974ebaeda2d67dadd86.tar.gz |
ethtool: add CRC32 as an RSS hash function
CRC32 engines are usually easily available in hardware and generate
OK spread for RSS hash. Add CRC32 RSS hash function to ethtool API.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
-rw-r--r-- | net/core/ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index aecb2c7..905a88a 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -109,6 +109,7 @@ static const char rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN] = { [ETH_RSS_HASH_TOP_BIT] = "toeplitz", [ETH_RSS_HASH_XOR_BIT] = "xor", + [ETH_RSS_HASH_CRC32_BIT] = "crc32", }; static const char |