From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D92F746B77; Tue, 15 Jul 2025 05:05:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A24F4021E; Tue, 15 Jul 2025 05:05:20 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 815894013F for ; Tue, 15 Jul 2025 05:05:18 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 5CBE046B78; Tue, 15 Jul 2025 05:05:18 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/testpmd Bug 1754] [dpdk-25.07-rc3]tso/test_tso_tunneling: Nvgre RX or TX packet number not correct Date: Tue, 15 Jul 2025 03:05:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: 25.03 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yex.chen@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: multipart/alternative; boundary=17525487180.A37EE70.3184190 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --17525487180.A37EE70.3184190 Date: Tue, 15 Jul 2025 05:05:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1754 Bug ID: 1754 Summary: [dpdk-25.07-rc3]tso/test_tso_tunneling: Nvgre RX or TX packet number not correct 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D DPDK version: 9fe9c0b231c8da5435bfccb1963121b4277f961c version: dpdk25.07-r= c3 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:=20 driver: vfio-pci kdriver: i40e-2.28.7 firmware-version: 9.54 0x8000fb3f 1.3800.0 Test Setup Steps to reproduce =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1. dut start testpmd usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:31:00.0 0000:31:00= .1 x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:31:00.0 -a 0000:31:00.1 --file-prefix=3Ddpdk_268618_20250714132702=20=20=20=20 --force-max-simd-bitwidth=3D64 -- -i --rxd=3D512 --txd=3D512 --burst=3D32 --rxfreet=3D64 --mbcache=3D128 --portmask=3D0x3 --max-pkt-len=3D9000 --txpt= =3D36 --txht=3D0 --txwt=3D0 --txfreet=3D32 --txrst=3D32 testpmd> set verbose 1 testpmd> port stop all testpmd> csum set ip hw 0 testpmd> csum set udp hw 0 testpmd> csum set tcp hw 0 testpmd> csum set sctp hw 0 testpmd> csum set outer-ip hw 0 testpmd> csum parse-tunnel on 0 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> tunnel_tso set 800 1 testpmd> rx_vxlan_port add 4789 0 testpmd> set fwd csum testpmd> port start all testpmd> set promisc all off testpmd> start 2. start tester tcpdump to save the capture packet tcpdump -w /tmp/tcpdump_ens9f1.pcap -i ens9f1 2>tcpdump_ens9f1.out &=20 3. start tester scapy send pkt scapy >>> >>> sendp([Ether(dst=3D"3c:fd:fe:c0:e1:d8",src=3D"52:00:00:00:00:00")/IP(sr= c=3D"192.168.1.1",dst=3D"192.168.1.2",proto=3D47)/GRE(key_present=3D1,proto= =3D0x6558,key=3D0x00001000)/Ether(dst=3D"3c:fd:fe:c0:e1:d8",src=3D"52:00:00= :00:00:00")/IP(src=3D"192.168.1.1",dst=3D"192.168.1.2")/TCP(sport=3D1021,dp= ort=3D1021)/("X"*128)], >>> iface=3D"ens9f0") 4. kill tester tcpdump killall tcpdump 5. tester check packet number tcpdump -vv -r /tmp/tcpdump_ens9f1.pcap 2>/dev/null | grep "seq" | grep "length" Results:=20 =3D=3D=3D=3D=3D=3D=3D=3D length 10708 Expected Result: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D length 128 bad commit: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D commit: a5854045c38865c44459446565dc749aa29dffba Author: Dengdui Huang Date: Mon Jun 16 16:27:01 2025 +0800 net: add tunnel length in UDP tunnel parsing Currently, the tunnel length info is not available when get the tunnel packet type with UDP port. This patch adds the parsing of the tunnel length info. Additionally, adding comments for the inner_l2_len field and the tunnel_len field would help in understanding their. Fixes: 64ed7f854cf4 ("net: add tunnel packet type parsing") Cc: stable@dpdk.org Signed-off-by: Dengdui Huang --=20 You are receiving this mail because: You are the assignee for the bug.= --17525487180.A37EE70.3184190 Date: Tue, 15 Jul 2025 05:05:18 +0200 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1754
Summary [dpdk-25.07-rc3]tso/test_tso_tunneling: Nvgre RX or TX packet= number not correct
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DPDK version: 9fe9c0b231c8da5435bfccb1963121b4277f961c version: dpdk25.07-r=
c3
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:=20
  driver: vfio-pci
  kdriver: i40e-2.28.7
  firmware-version: 9.54 0x8000fb3f 1.3800.0

Test Setup
Steps to reproduce
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1. dut start testpmd
usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:31:00.0 0000:31:00=
.1
x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1-2 -n 4 -a 0000:31:00.0 -a
0000:31:00.1  --file-prefix=3Ddpdk_268618_20250714132702=20=20=20=20
--force-max-simd-bitwidth=3D64   -- -i --rxd=3D512 --txd=3D512 --burst=3D32
--rxfreet=3D64 --mbcache=3D128 --portmask=3D0x3 --max-pkt-len=3D9000 --txpt=
=3D36 --txht=3D0
--txwt=3D0 --txfreet=3D32 --txrst=3D32

testpmd> set verbose 1
testpmd> port stop all
testpmd> csum set ip hw 0
testpmd> csum set udp hw 0
testpmd> csum set tcp hw 0
testpmd> csum set sctp hw 0
testpmd> csum set outer-ip hw 0
testpmd> csum parse-tunnel on 0
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> tunnel_tso set 800 1
testpmd> rx_vxlan_port add 4789 0
testpmd> set fwd csum
testpmd> port start all
testpmd> set promisc all off
testpmd> start

2. start tester tcpdump to save the capture packet
tcpdump -w /tmp/tcpdump_ens9f1.pcap -i ens9f1 2>tcpdump_ens9f1.out &=
=20

3. start tester scapy send pkt
scapy
>>>
>>> sendp([Ether(dst=3D"3c:fd:fe:c0:e1:d8",src=3D"5=
2:00:00:00:00:00")/IP(src=3D"192.168.1.1",dst=3D"192.16=
8.1.2",proto=3D47)/GRE(key_present=3D1,proto=3D0x6558,key=3D0x00001000=
)/Ether(dst=3D"3c:fd:fe:c0:e1:d8",src=3D"52:00:00:00:00:00&q=
uot;)/IP(src=3D"192.168.1.1",dst=3D"192.168.1.2")/TCP(s=
port=3D1021,dport=3D1021)/("X"*128)],
>>> iface=3D"ens9f0")

4. kill tester tcpdump
killall tcpdump

5. tester check packet number
tcpdump  -vv -r /tmp/tcpdump_ens9f1.pcap 2>/dev/null | grep "seq&qu=
ot;  | grep
"length"

Results:=20
=3D=3D=3D=3D=3D=3D=3D=3D
length 10708

Expected Result:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
length 128

bad commit:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
commit: a5854045c38865c44459446565dc749aa29dffba

Author: Dengdui Huang <hu=
angdengdui@huawei.com>
Date:   Mon Jun 16 16:27:01 2025 +0800



    net: add tunnel length in UDP tunnel parsing

    Currently, the tunnel length info is not available when
    get the tunnel packet type with UDP port. This patch
    adds the parsing of the tunnel length info.

    Additionally, adding comments for the inner_l2_len field
    and the tunnel_len field would help in understanding their.

    Fixes: 64ed7f854cf4 ("net: add tunnel packet type parsing")
    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.
=20=20=20=20=20=20=20=20=20=20
= --17525487180.A37EE70.3184190--