public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: seanedmond@linux.microsoft.com, u-boot@lists.denx.de,
	joe.hershberger@ni.com, rfried.dev@gmail.com,
	v.v.mitrofanov@yadro.com, seanedmond@microsoft.com
Subject: Re: [PATCH 1/2] net: dhcp6: Add DHCPv6 (DHCP for IPv6)
Date: Fri, 3 Feb 2023 17:12:26 -0500	[thread overview]
Message-ID: <Y92Gyj44YijrjuRb@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ3MFEkbC3NEZvGj7oeo3YQS8m86NpTu+XKzi+n97KAqrA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]

On Thu, Feb 02, 2023 at 10:12:04AM -0700, Simon Glass wrote:
> Hi,
> 
> On Wed, 1 Feb 2023 at 17:26, <seanedmond@linux.microsoft.com> wrote:
> >
> > From: Sean Edmond <seanedmond@microsoft.com>
> >
> > Adds DHCPv6 protocol to u-boot.
> >
> > Allows for address assignement with DHCPv6 4-message exchange
> > (SOLICIT->ADVERTISE->REQUEST->REPLY).  Includes DHCPv6 options
> > required by RFC 8415.  Also adds DHCPv6 options required
> > for PXE boot.
> >
> > New configs added:
> > - CMD_DHCP6
> > - DHCP6_PXE_CLIENTARCH
> > - DHCP6_PXE_DHCP_OPTION
> > - DHCP6_ENTERPRISE_ID
> >
> > Possible enhancements:
> > - Duplicate address detection on DHCPv6 assigned address
> > - IPv6 address assignement through SLAAC
> > - Sending/parsing other DHCPv6 options (NTP, DNS, etc...)
> >
> > Signed-off-by: Sean Edmond <seanedmond@microsoft.com>
> > ---
> >  cmd/Kconfig   |  26 ++
> >  include/net.h |   8 +-
> >  net/Makefile  |   1 +
> >  net/dhcpv6.c  | 741 ++++++++++++++++++++++++++++++++++++++++++++++++++
> >  net/dhcpv6.h  | 212 +++++++++++++++
> >  net/net.c     |  12 +
> >  6 files changed, 998 insertions(+), 2 deletions(-)
> >  create mode 100644 net/dhcpv6.c
> >  create mode 100644 net/dhcpv6.h
> 
> Can you write a sandbox test for this? See test/dm/eth.c

This should be like our existing dhcp test I think, under
test/py/tests/test_net.py

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2023-02-03 22:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02  0:26 [PATCH 0/2] net: DHCPv6 protocol and commands seanedmond
2023-02-02  0:26 ` [PATCH 1/2] net: dhcp6: Add DHCPv6 (DHCP for IPv6) seanedmond
2023-02-02 17:12   ` Simon Glass
2023-02-03 22:12     ` Tom Rini [this message]
2023-03-05 11:41   ` Vyacheslav V. Mitrofanov
2023-02-02  0:26 ` [PATCH 2/2] net: dhcp6: pxe: Add DHCP/PXE commands for IPv6 seanedmond
2023-03-05 11:44   ` Vyacheslav V. Mitrofanov
2023-03-05 11:39 ` [PATCH 0/2] net: DHCPv6 protocol and commands Vyacheslav V. Mitrofanov

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=Y92Gyj44YijrjuRb@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=joe.hershberger@ni.com \
    --cc=rfried.dev@gmail.com \
    --cc=seanedmond@linux.microsoft.com \
    --cc=seanedmond@microsoft.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=v.v.mitrofanov@yadro.com \
    /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