[PATCH] rte_dev: allow C-symbol-in-C++ dma operations
Tyler Retzlaff
roretzla at linux.microsoft.com
Thu May 5 11:43:47 CEST 2022
On Wed, May 04, 2022 at 11:39:35PM -0500, Tianhao Chai wrote:
> Currently the "extern C" section ends right before rte_dev_dma_unmap
> and other DMA function declarations, causing some C++ compilers to
> produce C++ mangled symbols to rte_dev_dma_unmap instead of C symbols.
> This leads to build failures later when linking a final executable
> against this object.
>
> The issue is observed on DPDK 22.03 and G++ 11.
>
> Signed-off-by: Tianhao Chai <cth451 at gmail.com>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list