[PATCH v5 0/2] Add functions to calculate UDP/TCP cksum in mbuf
Xiaoyun Li
xiaoyun.li at intel.com
Thu Jan 6 17:03:31 CET 2022
Added functions to calculate UDP/TCP checksum for packets which may be
over multi-segments and fix the checksum issue with testpmd csum
forwarding mode.
Xiaoyun Li (2):
net: add functions to calculate UDP/TCP cksum in mbuf
testpmd: fix l4 sw csum over multi segments
---
v5:
* Fixed commit log intendation issue.
* Removed added inline experimental APIs in version.map to fix windows
* linkage issue.
* Added Sunil's Tested-by tag and Aman's Acked-by tag.
v4:
* Called rte_raw_cksum_mbuf() to calculate cksum in lib instead of
* implementing it in testpmd for better maintenance.
* Removed fix tag for testpmd since it relies on the lib change.
v3:
* Use rte_raw_cksum() for multi-segs case instead of copying the whole
* packet.
v2:
* Use static stack memory instead of dynamic allocating in datapath
---
app/test-pmd/csumonly.c | 41 ++++--
doc/guides/rel_notes/release_22_03.rst | 11 ++
lib/net/rte_ip.h | 186 +++++++++++++++++++++++++
3 files changed, 223 insertions(+), 15 deletions(-)
--
2.25.1
More information about the dev
mailing list