[dpdk-dev] RFC enabling dll/dso for dpdk on windows

Thomas Monjalon thomas at monjalon.net
Thu Jul 8 22:39:13 CEST 2021


08/07/2021 21:21, Tyler Retzlaff:
> (2) importing exported data symbols from a dll/dso on windows requires
>     that the symbol be decorated with dllimport. optionally loading
>     performance of dll/dso is also further improved by decorating
>     exported function symbols. [3]
> 
> for (2) we would propose the introduction and use of two macros to
> allow decoration of exported data symbols. these macro would be or
> similarly named __rte_import and __rte_export. of note

That's the same symbol declared in a single place
which is exported and imported.
So I don't understand the need for 2 macros.




More information about the dev mailing list