From owner-freebsd-net@FreeBSD.ORG Tue Dec 11 19:43:54 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 7050F16A418 for ; Tue, 11 Dec 2007 19:43:54 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2CA13C442 for ; Tue, 11 Dec 2007 19:43:54 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from bcs-mail2.internal.cacheflow.com (bcs-mail2.internal.cacheflow.com [10.2.2.59]) by whisker.bluecoat.com (8.13.8/8.13.8) with ESMTP id lBBJhrf3018065; Tue, 11 Dec 2007 11:43:53 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 11 Dec 2007 11:43:47 -0800 Message-ID: <305C539CA2F86249BF51CDCE8996AFF40902BC02@bcs-mail2.internal.cacheflow.com> In-Reply-To: <475ED72E.9000200@elischer.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: arp rewrite... Thread-Index: Acg8I+FFGgIvdjouSEq7b6sIqMOWEgAChxlg References: <475E4C45.2050206@elischer.org> <20071211004853.A51465@xorpc.icir.org> <305C539CA2F86249BF51CDCE8996AFF408FC5B14@bcs-mail2.internal.cacheflow.com> <475ED25C.2000204@elischer.org> <475ED72E.9000200@elischer.org> From: "Li, Qing" To: "Julian Elischer" Cc: Luigi Rizzo , ales.cerri@tiscali.it, FreeBSD Net 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 19:43:54 -0000 > -----Original Message----- > From: Julian Elischer [mailto:julian@elischer.org]=20 > Sent: Tuesday, December 11, 2007 10:30 AM > To: Li, Qing > Cc: Luigi Rizzo; FreeBSD Net; ales.cerri@tiscali.it > Subject: Re: arp rewrite... >=20 > 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=20 > >> lasted updated on June-8-2007. It was based on then =20 > 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.=20 > >> Again, 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. > >=20 > > I think that breaking the arp code from the routing code need to=20 > > proceed. > >=20 > > I see no reason to not have reference counted links from=20 > the routes to=20 > > the arp code (for optimisation and compat reasons), but it=20 > should be=20 > > self standing. > >=20 > > 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=20 > support for multiple routing tables into 6.x or at latest 7.x >=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=20 > time) of tables for ipv4 only.. it will do for my purposes,=20 > but should have little impact on the API/ABI. in -current the=20 > requirement for ABI compatibility is not there so I can do=20 > proper rewrite. Which I think would include a rewrite of the=20 > 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 Sorry, the code is not in P4. I can create a tarball out of all the whole files and send it to ya if that works? -- Qing >=20 > >=20 > >=20 > >> > >> -- Qing > >> > >> > >>> -----Original Message----- > >>> From: owner-freebsd-net@freebsd.org=20 > >>> [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=20 > design, which=20 > >>> i subsequently took over and with a student, Alessandro=20 > Cerri, (I am=20 > >>> Cc-ing him) did a first implementation. This was probably=20 > around 2003. > >>> > >>> Then Qing-li (Sp?) took over development of that code -=20 > last i heard=20 > >>> of the code was around last summer. > >>> > >>> I think our code at least was based on 4.x so it probably did not=20 > >>> address locking very much (not sure how the routing code=20 > is locked=20 > >>> these days, anyways). > >>> > >>> Alessandro is actually around again playing with FreeBSD=20 > so he may=20 > >>> remember more details (it was his thesis, after all!) > >>> > >>> cheers > >>> luigi > >>> _______________________________________________ > >>> freebsd-net@freebsd.org mailing list=20 > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net > >>> To unsubscribe, send any mail to=20 > "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=20 > "freebsd-net-unsubscribe@freebsd.org" >=20 >=20