qede: fix offload for IPIP tunnel packets
authorManish Chopra <manishc@marvell.com>
Mon, 21 Dec 2020 14:55:30 +0000 (06:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:18:10 +0000 (20:18 +0100)
commit087cfc73598abdabb2f28be876ee6403d9190e86
treeab5358322e7e74a7975d501a890f03f22da1e9df
parentc7d068a2d711ff48b40cac452afbc82cdc35ebb9
qede: fix offload for IPIP tunnel packets

[ Upstream commit 5d5647dad259bb416fd5d3d87012760386d97530 ]

IPIP tunnels packets are unknown to device,
hence these packets are incorrectly parsed and
caused the packet corruption, so disable offlods
for such packets at run time.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Sudarsana Kalluru <skalluru@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Link: https://lore.kernel.org/r/20201221145530.7771-1-manishc@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/qlogic/qede/qede_fp.c