net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets
authorAlaa Hleihel <alaa@mellanox.com>
Tue, 10 Jul 2018 10:34:06 +0000 (13:34 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 6 Sep 2018 04:14:57 +0000 (21:14 -0700)
commitfe1dc069990c1f290ef6b99adb46332c03258f38
tree605293dcabae07da6e1f3a513d3499b3b4af87d4
parentf007c13d4ad62f494c83897eda96437005df4a91
net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets

CHECKSUM_COMPLETE is not applicable to SCTP protocol.
Setting it for SCTP packets leads to CRC32c validation failure.

Fixes: bbceefce9adf ("net/mlx5e: Support RX CHECKSUM_COMPLETE")
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c