Received: with ECARTIS (v1.0.0; list netdev); Thu, 29 Jul 2004 08:11:18 -0700 (PDT) Received: from aiexchange.ai.aiinet.com (ai181-26.aiinet.com [205.245.181.26]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id i6TFBBOR014704 for ; Thu, 29 Jul 2004 08:11:12 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [PATCH] (3/4) bridge linkstate handling Date: Thu, 29 Jul 2004 11:11:02 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] (3/4) bridge linkstate handling Thread-Index: AcR1eOl+HPLL9ObYQ42Fvp9b95BGsAAAuoJQ From: "Eble, Dan" To: Cc: "Stephen Hemminger" , , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id i6TFBBOR014704 X-archive-position: 7265 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: DanE@aiinet.com Precedence: bulk X-list: netdev Content-Length: 1021 Lines: 25 > -----Original Message----- > From: jamal [mailto:hadi@cyberus.ca] > > On Thu, 2004-07-29 at 09:24, Eble, Dan wrote: > > Even if STP were implemented in user space, this part > should be done in > > the kernel to make sure that there is no window of time for > a packet to > > be received or transmitted after the link state changes. > > Your main problem there would be STP convergence time. Transfering the > packet to user space and reacting should be several factors > of magnitude > faster than it takes STP to converge. > The STP state should stay in the kernel. Control of it and > BPDU handling > is what i am suggesting to take out. Is the time it takes STP to converge really the issue in this case? When a port loses and then regains carrier, it needs to enter the Blocking state without delay. If the carrier state change were handled by a daemon, the bridge driver would have some time to transmit or receive packets via that port before the daemon could tell it to block the port, wouldn't it?