[dpdk-dev] [PATCH] lib/librte_net: fix bug for checksum calculating

Thomas Monjalon thomas at monjalon.net
Sun May 24 17:12:27 CEST 2020


15/05/2020 15:08, guohongzhi:
> 1.rte_ipv4_cksum will return invalid checksum value like 0xffff.(rfc1624)
> 2.__rte_raw_cksum should consider Big Endian.
> 3.checksum 0x0000 is invalid for udp, but valid for tcp.(rfc768)

Please consider doing 3 patches, thanks.

It was sent late for 20.05, I prefer not taking any risk,
and wait for maintainers approval.
The patches must be reviewed and discussed in 20.08 timeframe.





More information about the dev mailing list