v4: updated to remove device error logging part which may use different mechanism in the future, possibly rte trace point.
v3: updated based on Maxime comments related to passing string through function prototype. Thanks v2: updated with comments from Hemant and rebased. v1: Hi Maxime. Adding new support to support troubleshooting. This provides to the application an API to dump into file information to help troubleshoot issue on a queue. Some of it is tracked at bbdev level and some extra information can be tracked as an option at PMD level. This is for 24.11. In practive logging is not enabled at run time, but information can be dump into file when an issue happens and requires extra information. This collates now multiple source of errors detected notably at driver level made more explicit. Thanks, Nic Nicolas Chautru (2): bbdev: add new function to dump debug information baseband/acc: improvement to logging mechanism drivers/baseband/acc/rte_vrb_pmd.c | 59 +++++++- lib/bbdev/rte_bbdev.c | 213 +++++++++++++++++++++++++++++ lib/bbdev/rte_bbdev.h | 47 +++++++ lib/bbdev/rte_bbdev_pmd.h | 9 ++ lib/bbdev/version.map | 4 + 5 files changed, 331 insertions(+), 1 deletion(-) -- 2.34.1