Skip to content

Add IPv6 Network Discovery

[email protected] u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 12 repliesIn review
  2. v33 patches 3 repliesSuperseded
  3. v24 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch4 repliesSuperseded

Changes in v4 from the cover letter

- Removed the changes that were mistakenly pulled from the local workspace.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: ipv6: Add support for default gateway discovery.cmd/Kconfig include/ndisc.h include/net.h +4 more+338 -128 replies
2/3test/py: IPv6 network discovery testconfigs/sandbox64_defconfig configs/sandbox_defconfig configs/sandbox_flattree_defconfig +1 more+36 -12 replies
3/3test: eth: IPv6 network discovery unit testtest/dm/eth.c+88 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchViacheslav MitrofanovSergei Antonov
1/3T-b T-b R-b T-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Add IPv6 Network Discovery

From: Ehsan Mohandesi <[email protected]>

This series adds IPv6 network discovery to U-Boot. When an IPv6 command is run in U-Boot, it sends a router solicitation (RS) message to the network. The router on the network responds with a router advertisement (RA) message. Then U-Boot processes the RA message and sets the gatewayip6 and net_prefix_length environment variables.
It is based on RFC 4861, but not everything in the RFC is supported here.
https://www.rfc-editor.org/rfc/rfc4861

Changes in v4:
- Removed the changes that were mistakenly pulled from the local workspace.

Changes in v3:
- Removed the extra revert commit that was mistakenly added in v2.

Changes in v2:
- Improved IPv6 network discovery code.
- Added IPv6 network discovery feature test (Python test).
- Added unit tests (C code).

Ehsan Mohandesi (3):
net: ipv6: Add support for default gateway discovery. test/py: IPv6 network discovery test
test: eth: IPv6 network discovery unit test

 cmd/Kconfig                        |   6 +
 configs/sandbox64_defconfig        |   2 +
 configs/sandbox_defconfig          |   2 +
 configs/sandbox_flattree_defconfig |   2 +
 include/ndisc.h                    |  35 ++++++
 include/net.h                      |   2 +-
 include/net6.h                     |  40 ++++++
 net/ndisc.c                        | 243 +++++++++++++++++++++++++++++++++++--
 net/net.c                          |  23 +++-
 net/net6.c                         |   1 +
 test/dm/eth.c                      |  88 ++++++++++++++
 test/py/tests/test_net.py          |  31 ++++-
 12 files changed, 462 insertions(+), 13 deletions(-)
Signature · 1 line
1.8.3.1