]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: ethtool: use correct value for crc32 hash
authorSameeh Jubran <sameehj@amazon.com>
Tue, 11 Feb 2020 15:17:50 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2020 01:08:31 +0000 (17:08 -0800)
commita7ad6718fa2ab380d504bc8ed53395d3e6cf2ce0
tree34c77fdf0610cf5f4856c8cc5b7bf1010dcb4f9d
parent319656fd882e6e37a904bd91218e130dd73dbbf5
net: ena: ethtool: use correct value for crc32 hash

Up till kernel 4.11 there was no enum defined for crc32 hash in ethtool,
thus the xor enum was used for supporting crc32.

Fixes: e59074db59c6 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_ethtool.c