aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2018-02-27 14:53:46 +0100
committerDavid S. Miller <[email protected]>2018-02-27 14:46:27 -0500
commit803335acbe3371f1c0e9dd02f318b16f5abc22f4 (patch)
tree7bbd1d24c2adff07c8bd7a1fadc43ed2f6d2e1df /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent169b5d95c15e01e08e1665bd8ceaff9bf8331c33 (diff)
mlxsw: Handle config changes pertinent to SPAN
For some netdevices, for which mlxsw offloads mirroring, may have a complex relationship between the declared intent and low-level device configuration. Trying to accurately track which changes might influence offloading decisions is finicky and error-prone. Instead, this patch introduces a function mlxsw_sp_span_entry_respin, which re-queries the configuration anew and, if different, removes the existing offloads and installs new ones. Call this function strategically at event handlers that might influence the mirroring configuration. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions