aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-08 19:45:02 +0800
committerJakub Kicinski <kuba@kernel.org>2023-08-09 15:29:22 -0700
commit7d0bc2602308ec0a183241914b0646d99d0fb541 (patch)
treeb41726510cfa15a4b737c27c9550c7d7c7a6755f /tools/perf/scripts/python/export-to-sqlite.py
parent7654c109692521b0e1e582a37077b94f39c64beb (diff)
octeontx2-af: Remove redundant functions mac2u64() and cfg2mac()
The mac2u64() is used to convert an Ethernet MAC address into a u64 value, as this is exactly what ether_addr_to_u64() does. Similarly, the cfg2mac() is also the case. Use ether_addr_to_u64() and u64_to_ether_addr() instead of these two. Signed-off-by: Li Zetao <lizetao1@huawei.com> Acked-by: Geethasowjanya Akula <gakula@marvell.com> Link: https://lore.kernel.org/r/20230808114504.4036008-2-lizetao1@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions