diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-18 16:50:12 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-10-20 12:39:44 +0300 |
commit | 251277af9c4fccc8969dbd56acebf11825d2c69c (patch) | |
tree | 086e19658e58797352c9320952cfde77dfab3a7d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c7b6128a8db1db6dd1a30a1bac72bcb1e57a094f (diff) |
atmel: use eth_hw_addr_set()
Commit 406f42fa0d3c ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.
Use a buffer on the stack. Note that atmel_get_mib() is a wrapper
around atmel_copy_to_host(). For the to device direction we just
need to make sure functions respect argument being cost.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211018235021.1279697-7-kuba@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions