Skip to contentSkip to conversation

checksum_offload/do_not_insert_checksum_on_the_transmit_packet: core dumped occurred when send packets

DPDK/testpmd Bug 1795 [email protected] 1 participant 1 message Sep 28, 2025

lore
Share & tools
lore

[email protected]

author Acked-by Morten Brørup Acked-by Andrew Rybchenko
#0 lore raw

http://bugs.dpdk.org/show_bug.cgi?id=1795

            Bug ID: 1795
           Summary: [dpdk-25.11-rc0]
                    checksum_offload/do_not_insert_checksum_on_the_transmi
                    t_packet: core dumped occurred when send packets
           Product: DPDK
           Version: unspecified
          Hardware: x86
                OS: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: testpmd
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Step:
=====
1. bind ports to DPDK
kenv hw.nic_uio.bdfs="75:0:0,75:0:1,75:0:2,75:0:3" kldload ./x86_64-native-bsdapp-gcc/kmod/nic_uio.ko 2. exit testpmd

2. Launch testpmd
x86_64-native-bsdapp-gcc/app/dpdk-testpmd -l 0,28 -n 4 -a 0000:4b:00.0 -a
0000:4b:00.1 -a 0000:4b:00.2 -a 0000:4b:00.3 -- -i --portmask=0x1
--enable-rx-cksum --port-topology=loop
set verbose 1
set fwd csum
csum mac-swap off 0
start

3. send packets
sendp([Ether(dst="52:00:00:00:00:01", src="52:00:00:00:00:00")/IP(src="10.0.0.1",chksum=0x0)/UDP(chksum=0xf)/("X"*46),Ether(dst="52:00:00:00:00:01", src="52:00:00:00:00:00")/IP(src="10.0.0.1",chksum=0x0)/TCP(chksum=0xf)/("X"*46),Ether(dst="52:00:00:00:00:01", src="52:00:00:00:00:00")/IPv6(src="::1")/UDP(chksum=0xf)/("X"*46),Ether(dst="52:00:00:00:00:01", src="52:00:00:00:00:00")/IPv6(src="::1")/TCP(chksum=0xf)/("X"*46)],iface="ens801f0",count=4)

Output:
=======
Segmentation fault (core dumped)

Bad commit:
===========
commit 066f3d9cc21ccaf15be29dddc63891c43aac06f4

Author: Sunil Kumar Kori <[email protected]>
Date:   Mon Aug 4 13:16:24 2025 +0530

ethdev: remove callback checks from fast path

rte_eth_fp_ops contains ops for fast path APIs. Each API validates availability of callback and then invoke it. These checks impact data path performance.

Hence removing these NULL checks instead using dummy callbacks.

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