Skip to contentSkip to conversation

Enabling debug traces changes the behaviour of VRB1 driver

DPDK/ethdev Bug 1763 [email protected] 1 participant 1 message Aug 4, 2025

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1763

Bug ID: 1763
Summary: Enabling debug traces changes the behaviour of VRB1
driver
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

Created attachment 325
--> https://bugs.dpdk.org/attachment.cgi?id=325&action=edit
Code snippet

Hello,
When DPDK is compiled with RTE_LIBRTE_BBDEV_DEBUG macro on (rte_vrb_pmd.c), desc->req.sdone_enable might not be set. However, then the macro is disabled, that bit will be always set. In other words, when the macro dedicated for debuging is enabled, then driver behaves differently. This is definitely not a good programming practise.
Kind regards

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