qede: Do not drop rx-checksum invalidated packets.
authorManish Chopra <manish.chopra@cavium.com>
Wed, 28 Mar 2018 10:35:52 +0000 (03:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:21 +0000 (07:52 +0200)
commit235ca6a0330d0ac2dcad16f0d0e751a51ee40ccf
treed0a9671a3925828eafe41563a73f457783bdc1b2
parent78c986bf85b793980cce4eb6b048492bf0aa4f82
qede: Do not drop rx-checksum invalidated packets.

[ Upstream commit 58f101bf87e32753342a6924772c6ebb0fbde24a ]

Today, driver drops received packets which are indicated as
invalid checksum by the device. Instead of dropping such packets,
pass them to the stack with CHECKSUM_NONE indication in skb.

Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Manish Chopra <manish.chopra@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/qlogic/qede/qede_fp.c