[PATCH v6 0/2] Add functions to calculate UDP/TCP cksum in mbuf
Xiaoyun Li
xiaoyun.li at intel.com
Mon Jan 24 13:28:55 CET 2022
Added functions to calculate UDP/TCP checksum for packets which may be
over multi-segments and called the functions in testpmd csum forwarding
mode to support UDP/TCP sotfware checksum over multi-segments.
Xiaoyun Li (2):
net: add functions to calculate UDP/TCP cksum in mbuf
app/testpmd: enable L4 SW csum over multi segments
---
v6:
* Fixed testpmd patch name issue.
* Added release note for enabling L4 SW checksum in testpmd.
* Added Ferruh's Acked-by tag.
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 | 13 ++
lib/net/rte_ip.h | 186 +++++++++++++++++++++++++
3 files changed, 225 insertions(+), 15 deletions(-)
--
2.25.1
More information about the dev
mailing list