From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1326] rxtx_offload/txoffload_port: tx_offload switch is opposite to expected
Date: Thu, 16 Nov 2023 08:52:57 +0000 [thread overview]
Message-ID: <bug-1326-3@http.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 3387 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1326
Bug ID: 1326
Summary: rxtx_offload/txoffload_port: tx_offload switch is
opposite to expected
Product: DPDK
Version: 23.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: hailinx.xu@intel.com
Target Milestone: ---
[Environment]
*************
DPDK Version: dpdk-23.11-rc3: 92d7ce4afc4a558f27bbc8368823c625f4e0f9dc
OS: Ubuntu RHEL 9.2/5.14.0-284.11.1.el9_2.x86_64
Compiler: gcc version 11.3.1
Hardware platform: Intel(R) Xeon(R) Gold 6140M CPU @ 2.30GHz
NIC hardware:
Intel Corporation Ethernet Connection X722 for 10GBASE-T 37d2
NIC firmware:
driver: i40e-2.23.17
firmware-version: 6.20 0x80003d3e 1.2935.0
[Test step]
***********
1. blind port to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 0000:3d:00.0 0000:3d:00.1
2. launch dpdk-test ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-4 -n 4
-a 0000:3d:00.0 -a 0000:3d:00.1 --file-prefix=dpdk_99264_20231116054142 -- -i
--rxq=4 --txq=4 --port-topology=loop
testpmd> port stop 0
4. enable tx_offload
testpmd> port config 0 tx_offload all on
5. disbale tx_offload
testpmd> port config 0 tx_offload all off
Show the output from the previous commands.
[Show the output from the previous commands]
********************************************
ebable tx_offload:
==================
testpmd> show port 0 tx_offload configuration
Tx Offloading Configuration of port 0 :
Port : MBUF_FAST_FREE
Queue[ 0] : MBUF_FAST_FREE
Queue[ 1] : MBUF_FAST_FREE
Queue[ 2] : MBUF_FAST_FREE
Queue[ 3] : MBUF_FAST_FREE
ebable tx_offload:
==================
testpmd> show port 0 tx_offload configuration
Tx Offloading Configuration of port 0 :
Port : MBUF_FAST_FREE
Queue[ 0] : MBUF_FAST_FREE
Queue[ 1] : MBUF_FAST_FREE
Queue[ 2] : MBUF_FAST_FREE
Queue[ 3] : MBUF_FAST_FREE
[Expected Result]
*****************
enable tx_offload:
==================
testpmd> show port 0 tx_offload configuration
Tx Offloading Configuration of port 0 :
Port : MBUF_FAST_FREE
Queue[ 0] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TCP_TSO
OUTER_IPV4_CKSUM QINQ_INSERT VXLAN_TNL_TSO GRE_TNL_TSO IPIP_TNL_TSO
GENEVE_TNL_TSO MULTI_SEGS MBUF_FAST_FREE OUTER_UDP_CKSUM
Queue[ 1] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TCP_TSO
OUTER_IPV4_CKSUM QINQ_INSERT VXLAN_TNL_TSO GRE_TNL_TSO IPIP_TNL_TSO
GENEVE_TNL_TSO MULTI_SEGS MBUF_FAST_FREE OUTER_UDP_CKSUM
Queue[ 2] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TCP_TSO
OUTER_IPV4_CKSUM QINQ_INSERT VXLAN_TNL_TSO GRE_TNL_TSO IPIP_TNL_TSO
GENEVE_TNL_TSO MULTI_SEGS MBUF_FAST_FREE OUTER_UDP_CKSUM
Queue[ 3] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TCP_TSO
OUTER_IPV4_CKSUM QINQ_INSERT VXLAN_TNL_TSO GRE_TNL_TSO IPIP_TNL_TSO
GENEVE_TNL_TSO MULTI_SEGS MBUF_FAST_FREE OUTER_UDP_CKSUM
disable tx_offload:
===================
testpmd> show port 0 tx_offload configuration
Tx Offloading Configuration of port 0 :
Port : MBUF_FAST_FREE
Queue[ 0] :
Queue[ 1] :
Queue[ 2] :
Queue[ 3] :
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 5289 bytes --]
next reply other threads:[~2023-11-16 8:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-16 8:52 bugzilla [this message]
2023-11-28 16:25 ` 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-1326-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 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).