Home
last modified time | relevance | path

Searched hist:"4789 b57af37f75024e02954dba23bebe25b7133a" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/
H A Dskge.cdiff 4789b57af37f75024e02954dba23bebe25b7133a Mon Oct 18 09:29:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> ethernet: sky2/skge: 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.

Read the address into an array on the stack, then call
eth_hw_addr_set().

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dsky2.cdiff 4789b57af37f75024e02954dba23bebe25b7133a Mon Oct 18 09:29:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> ethernet: sky2/skge: 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.

Read the address into an array on the stack, then call
eth_hw_addr_set().

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>