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.