Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2023-01-12 Thread Bruce Richardson
On Wed, Oct 19, 2022 at 02:11:18PM +0100, Bruce Richardson wrote: > For historical reasons, a number of net vdev drivers also add a driver > alias using the "eth_" prefix. Since this is done on a per-driver basis, > the use of the alias in inconsistent and is spread across multiple > files. We can

Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2022-10-27 Thread Ferruh Yigit
On 10/27/2022 8:58 AM, David Marchand wrote: On Thu, Oct 20, 2022 at 1:52 PM Ferruh Yigit 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 oth

Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2022-10-27 Thread David Marchand
On Thu, Oct 20, 2022 at 1:52 PM Ferruh Yigit 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

Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2022-10-20 Thread Ferruh Yigit
On 10/20/2022 9:48 AM, Bruce Richardson wrote: On Thu, Oct 20, 2022 at 10:23:27AM +0200, Thomas Monjalon wrote: 19/10/2022 15:20, Bruce Richardson: On Wed, Oct 19, 2022 at 02:11:18PM +0100, Bruce Richardson wrote: For historical reasons, a number of net vdev drivers also add a driver alias usi

Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2022-10-20 Thread Bruce Richardson
On Thu, Oct 20, 2022 at 10:23:27AM +0200, Thomas Monjalon wrote: > 19/10/2022 15:20, Bruce Richardson: > > On Wed, Oct 19, 2022 at 02:11:18PM +0100, Bruce Richardson wrote: > > > For historical reasons, a number of net vdev drivers also add a driver > > > alias using the "eth_" prefix. Since this i

Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2022-10-20 Thread Thomas Monjalon
19/10/2022 15:20, Bruce Richardson: > On Wed, Oct 19, 2022 at 02:11:18PM +0100, Bruce Richardson wrote: > > For historical reasons, a number of net vdev drivers also add a driver > > alias using the "eth_" prefix. Since this is done on a per-driver basis, > > the use of the alias in inconsistent an

Re: [PATCH] bus/vdev: automatically add eth alias for net drivers

2022-10-19 Thread Bruce Richardson
On Wed, Oct 19, 2022 at 02:11:18PM +0100, Bruce Richardson wrote: > For historical reasons, a number of net vdev drivers also add a driver > alias using the "eth_" prefix. Since this is done on a per-driver basis, > the use of the alias in inconsistent and is spread across multiple > files. We can

[PATCH] bus/vdev: automatically add eth alias for net drivers

2022-10-19 Thread Bruce Richardson
For historical reasons, a number of net vdev drivers also add a driver alias using the "eth_" prefix. Since this is done on a per-driver basis, the use of the alias in inconsistent and is spread across multiple files. We can remove the per-driver aliases by just adding the alias automatically at th