Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752335Ab0ATAur (ORCPT ); Tue, 19 Jan 2010 19:50:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752294Ab0ATAuq (ORCPT ); Tue, 19 Jan 2010 19:50:46 -0500 Received: from mail.vyatta.com ([76.74.103.46]:32857 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056Ab0ATAup (ORCPT ); Tue, 19 Jan 2010 19:50:45 -0500 Date: Tue, 19 Jan 2010 16:50:34 -0800 From: Stephen Hemminger To: "Ha, Tristram" Cc: "David Miller" , , Subject: Re: [PATCH 2.6.33 1/3] net: Micrel KSZ8841/2 PCI Ethernet driver Message-ID: <20100119165034.00f3a8cc@nehalam> In-Reply-To: <14385191E87B904DBD836449AA30269D580B08@MORGANITE.micrel.com> References: <14385191E87B904DBD836449AA30269D021A4A@MORGANITE.micrel.com> <20100116.012004.166836523.davem@davemloft.net> <14385191E87B904DBD836449AA30269D580A76@MORGANITE.micrel.com> <20100119134059.63b355e4@nehalam> <14385191E87B904DBD836449AA30269D580AEB@MORGANITE.micrel.com> <20100119161147.6faca543@nehalam> <14385191E87B904DBD836449AA30269D580B08@MORGANITE.micrel.com> Organization: Vyatta X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2536 Lines: 63 On Tue, 19 Jan 2010 16:34:38 -0800 "Ha, Tristram" wrote: > Stephen Hemminger wrote: > > On Tue, 19 Jan 2010 15:48:50 -0800 > > "Ha, Tristram" wrote: > > > >> 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. > > > > Anything 01:80:C2:00:00:00 should go local host. > > LACP is part of 802.3ad bonding and uses 01:80:C2:00:02 > > > > In general anything to 01:80:C2:00:00:XX is likely to be used by some > IEEE 802 standard for link > > only multicast. I wouldn't worry about anything but STP. > If the strict requirement is to support all 01:80:C2:00:00:XX multicast > addresses, my scheme will not work. It was designed only for STP, as > most our customers request that feature. > > I will pass your suggestions to our hardware engineers so that they can > develop a better switch engine. It is fine as is, just a warning of what standards committees are likely to invent in future. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/