Skip to contentSkip to conversation

Segmentation fault in Rx offload testcase

DPDK/testpmd Bug 1834 [email protected] 1 participant 2 messages Nov 19, 2025 – Feb 17

lore
Share & tools
lore
#0 lore raw

http://bugs.dpdk.org/show_bug.cgi?id=1834

Bug ID: 1834
Summary: [dpdk-25.11-rc2] Segmentation fault in Rx offload
testcase
Product: DPDK
Version: unspecified
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

There is a bug introduced by:

Commit 066f3d9cc21c ("ethdev: remove callback checks from fast path")

In test case 139.4 <Rx offload per-port setting in command-line>, testpmd set fwd csum, and only enable Rx csum offload. Meanwhile, driver like txgbe set 'dev->tx_pkt_prepare = NULL' since Tx offload is disabled. Thus rte_eth_tx_prepare() calls null pointer cause segmentation fault in pkt_burst_checksum_forward(), bacause NULL check was removed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

http://bugs.dpdk.org/show_bug.cgi?id=1834

Thomas Monjalon ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #6 from Thomas Monjalon ([email protected]) --- Resolved in http://git.dpdk.org/dpdk/commit/?id=9cd1dcc49e

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.