[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YVx2AvEgLFx06M5U@kroah.com>
Date: Tue, 5 Oct 2021 17:57:54 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, rafael@...nel.org,
andrew@...n.ch, hkallweit1@...il.com, linux@...linux.org.uk,
robh+dt@...nel.org, frowand.list@...il.com,
heikki.krogerus@...ux.intel.com, devicetree@...r.kernel.org
Subject: Re: [PATCH net-next 3/4] device property: add a helper for loading
netdev->dev_addr
On Tue, Oct 05, 2021 at 08:53:20AM -0700, Jakub Kicinski 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.
>
> There is a handful of drivers which pass netdev->dev_addr as
> the destination buffer to device_get_mac_address(). Add a helper
> which takes a dev pointer instead, so it can call an appropriate
> helper.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> drivers/base/property.c | 20 ++++++++++++++++++++
> include/linux/property.h | 2 ++
> 2 files changed, 22 insertions(+)
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists