[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1305566204.2898.49.camel@edumazet-laptop>
Date: Mon, 16 May 2011 19:16:44 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Stefanos Harhalakis <v13@....gr>
Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next-2.6] ipv4: more compliant RFC 3168 support
Le dimanche 15 mai 2011 à 18:01 +0200, Eric Dumazet a écrit :
> Problem of this version is that common frames in the Internet (NOT_ECT
> or ECT_X or ECT_X) will take the longest path to come to "return 0;"
>
> a switch() version is fast because gcc emits a table based jump
Oh well, a table lookup is even faster...
I'll submit another version
--
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