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 86A0F43341; Thu, 16 Nov 2023 09:52:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56338402D1; Thu, 16 Nov 2023 09:52:59 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 0D7344027D for ; Thu, 16 Nov 2023 09:52:58 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 043AA43342; Thu, 16 Nov 2023 09:52:58 +0100 (CET) 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 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: hailinx.xu@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=17001247770.02fB5ce.2172683 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 --17001247770.02fB5ce.2172683 Date: Thu, 16 Nov 2023 09:52:57 +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=3D1326 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:=20 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=3Ddpdk_99264_20231116054142 -= - -i --rxq=3D4 --txq=3D4 --port-topology=3Dloop 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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D testpmd> show port 0 tx_offload configuration Tx Offloading Configuration of port 0 : =C2=A0 Port : MBUF_FAST_FREE =C2=A0 Queue[ 0] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC= P_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 =C2=A0 Queue[ 1] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC= P_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 =C2=A0 Queue[ 2] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC= P_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 =C2=A0 Queue[ 3] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC= P_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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D testpmd> show port 0 tx_offload configuration Tx Offloading Configuration of port 0 : =C2=A0 Port : MBUF_FAST_FREE =C2=A0 Queue[ 0] : =C2=A0 Queue[ 1] : =C2=A0 Queue[ 2] : =C2=A0 Queue[ 3] : --=20 You are receiving this mail because: You are the assignee for the bug.= --17001247770.02fB5ce.2172683 Date: Thu, 16 Nov 2023 09:52:57 +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 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:=20
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=3Ddpdk_99264_20231116054142 -=
- -i
--rxq=3D4 --txq=3D4 --port-topology=3Dloop
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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
testpmd> show port 0 tx_offload configuration
Tx Offloading Configuration of port 0 :
=C2=A0 Port : MBUF_FAST_FREE
=C2=A0 Queue[ 0] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC=
P_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
=C2=A0 Queue[ 1] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC=
P_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
=C2=A0 Queue[ 2] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC=
P_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
=C2=A0 Queue[ 3] : VLAN_INSERT IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TC=
P_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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
testpmd> show port 0 tx_offload configuration
Tx Offloading Configuration of port 0 :
=C2=A0 Port : MBUF_FAST_FREE
=C2=A0 Queue[ 0] :
=C2=A0 Queue[ 1] :
=C2=A0 Queue[ 2] :
=C2=A0 Queue[ 3] :
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17001247770.02fB5ce.2172683--