net: add UDP/TCP checksum in mbuf segments
authorXiaoyun Li <xiaoyun.li@intel.com>
Mon, 24 Jan 2022 12:28:56 +0000 (20:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 4 Feb 2022 12:44:55 +0000 (13:44 +0100)
commitd178f693bbfe07506d6e3e23a3ce9c34ee554444
tree3ff835209d7941c5e4f8e11a1a35d73e6527ff21
parent8e83ba285abe4341b7666927d3fc265b35446c06
net: add UDP/TCP checksum in mbuf segments

Add functions to call rte_raw_cksum_mbuf() to calculate IPv4/6
UDP/TCP checksum in mbuf which can be over multi-segments.

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Aman Singh <aman.deep.singh@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Sunil Pai G <sunil.pai.g@intel.com>
doc/guides/rel_notes/release_22_03.rst
lib/net/rte_ip.h