mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 0/4] net: ethernet address helpers for board code
Date: Tue, 26 Nov 2024 16:17:40 +0100	[thread overview]
Message-ID: <20241126151744.3621717-1-a.fatoum@pengutronix.de> (raw)

Boards with switches that do MAC address assignment in barebox may want
to know which addresses were assigned and which weren't, so they can
pass through the rest to Linux userspace to be used e.g. for the bridge
ethernet address.

This adds some helpers to facilitate this. The board code making use of
this will follow seperately.

Ahmad Fatoum (4):
  net: add ethaddr sequence handling
  net: factor out eth_of_get_fixup_node
  net: export list of registered ethernet addresses
  net: implement ethaddr_string_cmp()

 include/net.h | 35 +++++++++++++++++++++++++++++++++++
 net/eth.c     | 40 +++++++++++++++++++++-------------------
 net/lib.c     | 17 +++++++++++++++++
 3 files changed, 73 insertions(+), 19 deletions(-)

-- 
2.39.5




             reply	other threads:[~2024-11-26 15:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-26 15:17 Ahmad Fatoum [this message]
2024-11-26 15:17 ` [PATCH 1/4] net: add ethaddr sequence handling Ahmad Fatoum
2024-11-26 15:17 ` [PATCH 2/4] net: factor out eth_of_get_fixup_node Ahmad Fatoum
2024-11-26 15:17 ` [PATCH 3/4] net: export list of registered ethernet addresses Ahmad Fatoum
2024-11-26 15:17 ` [PATCH 4/4] net: implement ethaddr_string_cmp() Ahmad Fatoum

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=20241126151744.3621717-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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