diff options
| author | Ido Schimmel <[email protected]> | 2018-12-19 06:08:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-19 12:28:07 -0800 |
| commit | 21ffedb6db5ac80b2081f425be358a976f5c14b7 (patch) | |
| tree | 21f62951aef8b74d96b5d501605bedef3cfdf7e3 /tools/perf/scripts/python/sched-migration.py | |
| parent | be2d6f421f680e01d58f7cd452646e0d8586d49b (diff) | |
mlxsw: spectrum_router: Propagate 'struct mlxsw_sp' further
Next patch is going to make RIF deletion more robust by removing
reliance on fragile mlxsw_sp_lower_get(). This is because a netdev is
not necessarily our upper anymore when its IP addresses are flushed.
The inet{,6}addr notification blocks are going to resolve 'struct
mlxsw_sp' using container_of(), but the functions they call still use
mlxsw_sp_lower_get().
As a preparation for the next patch, propagate 'struct mlxsw_sp' down to
the functions called from the notification blocks and remove reliance on
mlxsw_sp_lower_get().
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions