From: Greg KH <gregkh@linuxfoundation•org>
To: Jakub Kicinski <kuba@kernel•org>
Cc: davem@davemloft•net, netdev@vger•kernel.org, rafael@kernel•org,
andrew@lunn•ch, hkallweit1@gmail•com, linux@armlinux•org.uk,
robh+dt@kernel•org, frowand.list@gmail•com,
heikki.krogerus@linux•intel.com, devicetree@vger•kernel.org
Subject: Re: [PATCH net-next 3/4] device property: add a helper for loading netdev->dev_addr
Date: Tue, 5 Oct 2021 17:57:54 +0200 [thread overview]
Message-ID: <YVx2AvEgLFx06M5U@kroah.com> (raw)
In-Reply-To: <20211005155321.2966828-4-kuba@kernel.org>
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@kernel•org>
> ---
> drivers/base/property.c | 20 ++++++++++++++++++++
> include/linux/property.h | 2 ++
> 2 files changed, 22 insertions(+)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation•org>
next prev parent reply other threads:[~2021-10-05 15:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-05 15:53 [PATCH net-next 0/4] net: add a helpers for loading netdev->dev_addr from FW Jakub Kicinski
2021-10-05 15:53 ` [PATCH net-next 1/4] of: net: add a helper for loading netdev->dev_addr Jakub Kicinski
2021-10-05 16:15 ` Rob Herring
2021-10-05 16:29 ` Jakub Kicinski
2021-10-05 16:39 ` Rob Herring
2021-10-05 16:54 ` Jakub Kicinski
2021-10-05 15:53 ` [PATCH net-next 2/4] ethernet: use of_get_ethdev_address() Jakub Kicinski
2021-10-05 15:53 ` [PATCH net-next 3/4] device property: add a helper for loading netdev->dev_addr Jakub Kicinski
2021-10-05 15:57 ` Greg KH [this message]
2021-10-06 7:43 ` Heikki Krogerus
2021-10-06 12:59 ` Jakub Kicinski
2021-10-05 15:53 ` [PATCH net-next 4/4] ethernet: use device_get_ethdev_addr() Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YVx2AvEgLFx06M5U@kroah.com \
--to=gregkh@linuxfoundation$(echo .)org \
--cc=andrew@lunn$(echo .)ch \
--cc=davem@davemloft$(echo .)net \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=frowand.list@gmail$(echo .)com \
--cc=heikki.krogerus@linux$(echo .)intel.com \
--cc=hkallweit1@gmail$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=netdev@vger$(echo .)kernel.org \
--cc=rafael@kernel$(echo .)org \
--cc=robh+dt@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox