[dpdk-dev] [PATCH 2/2] bus/pci: cleanup private symbols

David Marchand david.marchand at redhat.com
Thu May 7 14:43:58 CEST 2020


On Wed, May 6, 2020 at 10:25 PM Stephen Hemminger
<stephen at networkplumber.org> wrote:
> > If that is correct, we should use pci_* prefix for static symbols,
> > rte_* for everything else, even "internal" symbols -- in the sense
> > that they are meant to be opaque to the user, but will still be linked
> > in static build.
> >
> > If I'm wrong in thinking this, then ok with this policy and let's go
> > forward to align naming in PCI bus.
> >
>
> Agree that all symbols need a prefix.
> Any symbol that is not static is visible to the application if static linking.
> There is some pre-linking magic can be done but DPDK isn't doing it.

Like automatically prefixing symbols?


-- 
David Marchand



More information about the dev mailing list