]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: Add support for handling IP fragmented packets.
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 30 Jun 2016 06:35:18 +0000 (02:35 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 10 Aug 2016 21:04:40 +0000 (14:04 -0700)
commitf0cef433ade61b9cdd0ae181e7220505a59008b1
tree1c567d84baa16b00e520374a3df9637d33604b18
parent45c54adfa0d852fd6c52b9a2eab65d74c2f3ab4c
qede: Add support for handling IP fragmented packets.

When handling IP fragmented packets with csum in their
transport header, the csum isn't changed as part of the
fragmentation. As a result, the packet containing the
transport headers would have the correct csum of the original
packet, but one that mismatches the actual packet that
passes on the wire. As a result, on receive path HW would
give an indication that the packet has incorrect csum,
which would cause qede to discard the incoming packet.

Since HW also delivers a notification of IP fragments,
change driver behavior to pass such incoming packets
to stack and let it make the decision whether it needs
to be dropped.

Signed-off-by: Manish <manish.chopra@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 24361996
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/qlogic/qede/qede.h
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
drivers/net/ethernet/qlogic/qede/qede_main.c