Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-07 Thread Florian Fainelli
On 7/7/2019 2:00 PM, Vladimir Oltean wrote: > On Fri, 5 Jul 2019 at 19:03, Florian Fainelli wrote: >> >> >> >> On 7/5/2019 2:08 AM, Vladimir Oltean wrote: >>> Hi Andrew, >>> >>> On Fri, 5 Jul 2019 at 07:49, Andrew Lunn wrote: Hi Vladimir > - DSA is typically used for discret

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-07 Thread Vladimir Oltean
On Fri, 5 Jul 2019 at 19:03, Florian Fainelli wrote: > > > > On 7/5/2019 2:08 AM, Vladimir Oltean wrote: > > Hi Andrew, > > > > On Fri, 5 Jul 2019 at 07:49, Andrew Lunn wrote: > >> > >> Hi Vladimir > >> > >>> - DSA is typically used for discrete switches, switchdev is typically > >>> used for emb

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-05 Thread Florian Fainelli
On 7/5/2019 2:08 AM, Vladimir Oltean wrote: > Hi Andrew, > > On Fri, 5 Jul 2019 at 07:49, Andrew Lunn wrote: >> >> Hi Vladimir >> >>> - DSA is typically used for discrete switches, switchdev is typically >>> used for embedded ones. >> >> Typically DSA is for discrete switches, but not exclusiv

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-05 Thread Andrew Lunn
> Let me see if I get your point. > The D is optional, and the S is optional. So what's left? :) A collection of interfaces. switchdev and by extension DSA is all about using hardware as an accelerator. Linux can do switching in software. It can do routing in software, it can do bonding in softwa

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-05 Thread Andrew Lunn
> Nice discussion, again, but there's a missing point that has not been > brought up yet. We actually intend to support the following hardware > configuration: a single PCI device consisting of the Microsemi's switch core > and our DMA rings. > The hardware supports this configuration into a singl

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-05 Thread Vladimir Oltean
Hi Andrew, On Fri, 5 Jul 2019 at 07:49, Andrew Lunn wrote: > > Hi Vladimir > > > - DSA is typically used for discrete switches, switchdev is typically > > used for embedded ones. > > Typically DSA is for discrete switches, but not exclusively. The > b53/SF2 is embedded in a number of Broadcom SoC

RE: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-05 Thread Claudiu Manoil
inux-kernel@vger.kernel.org; >unglinuxdri...@microchip.com; Allan Nielsen >; Rob Herring ; linux- >arm-ker...@lists.infradead.org >Subject: Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch >port >DT node > >Hi Vladimir > >> - DSA is typically us

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-04 Thread Andrew Lunn
Hi Vladimir > - DSA is typically used for discrete switches, switchdev is typically > used for embedded ones. Typically DSA is for discrete switches, but not exclusively. The b53/SF2 is embedded in a number of Broadcom SoCs. So this is no different to Ocelot, except ARM vs MIPS. Also, i would dis

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-04 Thread Vladimir Oltean
On Tue, 25 Jun 2019 at 00:23, Alexandre Belloni wrote: > > On 24/06/2019 18:24:31+0200, Andrew Lunn wrote: > > On Mon, Jun 24, 2019 at 05:23:45PM +0200, Allan W. Nielsen wrote: > > > Hi Andrew, > > > > > > The 06/24/2019 16:26, Andrew Lunn wrote: > > > > > > Yeah, there are 2 ethernet controller p

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Alexandre Belloni
On 24/06/2019 18:24:31+0200, Andrew Lunn wrote: > On Mon, Jun 24, 2019 at 05:23:45PM +0200, Allan W. Nielsen wrote: > > Hi Andrew, > > > > The 06/24/2019 16:26, Andrew Lunn wrote: > > > > > Yeah, there are 2 ethernet controller ports (managed by the enetc > > > > > driver) > > > > > connected in

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Andrew Lunn
On Mon, Jun 24, 2019 at 05:23:45PM +0200, Allan W. Nielsen wrote: > Hi Andrew, > > The 06/24/2019 16:26, Andrew Lunn wrote: > > > > Yeah, there are 2 ethernet controller ports (managed by the enetc > > > > driver) > > > > connected inside the SoC via SGMII links to 2 of the switch ports, one >

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Allan W. Nielsen
Hi Andrew, The 06/24/2019 16:26, Andrew Lunn wrote: > > > Yeah, there are 2 ethernet controller ports (managed by the enetc driver) > > > connected inside the SoC via SGMII links to 2 of the switch ports, one of > > > these switch ports can be configured as CPU port (with follow-up patches). > >

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Andrew Lunn
> > Yeah, there are 2 ethernet controller ports (managed by the enetc driver) > > connected inside the SoC via SGMII links to 2 of the switch ports, one of > > these switch ports can be configured as CPU port (with follow-up patches). > > > > This configuration may look prettier on DSA, but the m

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Alexandre Belloni
oni ; net...@vger.kernel.org; > >Alexandru Marginean ; linux- > >ker...@vger.kernel.org; unglinuxdri...@microchip.com; Allan Nielsen > >; Rob Herring ; linux- > >arm-ker...@lists.infradead.org > >Subject: Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix sw

RE: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Claudiu Manoil
inuxdri...@microchip.com; Allan Nielsen >; Rob Herring ; linux- >arm-ker...@lists.infradead.org >Subject: Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch >port >DT node > >On Fri, Jun 21, 2019 at 06:38:50PM +0300, Claudiu Manoil wrote: >> The switch de

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-21 Thread Andrew Lunn
On Fri, Jun 21, 2019 at 06:38:50PM +0300, Claudiu Manoil wrote: > The switch device features 6 ports, 4 with external links > and 2 internally facing to the ls1028a SoC and connected via > fixed links to 2 internal enetc ethernet controller ports. Hi Claudiu > + switch@0,5 { >