From owner-freebsd-net Sun Apr 23 20:33: 5 2000 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 0D43837B505; Sun, 23 Apr 2000 20:33:03 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id XAA31816; Sun, 23 Apr 2000 23:33:00 -0400 (EDT) (envelope-from wollman) Date: Sun, 23 Apr 2000 23:33:00 -0400 (EDT) From: Garrett Wollman Message-Id: <200004240333.XAA31816@khavrinen.lcs.mit.edu> To: Julian Elischer Cc: Archie Cobbs , pavel@alum.mit.edu, nsayer@sftw.com, luigi@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Proposal for ethernet, bridging, netgraph In-Reply-To: <3902A56B.167EB0E7@elischer.org> References: <200004230411.VAA17652@bubba.whistle.com> <3902A56B.167EB0E7@elischer.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Theoretically this is not needed. We already have the address of > the ifnet structure and thus the arpcom, so we have the flags, AND > the local ethernet address, so we can just do the same test that > is presently done in the drivers. We have all the the info we need. Some drivers are kind enough to tell is without needing to test. A suitable microbenchmark would tell whether or not it's worth it. (I expect it's a wash, personally -- the MAC address is likely to already be in cache by the time we care, and it's no more than eight bytes long.) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message