fib semantic matching
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipv4: Validate route entry type at insert instead of every lookup.net/ | +28 | 0 replies | |
| 2/2 | ipv4: Inline fib_semantic_match into check_leafnet/ net/ net/ | +51 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] 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]>