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 [thread overview]
Message-ID: <bug-1769-433@https.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 5375 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1769
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_plan
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@smartsharesystems.com/
[2]:
https://patchwork.dpdk.org/project/dpdk/patch/20250803194218.683318-1-mb@smartsharesystems.com/
Test case: Intel® Ethernet 700 Series Tx offload per-queue setting
==================================================================
1. Start testpmd and get the tx_offload capability and configuration::
./<build_target>/app/dpdk-testpmd -c f -n 4 -- -i --rxq=4 --txq=4
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 end.
-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 need
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.
[-- Attachment #2: Type: text/html, Size: 7617 bytes --]
reply other threads:[~2025-08-12 8:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-1769-433@https.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dts@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).