Page MenuHomeFreeBSD

Always NETIF_OPEN_CLOSE_ONCE
ClosedPublic

Authored by bapt on Oct 12 2016, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 17 2024, 2:41 AM
Unknown Object (File)
Jan 28 2024, 6:46 AM
Unknown Object (File)
Dec 20 2023, 3:16 AM
Unknown Object (File)
Dec 16 2023, 1:14 PM
Unknown Object (File)
Dec 16 2023, 1:14 PM
Unknown Object (File)
Dec 7 2023, 12:37 AM
Unknown Object (File)
Nov 26 2023, 10:30 AM
Unknown Object (File)
Nov 26 2023, 12:57 AM

Details

Summary

When NETIF_OPEN_CLOSE_ONCE in rS201932 it was claimed that uboot was
was actually needing that behaviour. but all our u-boot loader are now
defining the flag.

Only the loader.efi is not defining it.

Remove the alternate code.

It vastly speeds up netbooting with loader.efi

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bapt retitled this revision from to Always NETIF_OPEN_CLOSE_ONCE.
bapt updated this object.
bapt edited the test plan for this revision. (Show Details)
emaste added inline comments.
sys/boot/powerpc/kboot/Makefile
74 ↗(On Diff #21317)

-mcpu flag not needed?

Readd -mcpu dropped by accident

bapt marked an inline comment as done.Oct 12 2016, 8:27 PM
bapt added inline comments.
sys/boot/powerpc/kboot/Makefile
74 ↗(On Diff #21317)

oups :) fixed

sys/boot/powerpc/ps3/Makefile
74 ↗(On Diff #21320)

another -mcpu lost?:D

bapt marked 2 inline comments as done.

Another mcpu lost

sys/boot/powerpc/ps3/Makefile
74 ↗(On Diff #21320)

thanks fixed

Well, the claim that U-Boot requires !NETIF_OPEN_CLOSE_ONCE behavior actually is from r177108 so you probably should check with raj@ that this actually no longer is the case and the arm ubldr currently is doing the right thing.

Well the arm ubldr is built since 2015 with NETIF_OPEN_CLOSE_ONCE

gonzo edited edge metadata.

This patch fixes netboot on U-Boot + loader.efi on RPi 3

This revision is now accepted and ready to land.Oct 13 2016, 5:36 PM
This revision was automatically updated to reflect the committed changes.