DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/testpmd Bug 1795] [dpdk-25.11-rc0] checksum_offload/do_not_insert_checksum_on_the_transmit_packet: core dumped occurred when send packets
Date: Sun, 28 Sep 2025 07:27:11 +0000	[thread overview]
Message-ID: <bug-1795-3@http.bugs.dpdk.org/> (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: dev@dpdk.org
          Reporter: hailinx.xu@intel.com
  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 <skori@marvell.com>
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.

    Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
    Acked-by: Morten Brørup <mb@smartsharesystems.com>
    Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2025-09-28  7:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-1795-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).