Re: [PATCH v1 3/9] net: add DSA framework to support basic switch functionality

2022-03-28 Thread Oleksij Rempel
On Mon, Mar 28, 2022 at 12:31:39PM +0200, Sascha Hauer wrote: > On Mon, Mar 21, 2022 at 10:26:00AM +0100, Oleksij Rempel wrote: > +static void dsa_port_set_ethaddr(struct eth_device *edev) > > +{ > > + struct dsa_port *dp = edev->priv; > > + struct dsa_switch *ds = dp->ds; > > + > > + if (is

Re: [PATCH v1 3/9] net: add DSA framework to support basic switch functionality

2022-03-28 Thread Sascha Hauer
On Mon, Mar 21, 2022 at 10:26:00AM +0100, Oleksij Rempel wrote: > Add DSA based port multiplexing functionality for barebox. With this > framework we will be able to use different ports of as switch > separately. > > Signed-off-by: Oleksij Rempel > --- > drivers/net/Kconfig | 3 + > drivers/n

Re: [PATCH v1 3/9] net: add DSA framework to support basic switch functionality

2022-03-25 Thread Oleksij Rempel
Am 21.03.22 um 10:26 schrieb Oleksij Rempel: Add DSA based port multiplexing functionality for barebox. With this framework we will be able to use different ports of as switch separately. Signed-off-by: Oleksij Rempel --- drivers/net/Kconfig | 3 + drivers/net/Makefile | 1 + drivers/n

[PATCH v1 3/9] net: add DSA framework to support basic switch functionality

2022-03-21 Thread Oleksij Rempel
Add DSA based port multiplexing functionality for barebox. With this framework we will be able to use different ports of as switch separately. Signed-off-by: Oleksij Rempel --- drivers/net/Kconfig | 3 + drivers/net/Makefile | 1 + drivers/net/dsa.c| 385