Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2020-02-09 Thread Vladimir Oltean
Hi Alex, On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: > > DSA stands for Distributed Switch Architecture and it covers switches that > are connected to the CPU through an Ethernet link and generally use frame > tags to pass information about the source/destination ports to/from CPU. >

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-17 Thread Vladimir Oltean
On Tue, 17 Dec 2019 at 12:36, Alexandru Marginean wrote: > It wouldn't go through mdio_phy_connect, dm_eth_phy_connect would need > to figure out if it's a fixed link or PHY and then call the proper > function, like in your snippet. > The MDIO NULL topic is a bit more complicated I think. Some

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-17 Thread Alexandru Marginean
On 12/17/2019 10:41 AM, Vladimir Oltean wrote: On Tue, 17 Dec 2019 at 09:18, Alexandru Marginean wrote: On 12/15/2019 2:08 PM, Vladimir Oltean wrote: On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: +/** + * This function deals with additional devices around the switch as these should +

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-17 Thread Vladimir Oltean
On Tue, 17 Dec 2019 at 09:18, Alexandru Marginean wrote: > > On 12/15/2019 2:08 PM, Vladimir Oltean wrote: > > On Tue, 3 Dec 2019 at 17:32, Alex Marginean > > wrote: > >> +/** > >> + * This function deals with additional devices around the switch as these > >> should > >> + * have been bound

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-16 Thread Alexandru Marginean
On 12/15/2019 2:08 PM, Vladimir Oltean wrote: On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: +/** + * This function deals with additional devices around the switch as these should + * have been bound to drivers by now. + * TODO: pick up references to other switch devices here, if we're

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-16 Thread Alexandru Marginean
Hi Vladimir, On 12/15/2019 1:44 PM, Vladimir Oltean wrote: Hi Alex, On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: DSA stands for Distributed Switch Architecture and it covers switches that are connected to the CPU through an Ethernet link and generally use frame tags to pass

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-15 Thread Vladimir Oltean
On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: > +/** > + * This function deals with additional devices around the switch as these > should > + * have been bound to drivers by now. > + * TODO: pick up references to other switch devices here, if we're cascaded. > + */ > +static int

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-15 Thread Vladimir Oltean
Hi Alex, On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: > > DSA stands for Distributed Switch Architecture and it covers switches that > are connected to the CPU through an Ethernet link and generally use frame > tags to pass information about the source/destination ports to/from CPU. >

[PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-03 Thread Alex Marginean
DSA stands for Distributed Switch Architecture and it covers switches that are connected to the CPU through an Ethernet link and generally use frame tags to pass information about the source/destination ports to/from CPU. Front panel ports are presented as regular ethernet devices in U-Boot and