[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 11 Nov 2010 19:02:52 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ben Greear <greearb@...delatech.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] macvlan: lockless tx path
Le jeudi 11 novembre 2010 à 09:20 -0800, Ben Greear a écrit :
> I've shown you my algorithm that requires one to know the counter
> width, and in response you offered on that will work with 32 OR 64 bits,
> as long as you make some assumptions.
>
> If you have an algorithm that can properly deal with wrapped counters of
> arbitrary bits, then post it.
>
Its only a generalization of RRD algo
No rocket science I am afraid.
You can try all the numbers in `seq 32 64` in this order, to get a
generic algo.
If you can certify all your devices are 32 or 64, then the RRD method is
OK.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists