* [PATCH 0/2] fib semantic matching
@ 2011-03-07 23:13 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2011-03-07 23:13 UTC (permalink / raw)
To: netdev
fib_semantic_match() creates unnecessary overhead on route lookups
for two reasons:
1) It does type validation at run time instead of when we insert
the route.
2) Argument passing is expensive because it does it's work as
a seperate function.
So these two patches move type validation into fib_create_info(),
and then we inline fib_semantic_match() completely into check_leaf().
This is good for 50+ cycle gain on output route lookups on Niagara2.
Signed-off-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-07 23:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-07 23:13 [PATCH 0/2] fib semantic matching David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).