From owner-freebsd-arch@FreeBSD.ORG Sat Sep 24 15:34:39 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EAE816A41F for ; Sat, 24 Sep 2005 15:34:39 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B60D43D49 for ; Sat, 24 Sep 2005 15:34:32 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id j8OFYUnl074237; Sat, 24 Sep 2005 09:34:30 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <43357207.7080405@samsco.org> Date: Sat, 24 Sep 2005 09:34:31 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050615 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Max Laier References: <200509241525.16173.max@love2party.net> In-Reply-To: <200509241525.16173.max@love2party.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: freebsd-arch@freebsd.org Subject: Re: Bridges X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 15:34:39 -0000 Max Laier wrote: > All, > > for some time now, we have three bridge implementations in the tree: > - net/bridge.c - the "old" bridge > - net/if_bridge.c - the "new" bridge from Net/OpenBSD > - netgraph/ng_bridge.c - the netgraph version [1] > > The new code has several advantages over the old version: > - Spanning Tree Protocol (802.1D) > - better firewall support (IPv6, stateful filtering, ...) > - easy ifconfig(8) configuration > > while keeping all the functionality that was present in the old code: > - dummynet support > - IPFW L2 support [2] > > There have been some benchmarks that suggest that there isn't a performance > issue either, but more numbers are always appreciated. If it turns out that > there is any remaining problem with if_bridge we need to fix it. If you are > running an old bridge on 6.0-BETA try moving to the new code and let us know. > > This means the old code is obsolete. In order to keep code duplication down > and not hinder further development (Andre is working on an overhaul of [2] > and would have to do it twice, for example) I would like to retire the old > bridge code soon. This should happen in HEAD only and thus the old bridge > will stay for all of FreeBSD 6 unless more aggressive depreciation is > requested. > > Please test the new alternative if you are using the old one still. Let us > know if there are any issues remaining. > > Objections against soon retirement of bridge.c in HEAD? > > [1] listed for completeness only. > I'm fine with it being removed in HEAD. You should change the docs and whatever appropriate manpages in 6-STABLE to clearly indicate that it is deprecated there and may be removed in the future. Scott