From owner-freebsd-current Fri May 1 11:59:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA01240 for freebsd-current-outgoing; Fri, 1 May 1998 11:59:33 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA01182; Fri, 1 May 1998 11:59:15 -0700 (PDT) (envelope-from pb@fasterix.frmug.org) Received: (from uucp@localhost) by frmug.org (8.9.0.Beta7/frmug-2.3/nospam) with UUCP id UAA02542; Fri, 1 May 1998 20:58:46 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.8.8/8.8.5/pb-19970302) id UAA00996; Fri, 1 May 1998 20:58:34 +0200 (CEST) Message-ID: <19980501205833.A655@fasterix.frmug.fr.net> Date: Fri, 1 May 1998 20:58:33 +0200 From: Pierre Beyssac To: Garrett Wollman Cc: freebsd-current@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Fwd: NetBSD network code improvements References: <19980501152245.A1890@fasterix.frmug.fr.net> <199805011550.KAA02206@friley585.res.iastate.edu> <19980501185444.LR22034@@> <199805011813.OAA08910@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.2 In-Reply-To: <199805011813.OAA08910@khavrinen.lcs.mit.edu>; from Garrett Wollman on Fri, May 01, 1998 at 02:13:51PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ discussion copied to freebsd-net, please remove -current when replying ] On Fri, May 01, 1998 at 02:13:51PM -0400, Garrett Wollman wrote: > We should think carefully about what WE actually WANT to do (which is > not necessarily the same as what NASA is paying Jason to do). I think A lot of their stuff is generally useful, the MTU discovery stuff for example (although I don't exactly know what is in -current and maybe we don't need to integrate NetBSD stuff). The fast forwarding stuff is useful for people using FreeBSD as a fast router. It is modular enough that I ported it in 2 hours, and I'm currently running it. Everything is in one file (ip_flow.c) and you just need to add hooks calling it when receiving packets from the interfaces. Works ok for me so far between PPP and my ethernet (which doesn't say much about the performance improvement :-)). I'll send the patches to the list soon. The only problem that I see is that it clutters up the kernel even if you don't use it (in NetBSD, it is compiled in only if you have the GATEWAY option, but you can't do that in FreeBSD since it's a kernel configuration variable). We should probably make it an explicit option but other than that I don't see any reason for not taking it. The bpf stuff is useful for userland application programmers. My understanding is that it's the same for the socket zero-copy stuff. I haven't looked at these yet. -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org {Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message