Skip to contentSkip to conversation

Checksum function should require the whole packet to be on one segment

DPDK/doc Bug 1485 [email protected] 1 participant 1 message Jul 10, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1485

            Bug ID: 1485
           Summary: Checksum function should require the whole packet to
                    be on one segment
           Product: DPDK
           Version: 24.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: doc
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

The function rte_ipv4_udptcp_cksum (and probably also rte_ipv4_udptcp_cksum_verify ) does not work properly when the header is taken from a mbuf that consist of multiple segments.

I suggest editing the documentation to say e.g. "if the header is taken from a mbuf with e.g. rte_pktmbuf_mtod which potentially consist of multiple segments, use rte_ipv4_udptcp_cksum_mbuf instead."

Related:
https://inbox.dpdk.org/dev/[email protected]/T/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.