I work on a SOC based on Micrel/Kendin KS8695 based on ARM9. (http://micrel.com/page.do?page=product-info/sys_on_chip.jsp)
This component has 2 network interfaces. One is connected to a 5 ports switch.
eth0
eth1 => switch port1,2,3,4
I want to make a bridge with these 5 ports but my problem is that the network driver only install 2 interfaces.
The KS8695 network switch can be configured to tag ingress packet (such as BPDU) so I can know where come from packets.
So my problem is that I will modify the driver to have 5 network interfaces instead of 2 and filter BPDU packets with hardware.
But I can't find how bridge layer tells the network driver to change his state. I explain myself : the KS8695 switch can be configured in disabled, listening, learning, forwarding and blocking states ; so I want bridge layer to inform my driver, so I will be able to change the hardware state of each port.
If I well understood bridge layer only do software filtering, but is there a way to configure my switch with ioctls or something like this ?
Or do I have to implement spanning tree directly in my driver ? I don't think this is the good way because bridge protocol is already implemented and I don't want to rewrite it.
Thanks,
Sebastien
_______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge