[PATCH] bus/vdev: automatically add eth alias for net drivers
David Marchand
david.marchand at redhat.com
Thu Oct 27 09:58:25 CEST 2022
On Thu, Oct 20, 2022 at 1:52 PM Ferruh Yigit <ferruh.yigit at amd.com> wrote:
> >> Honestly I think the status quo is OK:
> >> We have some aliases in some PMD for some historical reason
> >> and everybody looks OK with that. Isn't it?
> >>
> >
> > Well, the inconsistency bugs me a little, but if others feel the status quo
> > is ok, I'm ok with that.
>
> In my perspective this is for cleanup, and new PMDs keep adding alias
> because they are copying from existing drivers.
> Except from above there is no harm to have alias.
Do we have a "valid" case of adding new aliases?
I don't think it is the case, so we can warn of new aliases
introduction in checkpatches.sh.
At worse, if a valid case is identified later, checkpatches.sh is only
a warning in patchwork and maintainers will manually review this
warning.
--
David Marchand
More information about the dev
mailing list