Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-25 Thread Martin Blumenstingl
Hello Florian, Vladimir, Hauke, first of all: thank you very much for this very informative discussion! On Thu, Mar 25, 2021 at 4:08 AM Florian Fainelli wrote: [...] > > Just to clarify, this port to queue mapping is completely optional, right? > > You can send packets to a certain switch port t

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Florian Fainelli
On 3/24/2021 6:18 PM, Vladimir Oltean wrote: > On Wed, Mar 24, 2021 at 04:07:47PM -0700, Florian Fainelli wrote: >>> What are the benefits of mapping packets to TX queues of the DSA master >>> from the DSA layer? >> >> For systemport and bcm_sf2 this was explained in this commit: >> >> https://g

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Vladimir Oltean
On Wed, Mar 24, 2021 at 04:07:47PM -0700, Florian Fainelli wrote: > > What are the benefits of mapping packets to TX queues of the DSA master > > from the DSA layer? > > For systemport and bcm_sf2 this was explained in this commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linu

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Florian Fainelli
On 3/24/2021 3:21 PM, Vladimir Oltean wrote: > Hi Florian, > > On Wed, Mar 24, 2021 at 02:09:02PM -0700, Florian Fainelli wrote: >> >> >> On 3/24/2021 1:13 PM, Vladimir Oltean wrote: >>> Hi Martin, >>> >>> On Wed, Mar 24, 2021 at 09:04:16PM +0100, Martin Blumenstingl wrote: Hello, >>>

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Florian Fainelli
On 3/24/2021 3:50 PM, Hauke Mehrtens wrote: > On 3/24/21 10:09 PM, Florian Fainelli wrote: >> >> >> On 3/24/2021 1:13 PM, Vladimir Oltean wrote: >>> Hi Martin, >>> >>> On Wed, Mar 24, 2021 at 09:04:16PM +0100, Martin Blumenstingl wrote: Hello, the PMAC (Ethernet MAC) IP built into

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Hauke Mehrtens
On 3/24/21 10:09 PM, Florian Fainelli wrote: On 3/24/2021 1:13 PM, Vladimir Oltean wrote: Hi Martin, On Wed, Mar 24, 2021 at 09:04:16PM +0100, Martin Blumenstingl wrote: Hello, the PMAC (Ethernet MAC) IP built into the Lantiq xRX200 SoCs has support for multiple (TX) queues. This MAC is con

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Vladimir Oltean
Hi Florian, On Wed, Mar 24, 2021 at 02:09:02PM -0700, Florian Fainelli wrote: > > > On 3/24/2021 1:13 PM, Vladimir Oltean wrote: > > Hi Martin, > > > > On Wed, Mar 24, 2021 at 09:04:16PM +0100, Martin Blumenstingl wrote: > >> Hello, > >> > >> the PMAC (Ethernet MAC) IP built into the Lantiq xRX

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Florian Fainelli
On 3/24/2021 1:13 PM, Vladimir Oltean wrote: > Hi Martin, > > On Wed, Mar 24, 2021 at 09:04:16PM +0100, Martin Blumenstingl wrote: >> Hello, >> >> the PMAC (Ethernet MAC) IP built into the Lantiq xRX200 SoCs has >> support for multiple (TX) queues. >> This MAC is connected to the SoC's built-in

Re: lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Vladimir Oltean
Hi Martin, On Wed, Mar 24, 2021 at 09:04:16PM +0100, Martin Blumenstingl wrote: > Hello, > > the PMAC (Ethernet MAC) IP built into the Lantiq xRX200 SoCs has > support for multiple (TX) queues. > This MAC is connected to the SoC's built-in switch IP (called GSWIP). > > Right now the lantiq_xrx20

lantiq_xrx200: Ethernet MAC with multiple TX queues

2021-03-24 Thread Martin Blumenstingl
Hello, the PMAC (Ethernet MAC) IP built into the Lantiq xRX200 SoCs has support for multiple (TX) queues. This MAC is connected to the SoC's built-in switch IP (called GSWIP). Right now the lantiq_xrx200 driver only uses one TX and one RX queue. The vendor driver (which mixes DSA/switch and MAC f