diff options
author | 2023-08-08 19:45:03 +0800 | |
---|---|---|
committer | 2023-08-09 15:29:41 -0700 | |
commit | e62c7adfd4acc394c448870ba63d4315e7a662f6 (patch) | |
tree | 4d01815ae4bf7d614ed12184ea3989fc37b677c1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | octeontx2-af: Remove redundant functions mac2u64() and cfg2mac() (diff) | |
download | wireguard-linux-e62c7adfd4acc394c448870ba63d4315e7a662f6.tar.xz wireguard-linux-e62c7adfd4acc394c448870ba63d4315e7a662f6.zip |
octeontx2-af: Use u64_to_ether_addr() to convert ethernet address
Use u64_to_ether_addr() to convert a u64 value to an Ethernet MAC address,
instead of directly calculating, as this is exactly what this
function does.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Acked-by: Geethasowjanya Akula <gakula@marvell.com>
Link: https://lore.kernel.org/r/20230808114504.4036008-3-lizetao1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions