UEFI networking support including ipv6 + dhcpv6
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest20 patches 2 repliesIn review
- v419 patches 2 repliesSuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | Revert "net/http: Allow use of non-standard TCP/IP ports"docs/ grub-core/ | +2 | 1 reply | |
| 2/20 | net: read bracketed ipv6 addrs and port numbersdocs/ grub-core/ grub-core/ +2 more | +104 | 1 reply | |
| 3/20 | net/http: check result of grub_netbuff_put() in http_receive()grub-core/ | +3 | 0 replies | |
| 4/20 | efinet + bootp: add net_bootp6 command supporting dhcpv6grub-core/ grub-core/ grub-core/ +4 more | +1267 | 0 replies | |
| 5/20 | efinet: add structures for PXE messagesgrub-core/ include/ | +46 | 0 replies | |
| 6/20 | grub.texi: Add net_bootp6 doumentationdocs/ | +17 | 0 replies | |
| 7/20 | bootp: Process DHCPACK packet during HTTP Bootgrub-core/ include/ | +56 | 0 replies | |
| 8/20 | efinet Configure network from UEFI device pathgrub-core/ include/ | +274 | 0 replies | |
| 9/20 | efinet: set DNS server from UEFI protocolgrub-core/ include/ | +237 | 0 replies | |
| 10/20 | Support UEFI networking protocolsgrub-core/ grub-core/ grub-core/ +15 more | +4529 | 0 replies | |
| 11/20 | efinet: also use the firmware acceleration for httpgrub-core/ | +4 | 0 replies | |
| 12/20 | efi/http: match protocol+hostname of boot url in root_urlgrub-core/ | +19 | 0 replies | |
| 13/20 | Add fw_path variable to detect config file on efigrub-core/ grub-core/ | +31 | 0 replies | |
| 14/20 | use fw_path prefix when fallback searching for grub configgrub-core/ | +3 | 0 replies | |
| 15/20 | Try mac/guid/etc before grub.cfg on tftp config filesgrub-core/ grub-core/ grub-core/ | +82 | 0 replies | |
| 16/20 | Prepend prefix when HTTP path is relativegrub-core/ grub-core/ | +73 | 0 replies | |
| 17/20 | efi/http: Enclose literal IPv6 addresses in square bracketsgrub-core/ | +28 | 0 replies | |
| 18/20 | http: Prepend prefix when the HTTP path is relativegrub-core/ | +9 | 0 replies | |
| 19/20 | normal/main: Discover the device to read the config from as a fallbackgrub-core/ | +51 | 0 replies | |
| 20/20 | efinet: Add DHCP proxy supportgrub-core/ | +25 | 0 replies |
Reviews trailers per patch
2 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Michael Chang | Robbie Harwood | Javier Martinez Canillas | Peter Jones | Sebastian Krahmer | Aaron Miller | Daniel Kiper |
|---|---|---|---|---|---|---|---|
| 1/20 | R-b | ||||||
| 2/20 | Co-authored-by | Co-authored-by | R-b | ||||
| 3/20 | Co-authored-by | ||||||
| 4/20 | Co-authored-by | Co-authored-by | |||||
| 5/20 | Co-authored-by | ||||||
| 6/20 | |||||||
| 7/20 | |||||||
| 8/20 | |||||||
| 9/20 | |||||||
| 10/20 | Co-authored-by | Co-authored-by | Co-authored-by | Co-authored-by | |||
| 11/20 | |||||||
| 12/20 | |||||||
| 13/20 | Co-authored-by | Co-authored-by | |||||
| 14/20 | |||||||
| 15/20 | |||||||
| 16/20 | Co-authored-by | Co-authored-by | |||||
| 17/20 | |||||||
| 18/20 | Co-authored-by | ||||||
| 19/20 | Co-authored-by | ||||||
| 20/20 | Co-authored-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.
Cover letter [PATCH v5 00/20] UEFI networking support including ipv6 + dhcpv6
This series is an omnibus of changes we carry for networking that has accumulated since at least 2015. While most of it did not receive review when previously posted, one did, so I'm using that as an excuse to call this v4.
At the start, this includes a proposed revert of ac8a37dda0eabdd80506bebe4fb9a5a9fd227935 ("net/http: Allow use of non-standard TCP/IP ports"). In 2016, a different approach to this more in keeping with the way port numbers are typically specified was posted on-list:
https://lists.gnu.org/archive/html/grub-devel/2016-04/msg00071.html [1]
At least Debian, Red Hat, SUSE, and Ubuntu have carried it since then, which means that code in the wild expects this syntax, not the other syntax. (Others may have as well - I didn't do an exhaustive check - but hopefully that's enough to convey the point.)
At this point, the division of code between patches is mostly organic. I've folded bugfixes into their original commits and moved a few other things around, so while this doesn't exactly match the division in the rhboot tree, it does match the code. At this version, the only code differences are style adjustments and rebasing around the vlan changes that merged since 2.06.
Changes since last version are to address review from dkiper. Notably, docs have been added to the bracketed ipv6 commit, and a new commit has been added for the grub_netbuff_put() error check.
Be well,
--Robbie
Ian Page Hands (1):
efinet: Add DHCP proxy support
Javier Martinez Canillas (3):
efi/http: Enclose literal IPv6 addresses in square brackets
http: Prepend prefix when the HTTP path is relative normal/main: Discover the device to read the config from as a fallback
Mark Salter (1):
use fw_path prefix when fallback searching for grub config
Michael Chang (6):
efinet: add structures for PXE messages
grub.texi: Add net_bootp6 doumentation
bootp: Process DHCPACK packet during HTTP Boot
efinet Configure network from UEFI device path
efinet: set DNS server from UEFI protocol
Support UEFI networking protocols
Paulo Flabiano Smorigo (1):
Add fw_path variable to detect config file on efi
Peter Jones (4):
efinet + bootp: add net_bootp6 command supporting dhcpv6
efinet: also use the firmware acceleration for http efi/http: match protocol+hostname of boot url in root_url Try mac/guid/etc before grub.cfg on tftp config files
Robbie Harwood (3):
Revert "net/http: Allow use of non-standard TCP/IP ports"
net: read bracketed ipv6 addrs and port numbers net/http: check result of grub_netbuff_put() in http_receive()
Stephen Benjamin (1):
Prepend prefix when HTTP path is relative
docs/grub.texi | 54 +- grub-core/Makefile.core.def | 12 + grub-core/io/bufio.c | 2 +- grub-core/kern/efi/efi.c | 96 +- grub-core/kern/ieee1275/init.c | 28 +- grub-core/kern/main.c | 22 +- grub-core/net/bootp.c | 965 ++++++++++++++++++- grub-core/net/drivers/efi/efinet.c | 521 +++++++++- grub-core/net/efi/dhcp.c | 357 +++++++ grub-core/net/efi/efi_netfs.c | 57 ++ grub-core/net/efi/http.c | 490 ++++++++++ grub-core/net/efi/ip4_config.c | 417 ++++++++ grub-core/net/efi/ip6_config.c | 423 +++++++++ grub-core/net/efi/net.c | 1416 ++++++++++++++++++++++++++++ grub-core/net/efi/pxe.c | 354 +++++++ grub-core/net/http.c | 73 +- grub-core/net/ip.c | 39 + grub-core/net/net.c | 225 ++++- grub-core/net/tftp.c | 9 +- grub-core/normal/main.c | 149 ++- include/grub/efi/api.h | 398 +++++++- include/grub/efi/dhcp.h | 347 +++++++ include/grub/efi/http.h | 215 +++++ include/grub/net.h | 81 ++ include/grub/net/efi.h | 144 +++ util/grub-mknetdir.c | 23 +- 26 files changed, 6731 insertions(+), 186 deletions(-) create mode 100644 grub-core/net/efi/dhcp.c create mode 100644 grub-core/net/efi/efi_netfs.c create mode 100644 grub-core/net/efi/http.c create mode 100644 grub-core/net/efi/ip4_config.c create mode 100644 grub-core/net/efi/ip6_config.c create mode 100644 grub-core/net/efi/net.c create mode 100644 grub-core/net/efi/pxe.c create mode 100644 include/grub/efi/dhcp.h create mode 100644 include/grub/efi/http.h create mode 100644 include/grub/net/efi.h
Signature · 1 line
2.40.0