diff options
| author | Amit Cohen <[email protected]> | 2024-01-26 19:58:29 +0100 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-01-30 15:47:36 +0100 |
| commit | 8d8d33d4e38b5c60cdb3dcd6f190fcf91e306dd0 (patch) | |
| tree | 3a214477dc209bdb862088a4c8560ba3e62913f2 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c6ca2884ba043e89c3588a77ce0724a7e5868f85 (diff) | |
mlxsw: spectrum: Search for free LAD ID once
Currently, the function mlxsw_sp_lag_index_get() is called twice - first
as part of NETDEV_PRECHANGEUPPER event and later as part of
NETDEV_CHANGEUPPER. This function will be changed in the next patch. To
simplify the code, call it only once as part of NETDEV_CHANGEUPPER
event and set an error message using 'extack' in case of failure.
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions