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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:42:15 +0000 (16:42 +0100)
commit2c3b6d7c25cda181481e28294b678327fc0e8be9
tree2c3e805f564b401cc8f9c84cfb41e89e27a7dc42
parent8bb98ec409727fe3f3b5ec1dbe1a0361146886eb
net: ena: ethtool: use correct value for crc32 hash

[ Upstream commit 886d2089276e40d460731765083a741c5c762461 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amazon/ena/ena_ethtool.c