• Manish Chopra's avatar
    qede: Add support for handling IP fragmented packets. · c72a6125
    Manish Chopra authored
    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: default avatarManish <manish.chopra@qlogic.com>
    Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c72a6125
qede_ethtool.c 34.1 KB