From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/testpmd Bug 1753] [dpdk-25.07-rc3]nvgre/test_nvgre_ipv4_checksum_offload: checksum fail
Date: Tue, 15 Jul 2025 02:35:08 +0000 [thread overview]
Message-ID: <bug-1753-3@https.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 3214 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1753
Bug ID: 1753
Summary: [dpdk-25.07-rc3]nvgre/test_nvgre_ipv4_checksum_offload
: checksum fail
Product: DPDK
Version: 25.03
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: yex.chen@intel.com
Target Milestone: ---
Environment
===========
DPDK version: 9fe9c0b231c8da5435bfccb1963121b4277f961c version: dpdk25.07-rc3
OS: Fedora42/6.14.5-300.fc42.x86_64
Compiler: gcc version 15.1.1 20250425
Hardware platform: Intel(R) Xeon(R) Gold 6252N CPU @ 2.30GHz
NIC hardware: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev
01)
NIC firmware:
driver: vfio-pci
kdriver: i40e-2.28.7
firmware-version: 9.54 0x8000fb3f 1.3800.0
Test Setup
Steps to reproduce
==================
1.dut start testpmd
usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:31:00.0 0000:31:00.1
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 -a 0000:31:00.0 -a
0000:31:00.1 --file-prefix=dpdk_187982_20250711151456
--force-max-simd-bitwidth=64 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4
--portmask=0x3 --enable-rx-cksum
testpmd> vlan set filter off 0
testpmd> set verbose 1
testpmd> set fwd csum
testpmd> port stop all
testpmd> csum set ip hw 1
testpmd> csum set udp hw 1
testpmd> csum set tcp hw 1
testpmd> csum set sctp hw 1
testpmd> csum set outer-ip hw 1
testpmd> csum parse-tunnel on 1
testpmd> port start all
testpmd> start
2. start tester scapy_0 to save the capture packet
scapy
>>> p=sniff(iface="ens9f1",filter="ether[12:2]!=0x88cc",timeout=10)
3. start tester scapy_1 send pkt with error ip.checksum 0x1234
scapy
>>> p = Ether(dst='3c:fd:fe:c0:e1:d8', src='00:00:10:00:00:00')/IP(frag=0,
>>> src='192.168.1.1', dst='192.168.1.2')/GRE(key_present=1,
>>> key=0x100)/Ether(dst='90:e2:ba:4a:34:89', src='90:e2:ba:4a:34:88',
>>> type=0x0800)/IP(frag=0, chksum=0x1234, src='192.168.2.1',
>>> dst='192.168.2.2')/UDP(sport=1021,
>>> dport=1021)/Raw(load=b'XXXXXXXXXXXXXXXXXX')
>>> sendp(p, iface="ens9f0")
4. save the capture packet into pcap format in tester scapy_0
>>> wrpcap("/root/capture.pcap", p)
5. check ip.checksum in tester
tshark -r /root/capture.pcap -T fields -e ip.checksum
Results:
========
0x1234 is in output.
Expected Result:
================
0xf56a is in output.
bad commit:
===========
commit a738c43ffaee9ba5d8eccb0e881e7c816d3c6415
Author: Dengdui Huang <huangdengdui@huawei.com>
Date: Mon Jun 16 16:27:02 2025 +0800
app/testpmd: fix tunnel inner info
The l2_len field of tunnel packets already includes the tunnel_len field.
Additionally, the current offset used for the internal Ethernet header is
incorrect. This patch fixes these issues.
Fixes: 76730c7b9b5a ("app/testpmd: use packet type parsing API")
Cc: stable@dpdk.org
Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 5507 bytes --]
next reply other threads:[~2025-07-15 2:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-15 2:35 bugzilla [this message]
[not found] <bug-1753-3@http.bugs.dpdk.org/>
2026-01-20 5:19 ` [DPDK/testpmd Bug 1753] [dpdk-25.07-rc3]nvgre/test_nvgre_ipv4_checksum_offload: checksum fail bugzilla
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-1753-3@https.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.