On Wed, 6 Jul 2022 13:21:54 +0530 Aman Kumar <aman.ku...@vvdntech.in> wrote:
> +extern int qdma_logtype_pmd; > +#define PMD_DRV_LOG(level, fmt, args...) \ > + rte_log(RTE_LOG_ ## level, qdma_logtype_pmd, "%s(): " \ > + fmt "\n", __func__, ## args) Did you test this. Looks like your log messages are going to end up double spaced. Because many of the later calls put a newline on the message. Example: + PMD_DRV_LOG(INFO, "QDMA devargs desc_prefetch is: %s\n", value);