[PATCH] rte_dev: allow C-symbol-in-C++ dma operations
David Marchand
david.marchand at redhat.com
Thu May 5 11:53:20 CEST 2022
On Thu, May 5, 2022 at 11:00 AM Bruce Richardson
<bruce.richardson at intel.com> wrote:
> 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.
> >
> Fixes: a753e53d517b ("eal: add device event monitor framework")
Cc: stable at dpdk.org
>
> > Signed-off-by: Tianhao Chai <cth451 at gmail.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list