RDMA/mlx5: Use dev_addr_mod()
authorJakub Kicinski <kuba@kernel.org>
Tue, 19 Oct 2021 18:26:03 +0000 (11:26 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 25 Oct 2021 17:33:09 +0000 (14:33 -0300)
commit50693e66fd3f089851c23a3b03bb6d6680fbdfd3
tree922a33dc7b3bde3e3d426af649eeadf9ab7ec910
parent10f7b9bc85ec2421c46588732ea72a58c00d0926
RDMA/mlx5: Use dev_addr_mod()

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.

Link: https://lore.kernel.org/r/20211019182604.1441387-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c