Thread (10 messages) flat view 10 messages, 4 authors, 2021-03-22

Re: [V2 net-next] net: mvpp2: Add reserved port private flag configuration

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-03-11 17:00:33
Also in: lkml

On Thu, Mar 11, 2021 at 06:43:27PM +0200, stefanc@marvell.com wrote:
From: Stefan Chulski <redacted>
Hi Stefan

Thanks for the strings change. Looks a lot better.

Now i took a look at the bigger picture.
According to Armada SoC architecture and design, all the PPv2 ports
which are populated on the same communication processor silicon die
(CP11x) share the same Classifier and Parser engines.

Armada is an embedded platform and therefore there is a need to reserve
some of the PPv2 ports for different use cases.

For example, a port can be reserved for a CM3 CPU running FreeRTOS
for management purposes
So the CM3 CPU has its own driver for this hardware? It seems like we
should not even instantiate the Linux driver for this port. Does the
CM3 have its own DT blob? I think the better solution is that the
Armada DT for the board does not list the port, and the DT for the CM3
does. Linux never sees the port, since Linux should not be using it.
or by user-space data plane application.
You mean XDP/AF_XDP? I don't see any other XDP capable drivers having
a flag like this. If this was required, i would expect it to be a
common properly, not driver private.

	  Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help