Re: [PATCH] net: phy: b53: switchdev driver for Broadcom BCM53xx switches
From: Rafał Miłecki <zajec5@gmail.com>
Date: 2015-02-25 14:17:13
On 25 February 2015 at 15:03, Andrew Lunn [off-list ref] wrote:
quoted
DSA doesn't allow me to use switch (hardware) VLANs. I would need to handle all forwarding in CPU. The most powerful Broadcom MIPS SoC - BCM4706 - can handle about 130 Mb/s. Less powerful - BCM4718A1 - only about 50 Mb/s. This is way too bad for performance when there is a 1 Gb/s switch and too bad for CPU usage.Hi Rafa?? Take a step back. Don't assume VLANs is the only way to do this. Look at what Florian is doing with Starfighter and Gunter is doing with Marvell chips. Recent patches allow the hardware to do the switching between ports with these devices. See if you can use a similar scheme with your chip. What we don't want is X chip families and Y different ways to configure the features. Ideal we want X chip families, and one way to configure them all.
Now I know about Broadcom tag, I'm aware it's not the only way and you can be sure I'm looking for the one, most common way of handling this. What do you mean by these recent patches? Has DSA recently received a support for bridging ports in the hardware? Like setting VLANs using some "bridge" comment (nl API) or something? Because I'm not aware of that. -- Rafał