aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2023-06-12 17:31:07 +0200
committerPaolo Abeni <[email protected]>2023-06-14 13:12:20 +0200
commit33d11c4e5ce922bc16493fc75ad3c20cc55ed88a (patch)
tree1389d03fbd04d65aa0fddcfd9bd9157190382635 /tools/perf/scripts/python/export-to-sqlite.py
parent571c56911b45059dbdd2fb7912152e3412b658cf (diff)
mlxsw: spectrum_router: Add a helper to check if netdev has addresses
This function will be useful later as the driver will need to retroactively create RIFs for new uppers with addresses. Add another helper that assumes RCU lock, and restructure the code to skip the IPv6 branch not through conditioning on the addr_list_empty variable, but by directly returning the result value. This makes the skip more obvious than it previously was. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Amit Cohen <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions