Re: [PATCH v2 2/2] drivers: net: dsa: qca8k: add support for multiple cpu port

From: Andrew Lunn
Date: Tue Apr 06 2021 - 20:41:17 EST


On Tue, Apr 06, 2021 at 06:50:40AM +0200, Ansuel Smith wrote:
> qca8k 83xx switch have 2 cpu ports. Rework the driver to support
> multiple cpu port. All ports can access both cpu ports by default as
> they support the same features.

Do you have more information about how this actually works. How does
the switch decide which port to use when sending a frame towards the
CPU? Is there some sort of load balancing?

How does Linux decide which CPU port to use towards the switch?

Andrew