<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect"
href="https://bugs.dpdk.org/show_bug.cgi?id=1327">1327</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>23.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>testpmd
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>songx.jiale@intel.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">[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."
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1327">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>