aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2020-11-04 15:30:23 +0200
committerJakub Kicinski <[email protected]>2020-11-06 11:28:48 -0800
commit1c9cac65cecd4f98d8713ec0c737c38a26e5b5c2 (patch)
treeb1655b411451c04cfbfe797fe3ccce4173dfeb06 /tools/perf/util/scripting-engines/trace-event-python.c
parentc9448e828d113cd7eafe77c414127e877ca88b20 (diff)
nexthop: Add nexthop notification data structures
Add data structures that will be used for nexthop replace and delete notifications in the previously introduced nexthop notification chain. New data structures are added instead of passing the existing nexthop code structures directly for several reasons. First, the existing structures encode a lot of bookkeeping information which is irrelevant for listeners of the notification chain. Second, the existing structures can be changed without worrying about introducing regressions in listeners since they are not accessed directly by them. Third, listeners of the notification chain do not need to each parse the relatively complex nexthop code structures. They are passing the required information in a simplified way. Note that a single 'has_encap' bit is added instead of the actual encapsulation information since current listeners do not support such nexthops. Changes since RFC: * s/is_encap/has_encap/ Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions