diff options
author | Jakub Kicinski <[email protected]> | 2021-10-18 14:10:02 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-19 12:46:24 +0100 |
commit | e80094a473eefad9d856ce3ab0d7afdbb64800c4 (patch) | |
tree | 248188e81bcc28400b9daf986d2b41abe1dad90b /tools/perf/scripts/python/flamegraph.py | |
parent | 867a92846e2eee774a9a995793e3bb964676b33e (diff) |
ethernet: add a helper for assigning port addresses
We have 5 drivers which offset base MAC addr by port id.
Create a helper for them.
This helper takes care of overflows, which some drivers
did not do, please complain if that's going to break
anything!
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions