[dpdk-dev] [PATCH] net: fix checksum on big endian CPUs

2020-07-10 Thread Hongzhi Guo
change is similar to what is suggested in Errata 3133 of RFC 1071. Fixes: 6006818cfb26("net: new checksum functions") Cc: sta...@dpdk.org Signed-off-by: Hongzhi Guo --- v2: * Explain the logic in the commit log * Fixed commit title --- --- lib/librte_net/rte_ip.h | 7 +-- 1 file

[dpdk-dev] [PATCH] net: fix unneeded replacement of 0 by ffff for TCP checksum

2020-07-09 Thread Hongzhi Guo
;) Cc: sta...@dpdk.org Signed-off-by: Hongzhi Guo --- v2: * Fixed commit tile * Fixed the API comment --- --- lib/librte_net/rte_ip.h | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/librte_net/rte_ip.h b/lib/librte_net/rte_ip.h index 292f63fd7..d03c77