[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMo8BfJja6c+Pppygk7kkuoALJqEcKZAkjpinO5Y7SRj9c1vow@mail.gmail.com>
Date: Fri, 1 Oct 2021 15:59:12 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
"open list:M68K ARCHITECTURE" <linux-m68k@...ts.linux-m68k.org>,
Chris Zankel <chris@...kel.net>,
"open list:TENSILICA XTENSA PORT (xtensa)"
<linux-xtensa@...ux-xtensa.org>
Subject: Re: [PATCH net-next 01/11] arch: use eth_hw_addr_set()
On Fri, Oct 1, 2021 at 2:32 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> 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.
>
> Convert misc arch drivers from memcpy(... ETH_ADDR) to eth_hw_addr_set():
>
> @@
> expression dev, np;
> @@
> - memcpy(dev->dev_addr, np, ETH_ALEN)
> + eth_hw_addr_set(dev, np)
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> --
> CC: Geert Uytterhoeven <geert@...ux-m68k.org>
> CC: linux-m68k@...ts.linux-m68k.org
> CC: Chris Zankel <chris@...kel.net>
> CC: Max Filippov <jcmvbkbc@...il.com>
> CC: linux-xtensa@...ux-xtensa.org
> ---
> arch/m68k/emu/nfeth.c | 2 +-
> arch/xtensa/platforms/iss/network.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
For xtensa:
Acked-by: Max Filippov <jcmvbkbc@...il.com>
--
Thanks.
-- Max
Powered by blists - more mailing lists