OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Mar 2018 18:32:15 +0000 (14:32 -0400)
commit58f101bf87e32753342a6924772c6ebb0fbde24a
tree2b10c0caac6be96161356df12ada55582bd7fac8
parentf03dbb06dc380274e351ca4b1ee1587ed4529e62
qede: Do not drop rx-checksum invalidated packets.

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>
drivers/net/ethernet/qlogic/qede/qede_fp.c