[PATCH v4 1/5] bus/platform: match device by devicetree compatible string
David Marchand
david.marchand at redhat.com
Tue Oct 13 12:12:11 CEST 2026
On Fri, 9 Oct 2026 at 09:31, David Marchand <david.marchand at redhat.com> wrote:
> > > -/** Helper for setting platform driver alias. */
> > > +/**
> > > + * Helper for setting platform driver alias.
> > > + *
> > > + * Note: this macro uses RTE_STR() to stringify the alias argument, so it
> > > + * cannot express strings that contain a comma. For such aliases,
> > > + * set .driver.alias directly in the rte_platform_driver initializer instead.
> > > + */
> > > #define RTE_PMD_REGISTER_ALIAS(nm, alias) \
> > > static const char *pdrvinit_ ## nm ## _alias = RTE_STR(alias)
>
> I just sent a patch on this topic.
> Have a look please.
>
> https://patchwork.dpdk.org/project/dpdk/patch/20261009072535.3039944-1-david.marchand@redhat.com/
Merged.
Please rebase.
--
David Marchand
More information about the dev
mailing list