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 71C5F4334B; Fri, 17 Nov 2023 03:35:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06D0B40271; Fri, 17 Nov 2023 03:35:54 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id B9AA14014F for ; Fri, 17 Nov 2023 03:35:52 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 80B964334C; Fri, 17 Nov 2023 03:35:52 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1327] [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect Date: Fri, 17 Nov 2023 02:35:52 +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: 23.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: songx.jiale@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=17001885520.031a44b42.2378805 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://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 --17001885520.031a44b42.2378805 Date: Fri, 17 Nov 2023 03:35:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1327 Bug ID: 1327 Summary: [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect Product: DPDK Version: 23.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: songx.jiale@intel.com Target Milestone: --- [Environment] DPDK version:=20 dpdk-23.11-rc3: 92d7ce4afc4a558f27bbc8368823c625f4e0f9dc Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS: Ubuntu 22.04.3 LTS/5.15.0-82-generic Compiler: gcc version 11.4.0 Hardware platform: Intel(R) Xeon(R) Gold 6140M CPU @ 2.30GHz NIC hardware:=20 Intel Corporation Ethernet Controller E810-C for SFP [8086:1593] (rev 02) NIC firmware:=20 driver: ice-1.13.0_rc99_4_gb8ad35697 firmware-version: 4.40 0x8001c2f8 1.3492.0 pkg: ice os default 1.3.36.0 [Test Setup] 1. Blind pf to vfio-pci ./usertools/dpdk-devbind.py -b vfio-pci 0000:05:00.0 0000:08:00.0 2. Launch testpmd x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:05:00.0 -a 0000:08:00.0 --file-prefix=3Ddpdk_302219_20231116020458 -- -i 3. Set tunnel tso=20 testpmd> set verbose 1 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 set outer-udp 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 4. Send vxlan packet sendp([Ether(dst=3D"40:a6:b7:7b:3f:00",src=3D"52:00:00:00:00:00")/IP(src=3D= "192.168.1.1",dst=3D"192.168.1.2")/UDP(sport=3D1021,dport=3D4789)/VXLAN()/E= ther(dst=3D"40:a6:b7:7b:3f:00",src=3D"52:00:00:00:00:00")/IP(src=3D"192.168= .1.1",dst=3D"192.168.1.2")/TCP(sport=3D1021,dport=3D1021)/("X"*801)], iface=3D"ens2f1") 5. show port status testpmd> show port stats all=20 [Show the output from the previous commands.] Vxlan package not segmented. ######################## NIC statistics for port 0 #####################= ### RX-packets: 1 RX-missed: 0 RX-bytes: 905 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### ######################## NIC statistics for port 1 #####################= ### RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0 TX-packets: 1 TX-errors: 0 TX-bytes: 905 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 #########################################################################= ###=20 [Expected Result] The vxlan packet is divided into 2 segments to TX. ######################## NIC statistics for port 0 #####################= ### RX-packets: 1 RX-missed: 0 RX-bytes: 905 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### ######################## NIC statistics for port 1 #####################= ### RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0 TX-packets: 2 TX-errors: 0 TX-bytes: 1009 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 80 #########################################################################= ###=20 [Regression] Is this issue a regression: (Y/N)Y 90052c6536a5bcdca120315(app/testpmd: fix UDP checksum for UFO): tunnel tso setting to not take effect. 33156a6bc61560e74a12(app/testpmd: add explicit check for tunnel TSO): Error reporting "Error: port=3D1 don't support tunnel TSO offloads." --=20 You are receiving this mail because: You are the assignee for the bug.= --17001885520.031a44b42.2378805 Date: Fri, 17 Nov 2023 03:35:52 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1327
Summary [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not tak= e effect
Product DPDK
Version 23.11
Hardware x86
OS Linux
Status UNCONFIRMED
Severity normal
Priority Normal
Component testpmd
Assignee dev@dpdk.org
Reporter songx.jiale@intel.com
Target Milestone ---

[Environment]
DPDK version:=20
dpdk-23.11-rc3: 92d7ce4afc4a558f27bbc8368823c625f4e0f9dc
Other software versions: name/version for QEMU, OVS, etc. Repeat as require=
d.
OS: Ubuntu 22.04.3 LTS/5.15.0-82-generic
Compiler: gcc version 11.4.0
Hardware platform: Intel(R) Xeon(R) Gold 6140M CPU @ 2.30GHz
NIC hardware:=20
Intel Corporation Ethernet Controller E810-C for SFP [8086:1593] (rev 02)
NIC firmware:=20
driver: ice-1.13.0_rc99_4_gb8ad35697
firmware-version: 4.40 0x8001c2f8 1.3492.0
pkg: ice os default 1.3.36.0

[Test Setup]
1. Blind pf to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 0000:05:00.0 0000:08:00.0
2. Launch testpmd
x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1-2 -n 4 -a 0000:05:00.0 -a
0000:08:00.0  --file-prefix=3Ddpdk_302219_20231116020458      -- -i
3. Set tunnel tso=20
testpmd> set verbose 1
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 set outer-udp 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
4. Send vxlan packet
sendp([Ether(dst=3D"40:a6:b7:7b:3f:00",src=3D"52:00:00:00:00=
:00")/IP(src=3D"192.168.1.1",dst=3D"192.168.1.2")/=
UDP(sport=3D1021,dport=3D4789)/VXLAN()/Ether(dst=3D"40:a6:b7:7b:3f:00&=
quot;,src=3D"52:00:00:00:00:00")/IP(src=3D"192.168.1.1"=
,dst=3D"192.168.1.2")/TCP(sport=3D1021,dport=3D1021)/("X&quo=
t;*801)],
iface=3D"ens2f1")
5. show port status
testpmd> show port stats all=20

[Show the output from the previous commands.]
Vxlan package not segmented.
  ######################## NIC statistics for port 0  #####################=
###
  RX-packets: 1          RX-missed: 0          RX-bytes:  905
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 0          TX-errors: 0          TX-bytes:  0
  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  #########################################################################=
###
  ######################## NIC statistics for port 1  #####################=
###
  RX-packets: 0          RX-missed: 0          RX-bytes:  0
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 1          TX-errors: 0          TX-bytes:  905
  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  #########################################################################=
###=20

[Expected Result]
The vxlan packet is divided into 2 segments to TX.
  ######################## NIC statistics for port 0  #####################=
###
  RX-packets: 1          RX-missed: 0          RX-bytes:  905
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 0          TX-errors: 0          TX-bytes:  0
  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  #########################################################################=
###
  ######################## NIC statistics for port 1  #####################=
###
  RX-packets: 0          RX-missed: 0          RX-bytes:  0
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 2          TX-errors: 0          TX-bytes:  1009
  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:           80
  #########################################################################=
###=20

[Regression]
Is this issue a regression: (Y/N)Y
90052c6536a5bcdca120315(app/testpmd: fix UDP checksum for UFO): tunnel tso
setting to not take effect.

33156a6bc61560e74a12(app/testpmd: add explicit check for tunnel TSO): Error
reporting "Error: port=3D1 don't support tunnel TSO offloads."
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17001885520.031a44b42.2378805--