summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-18 14:10:02 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-19 12:46:24 +0100
commite80094a473eefad9d856ce3ab0d7afdbb64800c4 (patch)
tree248188e81bcc28400b9daf986d2b41abe1dad90b /tools/perf/scripts/python/export-to-sqlite.py
parent867a92846e2eee774a9a995793e3bb964676b33e (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 <kuba@kernel.org> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Shannon Nelson <snelson@pensando.io> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions