]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ethernet: sparx5: use eth_hw_addr_gen()
authorJakub Kicinski <kuba@kernel.org>
Mon, 18 Oct 2021 21:10:07 +0000 (14:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 11:46:25 +0000 (12:46 +0100)
commit07a7ec9bdafee05d7f161a4a2159e94d4b6b3253
tree6245a606738a864d83b1175b7458d0a6dce61844
parentbe7550549e26d937ef055f6a90f370e7408b42ef
ethernet: sparx5: use eth_hw_addr_gen()

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.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c