Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2000 23:33:00 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Julian Elischer <julian@elischer.org>
Cc:        Archie Cobbs <archie@whistle.com>, pavel@alum.mit.edu, nsayer@sftw.com, luigi@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: Proposal for ethernet, bridging, netgraph
Message-ID:  <200004240333.XAA31816@khavrinen.lcs.mit.edu>
In-Reply-To: <3902A56B.167EB0E7@elischer.org>
References:  <200004230411.VAA17652@bubba.whistle.com> <3902A56B.167EB0E7@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 23 Apr 2000 00:25:31 -0700, Julian Elischer <julian@elischer.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004240333.XAA31816>