Page MenuHomeFreeBSD

flag to switch off bootp()
AbandonedPublic

Authored by kczekirda on May 31 2017, 2:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 12:07 AM
Unknown Object (File)
Mon, Apr 22, 12:07 AM
Unknown Object (File)
Sun, Apr 21, 11:54 PM
Unknown Object (File)
Feb 5 2024, 8:55 PM
Unknown Object (File)
Jan 19 2024, 6:16 AM
Unknown Object (File)
Dec 20 2023, 12:56 AM
Unknown Object (File)
Dec 17 2023, 7:14 AM
Unknown Object (File)
Sep 28 2023, 9:56 AM
Subscribers
None

Details

Summary

In most scenarios we can switch off bootp() but requires user activity to set the flag.

Sponsored by: Oktawave

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Is is really worth it (skipping one bootp call?)

It's the only one from pxeloader. I can safety remove the same from iPXE and in summary, during boot chain I have less a half of DHCP request in network. Let's say grain by grain...

It's the only one from pxeloader. I can safety remove the same from iPXE and in summary, during boot chain I have less a half of DHCP request in network. Let's say grain by grain...

I seems you just brought back the old code, so it seems to be ok in that regard. I have to say I am not overly happy about the preprocessor spaghetti and another chunk of code which is not built by default and therefore will not get tested. So I'll rather remain in neutral position. IMO the less such exceptions, the better and considering those "user controlled" features the loader already has - I really do not see much value in most of those;)

I think it is worth a discussion on arch@ before reading this kind of build time option.
@kczekirda do you start the discussion?

In my point of view I would like to use this flag in /etc/make.conf instead of patching local src. Having this flag allow users to use it no only for me. It's only a proposal, so the end of this story only up to you.

@bapt - Yes, I do.