From: Dave Taht <dave.taht@gmail.com>
To: Fred Baker <fred@cisco.com>
Cc: bloat-devel@lists.bufferbloat.net
Subject: Re: A tiny almost sorta kinda nearly minimal perfect hash for a mac classifier?
Date: Mon, 14 Nov 2011 08:44:37 +0100 [thread overview]
Message-ID: <CAA93jw5vPKwE_yARaf0Jc0Qq15VUQTmhh65SNqOh4LcAVoiYBA@mail.gmail.com> (raw)
In-Reply-To: <B26D654E-C6CB-4A1F-A299-E8FE2B3FEB43@cisco.com>
On Mon, Nov 14, 2011 at 3:41 AM, Fred Baker <fred@cisco.com> wrote:
>
> On Nov 14, 2011, at 10:22 AM, Sean Conner wrote:
>
>> Why not just use the lower N bits as the hash function?
>
> or
>
> unsigned macHash (unsigned long long macAddressClone) {
> return 0xFFF & (macAddressClone ^ (macAddressClone >> 12));
> }
>
> That allows you to keep different OUIs separated somewhat.
I should probably not have used 'arp' as an example, but suggested tcpdump.
Multicast and broadcast on 802.11 are 'special'. They are always
transmitted at the lowest rate possible (and eat up correspondingly
far more airtime), and in the case of power save mode, can be deferred
up to 200 ms, to wait for stations to be awake enough to 'hear' them.
So anything with the multicast mac bit set should end up dumped in a
special queue to manage that better.
Virtual interfaces on a given radio twiddle on the local mac bit and
then do arbitrary transforms elsewhere on the mac
> _______________________________________________
> Bloat-devel mailing list
> Bloat-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat-devel
>
--
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
FR Tel: 0638645374
http://www.bufferbloat.net
next prev parent reply other threads:[~2011-11-14 7:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-13 20:43 Dave Taht
2011-11-14 2:22 ` Sean Conner
2011-11-14 2:41 ` Fred Baker
2011-11-14 7:44 ` Dave Taht [this message]
2011-11-14 8:13 ` Sean Conner
2011-11-14 8:21 ` Dave Taht
2011-11-15 21:14 ` Sean Conner
2011-11-15 21:44 ` Jonathan Morton
2011-11-15 22:19 ` Dave Taht
2011-11-15 22:20 ` Dave Taht
2011-11-14 8:20 Sean Conner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA93jw5vPKwE_yARaf0Jc0Qq15VUQTmhh65SNqOh4LcAVoiYBA@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=bloat-devel@lists.bufferbloat.net \
--cc=fred@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox