aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2017-10-16 16:26:35 +0200
committerDavid S. Miller <[email protected]>2017-10-16 21:30:32 +0100
commitc30f5d012edf755959c44d71757fbf4648ad75a8 (patch)
treee71fec02c0ce1a063705356e3d2942b39b0744a7 /tools/perf/scripts/python/bin/stackcollapse-report
parent36c0a9dfc6613242ba1de012e2d15145cdaae805 (diff)
mlxsw: spectrum: Move netdevice NB to struct mlxsw_sp
So far, all netdevice notifications that the driver cared about were related to its own ports, and mlxsw_sp could be retrieved from the netdevice's private data. For IP-in-IP offloading however, the driver cares about events on foreign netdevices, and getting at mlxsw_sp or router data structures from the handler is inconvenient. Therefore move the netdevice notifier blocks from global scope to struct mlxsw_sp to allow retrieval from the notifier block pointer itself. 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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions