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 E22EA46D09; Tue, 12 Aug 2025 10:15:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CBB894026A; Tue, 12 Aug 2025 10:15:16 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id D319540264 for ; Tue, 12 Aug 2025 10:15:15 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 9E46346D0A; Tue, 12 Aug 2025 10:15:15 +0200 (CEST) From: bugzilla@dpdk.org To: dts@dpdk.org Subject: [DTS/tests Bug 1769] Update for mbuf fast release TX offload not enabled by default in testpmd Date: Tue, 12 Aug 2025 08:15:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DTS X-Bugzilla-Component: tests X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mb@smartsharesystems.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dts@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=17549865150.FAf4521E6.3590019 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org --17549865150.FAf4521E6.3590019 Date: Tue, 12 Aug 2025 10:15:15 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1769 Bug ID: 1769 Summary: Update for mbuf fast release TX offload not enabled by default in testpmd Product: DTS Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: tests Assignee: dts@dpdk.org Reporter: mb@smartsharesystems.com Target Milestone: --- The patch "[v3,3/3] ethdev: Reject conflicting TX offloads configuration" [= 1] applied to next-net is causing CI failures. Specifically, the test_txoffload_queue test case in the rxtx_offload_test_p= lan test plan fails. The patch 3/3 depends on "[v3,1/3] testpmd: Do not enable mbuf fast release= TX offload by default" [2], which has not yet been applied to next-net, and a modification of the test plan related to this patch 1/3. The required modifications to the "rxtx_offload_test_plan.rst" test plan are described below. ## Are notes describing the modification, and should be omitted. [1]: https://patchwork.dpdk.org/project/dpdk/patch/20250803194218.683318-3-mb@sm= artsharesystems.com/ [2]: https://patchwork.dpdk.org/project/dpdk/patch/20250803194218.683318-1-mb@sm= artsharesystems.com/ Test case: Intel=C2=AE Ethernet 700 Series Tx offload per-queue setting =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1. Start testpmd and get the tx_offload capability and configuration:: .//app/dpdk-testpmd -c f -n 4 -- -i --rxq=3D4 --txq=3D4 testpmd> show port 0 tx_offload capabilities Tx Offloading Capabilities of port 0 : Per Queue : MBUF_FAST_FREE ## MBUF_FAST_FREE is also supported per port (unrelated change) - Per Port : 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 + Per Port : 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 testpmd> show port 0 tx_offload configuration Tx Offloading Configuration of port 0 : ## The updated testpmd does not enable MBUF_FAST_FREE per default - Port : MBUF_FAST_FREE + Port : Queue[ 0] : Queue[ 1] : Queue[ 2] : Queue[ 3] : ## This is now the default state, so this test item has been moved to the e= nd. -2. Disable mbuf_fast_free per_port:: - - testpmd> port stop 0 - testpmd> port config 0 tx_offload mbuf_fast_free off - testpmd> port start 0 - testpmd> show port 0 tx_offload configuration - Tx Offloading Configuration of port 0 : - Port : - Queue[ 0] : - Queue[ 1] : - Queue[ 2] : - Queue[ 3] : - ## Renumbered. -3. Enable mbuf_fast_free per_queue:: +2. Enable mbuf_fast_free per_queue:: ## With the above test item moved, the port has not yet been started. No ne= ed to stop it. - testpmd> port stop 0 testpmd> port 0 txq 0 tx_offload mbuf_fast_free on testpmd> port 0 txq 1 tx_offload mbuf_fast_free on testpmd> port 0 txq 2 tx_offload mbuf_fast_free on testpmd> port 0 txq 3 tx_offload mbuf_fast_free on testpmd> port start 0 testpmd> show port 0 tx_offload configuration Tx Offloading Configuration of port 0 : Port : Queue[ 0] : MBUF_FAST_FREE Queue[ 1] : MBUF_FAST_FREE Queue[ 2] : MBUF_FAST_FREE Queue[ 3] : MBUF_FAST_FREE testpmd> start The port fwd can be started normally. ## Renumbered. -4. Disable mbuf_fast_free per_queue:: +3. Disable mbuf_fast_free per_queue:: testpmd> port stop 0 testpmd> port 0 txq 0 tx_offload mbuf_fast_free off testpmd> port 0 txq 1 tx_offload mbuf_fast_free off testpmd> port 0 txq 2 tx_offload mbuf_fast_free off testpmd> port 0 txq 3 tx_offload mbuf_fast_free off testpmd> port start 0 testpmd> show port 0 tx_offload configuration Tx Offloading Configuration of port 0 : Port : Queue[ 0] : Queue[ 1] : Queue[ 2] : Queue[ 3] : ## Renumbered. -5. Enable mbuf_fast_free per_port:: +4. Enable mbuf_fast_free per_port:: testpmd> port stop 0 testpmd> port config 0 tx_offload mbuf_fast_free on testpmd> port start 0 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 testpmd> start The port fwd can be started normally. ## Test item moved from above to here, and renumbered. +5. Disable mbuf_fast_free per_port:: + + testpmd> port stop 0 + testpmd> port config 0 tx_offload mbuf_fast_free off + testpmd> port start 0 + testpmd> show port 0 tx_offload configuration + Tx Offloading Configuration of port 0 : + Port : + Queue[ 0] : + Queue[ 1] : + Queue[ 2] : + Queue[ 3] : + Note 1: there is no tx_offload per_queue parameter in ixgbe driver, so this case is just only for i40e. --=20 You are receiving this mail because: You are the assignee for the bug.= --17549865150.FAf4521E6.3590019 Date: Tue, 12 Aug 2025 10:15:15 +0200 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1769
Summary Update for mbuf fast release TX offload not enabled by defaul= t in testpmd
Product DTS
Version unspecified
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component tests
Assignee dts@dpdk.org
Reporter mb@smartsharesystems.com
Target Milestone ---

The patch "[v3,3/3] ethdev: R=
eject conflicting TX offloads configuration" [1]
applied to next-net is causing CI failures.
Specifically, the test_txoffload_queue test case in the rxtx_offload_test_p=
lan
test plan fails.

The patch 3/3 depends on "[v3,1/3] testpmd: Do not enable mbuf fast re=
lease TX
offload by default" [2], which has not yet been applied to next-net, a=
nd a
modification of the test plan related to this patch 1/3.

The required modifications to the "rxtx_offload_test_plan.rst" te=
st plan are
described below.

## Are notes describing the modification, and should be omitted.

[1]:
https://patchwork.dpdk.org/project/dpd=
k/patch/20250803194218.683318-3-mb@smartsharesystems.com/
[2]:
https://patchwork.dpdk.org/project/dpd=
k/patch/20250803194218.683318-1-mb@smartsharesystems.com/


Test case: Intel=C2=AE Ethernet 700 Series Tx offload per-queue setting
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

1. Start testpmd and get the tx_offload capability and configuration::

    ./<build_target>/app/dpdk-testpmd -c f -n 4 -- -i --rxq=3D4 --txq=
=3D4
    testpmd> show port 0 tx_offload capabilities
    Tx Offloading Capabilities of port 0 :
      Per Queue : MBUF_FAST_FREE
## MBUF_FAST_FREE is also supported per port (unrelated change)
-      Per Port  : 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
+      Per Port  : 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
    testpmd> show port 0 tx_offload configuration
    Tx Offloading Configuration of port 0 :
## The updated testpmd does not enable MBUF_FAST_FREE per default
-      Port : MBUF_FAST_FREE
+      Port :
      Queue[ 0] :
      Queue[ 1] :
      Queue[ 2] :
      Queue[ 3] :

## This is now the default state, so this test item has been moved to the e=
nd.
-2. Disable mbuf_fast_free per_port::
-
-    testpmd> port stop 0
-    testpmd> port config 0 tx_offload mbuf_fast_free off
-    testpmd> port start 0
-    testpmd> show port 0 tx_offload configuration
-    Tx Offloading Configuration of port 0 :
-      Port :
-      Queue[ 0] :
-      Queue[ 1] :
-      Queue[ 2] :
-      Queue[ 3] :
-
## Renumbered.
-3. Enable mbuf_fast_free per_queue::
+2. Enable mbuf_fast_free per_queue::

## With the above test item moved, the port has not yet been started. No ne=
ed
to stop it.
-    testpmd> port stop 0
    testpmd> port 0 txq 0 tx_offload mbuf_fast_free on
    testpmd> port 0 txq 1 tx_offload mbuf_fast_free on
    testpmd> port 0 txq 2 tx_offload mbuf_fast_free on
    testpmd> port 0 txq 3 tx_offload mbuf_fast_free on
    testpmd> port start 0
    testpmd> show port 0 tx_offload configuration
    Tx Offloading Configuration of port 0 :
      Port :
      Queue[ 0] : MBUF_FAST_FREE
      Queue[ 1] : MBUF_FAST_FREE
      Queue[ 2] : MBUF_FAST_FREE
      Queue[ 3] : MBUF_FAST_FREE
    testpmd> start

   The port fwd can be started normally.

## Renumbered.
-4. Disable mbuf_fast_free per_queue::
+3. Disable mbuf_fast_free per_queue::

    testpmd> port stop 0
    testpmd> port 0 txq 0 tx_offload mbuf_fast_free off
    testpmd> port 0 txq 1 tx_offload mbuf_fast_free off
    testpmd> port 0 txq 2 tx_offload mbuf_fast_free off
    testpmd> port 0 txq 3 tx_offload mbuf_fast_free off
    testpmd> port start 0
    testpmd> show port 0 tx_offload configuration
    Tx Offloading Configuration of port 0 :
      Port :
      Queue[ 0] :
      Queue[ 1] :
      Queue[ 2] :
      Queue[ 3] :

## Renumbered.
-5. Enable mbuf_fast_free per_port::
+4. Enable mbuf_fast_free per_port::

    testpmd> port stop 0
    testpmd> port config 0 tx_offload mbuf_fast_free on
    testpmd> port start 0
    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
    testpmd> start

   The port fwd can be started normally.

## Test item moved from above to here, and renumbered.
+5. Disable mbuf_fast_free per_port::
+
+    testpmd> port stop 0
+    testpmd> port config 0 tx_offload mbuf_fast_free off
+    testpmd> port start 0
+    testpmd> show port 0 tx_offload configuration
+    Tx Offloading Configuration of port 0 :
+      Port :
+      Queue[ 0] :
+      Queue[ 1] :
+      Queue[ 2] :
+      Queue[ 3] :
+
   Note 1: there is no tx_offload per_queue parameter in ixgbe driver,
   so this case is just only for i40e.
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17549865150.FAf4521E6.3590019--