All of lore.kernel.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <bug-1327-3@http.bugs.dpdk.org/> (raw)

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

             reply	other threads:[~2023-11-17  2:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17  2:35 bugzilla [this message]
2023-11-17  2:52 ` [Bug 1327] [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect lihuisong (C)
2024-01-26  1:31 ` [DPDK Bug " 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-1327-3@http.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.