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:32 +0200
committerJakub Kicinski <[email protected]>2020-11-06 11:28:49 -0800
commitf17bc33d7412bcca58825273d9f4abf84a87c4cb (patch)
tree8102ab98da045a8ab5e95f237c5020ff58d84a75 /tools/perf/util/scripting-engines/trace-event-python.c
parent8c09c9f9d846cdd8a92604c591132985b04fd1d6 (diff)
nexthop: Emit a notification when a nexthop group is modified
When a single nexthop is replaced, the configuration of all the groups using the nexthop is effectively modified. In this case, emit a notification in the nexthop notification chain for each modified group so that listeners would not need to keep track of which nexthops are member in which groups. The notification can only be emitted after the new configuration (i.e., 'struct nh_info') is pointed at by the old shell (i.e., 'struct nexthop'). Before that the configuration of the nexthop groups is still the same as before the replacement. 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