Skip to content

net: Update fib_table_lookup tracepoints

[email protected] netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/ipv4: Udate fib_table_lookup tracepointinclude/trace/events/fib.h net/ipv4/fib_trie.c+52 -340 replies
2/3net/ipv6: Udate fib6_table_lookup tracepointinclude/trace/events/fib6.h net/core/net-traces.c net/ipv6/route.c+29 -130 replies
3/3net/ipv4: Remove tracepoint in fib_validate_sourceinclude/trace/events/fib.h net/ipv4/fib_frontend.c+0 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/3] net: Update fib_table_lookup tracepoints

From: David Ahern <[email protected]>

Update the FIB lookup tracepoints to include ip proto and port fields from the flow struct. In the process make the IPv4 tracepoint inline with IPv6 which is much easier to use and follow the lookup and result.

Remove the tracepoint in fib_validate_source which does not provide value above the fib_table_lookup which immediately follows it.

v2
- move CREATE_TRACE_POINTS for the v6 tracepoint to route.c to handle its need for an internal function to convert route type to error and handle IPv6 as a module or builtin. Reported by kbuild robot.

David Ahern (3):
net/ipv4: Udate fib_table_lookup tracepoint net/ipv6: Udate fib6_table_lookup tracepoint net/ipv4: Remove tracepoint in fib_validate_source

 include/trace/events/fib.h  | 107 ++++++++++++++++++--------------------------
 include/trace/events/fib6.h |  29 +++++++++---
 net/core/net-traces.c       |   4 --
 net/ipv4/fib_frontend.c     |   2 -
 net/ipv4/fib_trie.c         |  14 +++---
 net/ipv6/route.c            |   9 +++-
 6 files changed, 81 insertions(+), 84 deletions(-)
Signature · 1 line
2.11.0