RE: [PATCH 2.6.33 1/3] net: Micrel KSZ8841/2 PCI Ethernet driver

From: Ha, Tristram
Date: Tue Jan 19 2010 - 18:51:21 EST


Stephen Hemminger wrote:
>> Now for the driver implementation for STP support. I programmed the
>> switch's static MAC table to always pass the following frames to the
>> host: BPDU frames with specific multicast address, broadcast frames,
>> unicast frames with the device bridge's MAC address, and multicast
>> frames with ICMPv6 multicast address. All other frames are not
passed
>> to the host and are handled by the switch, forwarding each frame with
>> its standard forwarding logic. The port can be shut off if it is
>> blocked and those frames will not pass through that port. The host
>> gets BPDU frames so that the bridge can determine each port's state.
>> The other broadcast, unicast, and multicast frames passed to the host
>> are necessary if some other network devices want to communicate with
>> the host. As the forwarding is done by hardware rather than
software,
>> overall performance does increase.
>
> What about LACP needed by bridging?
>

I am not aware of LACP and do not know how this protocol works under
bridging. If the requirement is certain multicast frames do not get
forwarded and must pass to the host bridge, I can add those fixed
multicast addresses. The static MAC table has 8 entries, so there are 4
more to use.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/