From owner-freebsd-net@FreeBSD.ORG Tue Dec 11 18:35:53 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FE1516A417 for ; Tue, 11 Dec 2007 18:35:53 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id AA55913C448 for ; Tue, 11 Dec 2007 18:35:52 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from localhost (marvin-mail [192.168.0.2]) by marvin.harmless.hu (Postfix) with ESMTP id 3D0057C0BC9; Tue, 11 Dec 2007 19:35:49 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at harmless.hu Received: from marvin.harmless.hu ([192.168.0.2]) by localhost (marvin.harmless.hu [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id gUvNWYaUj0mf; Tue, 11 Dec 2007 19:35:48 +0100 (CET) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id ED9D77C0BFC; Tue, 11 Dec 2007 19:35:46 +0100 (CET) Date: Tue, 11 Dec 2007 19:35:46 +0100 From: Gergely CZUCZY To: Julian Elischer Message-ID: <20071211183546.GA82457@harmless.hu> References: <475E4C45.2050206@elischer.org> <20071211004853.A51465@xorpc.icir.org> <305C539CA2F86249BF51CDCE8996AFF408FC5B14@bcs-mail2.internal.cacheflow.com> <475ED25C.2000204@elischer.org> <475ED72E.9000200@elischer.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <475ED72E.9000200@elischer.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Luigi Rizzo , "Li, Qing" , FreeBSD Net , ales.cerri@tiscali.it Subject: Re: arp rewrite... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2007 18:35:53 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 11, 2007 at 10:30:06AM -0800, Julian Elischer wrote: > Julian Elischer wrote: > >Li, Qing wrote: > >> Last time when I sent an email to net@ for comments, I > >> received only limited feedback. > >> The New ARP code in my home directory on FreeFall and was laste= d updated on June-8-2007. It was based on then CURRENT=20 > >>(7.0) and was tested to be working fine at > >> that time. A bit more work would be necessary in locking > >> though. I asked for code review and folks to play with it. Agai= n, the feedback was really scant. > >> The code is accessible at > >> http://people.freebsd.org/~qingli/newarp-06-08-2007/ > >> > >> The question I asked then was "should I move forward?" > >> > >> I'd be more that happy to resume and be done with it. > >I think that breaking the arp code from the routing code > >need to proceed. > >I see no reason to not have reference counted links from the routes to t= he arp code (for optimisation and compat reasons), > >but it should be self standing. > >I'll look at what you have.. >=20 > it looks very good. >=20 > (could do with a few more comments :-) >=20 > What I'm trying to do in my current project is add limited support for mu= ltiple > routing tables into 6.x or at latest 7.x I don't know if you know about it or not, but there's this Network Stack Virtualization project going on. Maybe there are some intersections with your ideas. It would be good to check this out first: http://wiki.freebsd.org/NetworkVirtualization http://www.freebsd.org/news/status/report-2007-07-2007-10.html#Network-Stac= k-Virtualization >=20 > I have a 'low impact' version that gives "limited" support. > //depot/user/julian/routing/src/sys/... > (userland utility not in p4 yet) > i.e. you can select from a small number (defined at compile time) > of tables for ipv4 only.. it will do for my purposes, but should have lit= tle > impact on the API/ABI. in -current the requirement for ABI compatibility > is not there so I can do proper rewrite. Which I think would include > a rewrite of the arp code. I like what I see in the code you have done.. >=20 > It's a bit hard reading you code as patches, is it in P4? >=20 >=20 >=20 > >> > >> -- Qing > >> > >> > >>>-----Original Message----- > >>>From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.= org] On Behalf Of Luigi Rizzo > >>>Sent: Tuesday, December 11, 2007 12:49 AM > >>>To: Julian Elischer; ales.cerri@tiscali.it > >>>Cc: FreeBSD Net > >>>Subject: Re: arp rewrite... > >>> > >>>On Tue, Dec 11, 2007 at 12:37:25AM -0800, Julian Elischer wrote: > >>>>I believe Qing-li (Sp?) did an arp rewrite.. > >>>the story is a bit longer - Andre drafted the initial design, which i = subsequently took over and with a student, Alessandro Cerri,=20 > >>>(I am Cc-ing him) did a first implementation. This was probably around= 2003. > >>> > >>>Then Qing-li (Sp?) took over development of that code - last i heard o= f the code was around last summer. > >>> > >>>I think our code at least was based on 4.x so it probably did not addr= ess locking very much (not sure how the routing code is locked=20 > >>>these days, anyways). > >>> > >>>Alessandro is actually around again playing with FreeBSD so he may rem= ember more details (it was his thesis, after all!) > >>> > >>>cheers > >>>luigi > >>>_______________________________________________ > >>>freebsd-net@freebsd.org mailing list > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-net > >>>To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >>> > >_______________________________________________ > >freebsd-net@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-net > >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) owGtWM9vHEkVDrvAoSWk3SunhznY3p3uGTtO7J1onDjOD80q2QTbywoiQDXdNTO1 093Vrqr2pH1AQuLAgQNC4sQhdyQkDnBDS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