DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1327] [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect
@ 2023-11-17  2:35 bugzilla
  2023-11-17  2:52 ` lihuisong (C)
  2024-01-26  1:31 ` [DPDK Bug " bugzilla
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla @ 2023-11-17  2:35 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 4465 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1327

            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: 
dpdk-23.11-rc3: 92d7ce4afc4a558f27bbc8368823c625f4e0f9dc
Other software versions: name/version for QEMU, OVS, etc. Repeat as required.
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: 
Intel Corporation Ethernet Controller E810-C for SFP [8086:1593] (rev 02)
NIC firmware: 
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=dpdk_302219_20231116020458      -- -i
3. Set tunnel tso 
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="40:a6:b7:7b:3f:00",src="52:00:00:00:00:00")/IP(src="192.168.1.1",dst="192.168.1.2")/UDP(sport=1021,dport=4789)/VXLAN()/Ether(dst="40:a6:b7:7b:3f:00",src="52:00:00:00:00:00")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*801)],
iface="ens2f1")
5. show port status
testpmd> show port stats all 

[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
  ############################################################################ 

[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
  ############################################################################ 

[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=1 don't support tunnel TSO offloads."

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

[-- Attachment #2: Type: text/html, Size: 6503 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-26  1:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-17  2:35 [Bug 1327] [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect bugzilla
2023-11-17  2:52 ` lihuisong (C)
2024-01-26  1:31 ` [DPDK Bug " bugzilla

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).