aboutsummaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2017-10-19 09:31:43 +0200
committerDavid S. Miller <[email protected]>2017-10-21 02:23:38 +0100
commitb65f164d37cf6d4aac59b0e13c2e5c4cfe293fd2 (patch)
tree906a4344f82a0e351af5d783bee4f60f02febe8b /net/tipc
parentf730cc9fee2b47c22964b4843a41d723f436b62a (diff)
ipv6: let trace_fib6_table_lookup() dereference the fib table
The perf traces for ipv6 routing code show a relevant cost around trace_fib6_table_lookup(), even if no trace is enabled. This is due to the fib6_table de-referencing currently performed by the caller. Let's the tracing code pay this overhead, passing to the trace helper the table pointer. This gives small but measurable performance improvement under UDP flood. Signed-off-by: Paolo Abeni <[email protected]> Acked-by: Steven Rostedt (VMware) <[email protected]> Acked-by: David Ahern <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions