[dpdk-dev] [PATCH 4/4] net/ena: calculate partial checksum if DF bit is disabled

Jan Mędala jan.medala at outlook.com
Mon Apr 10 13:05:32 CEST 2017


I would recommend to check if packet type is IPv4 before processing IPv4 header for DF flag.
This patch can break logic and go to unknown state when mbuf will contain IPv6 packet. I believe that in case of IPv6 pkt the loop should be skipped to next mbuf, if exists.

Best regards,
Jan


More information about the dev mailing list