OSDN Git Service

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)
commit886d2089276e40d460731765083a741c5c762461
tree34c77fdf0610cf5f4856c8cc5b7bf1010dcb4f9d
parent470793a78ce344bd53d31e0c2d537f71ba957547
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: 1738cd3ed342 ("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