On Thu, Mar 11, 2021 at 06:43:27PM +0200, stef...@marvell.com wrote: > From: Stefan Chulski <stef...@marvell.com>
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