fib semantic matching
Subsystems (2)
David Miller
maintainercover fib semantic matching
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 <[email protected]>