netdev_boot_setup_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ netdev_boot_setup_check(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one's a lil kernel function that does exactly one job and does it iconically β€” checking whether your netdevice got any settings handed to it at boot time.


πŸŽ€ NAME πŸŽ€

netdev_boot_setup_check β€” check boot time settings, that's literally it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

int netdev_boot_setup_check (struct net_device *dev );

like yes, it takes one (1) argument, it returns an int, we love a low-maintenance king πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • dev β€” the netdevice 🫢 (the actual network device we're checking on, main character energy fr fr)

✨ DESCRIPTION ✨

So here's the tea β˜• β€” this function checks the boot time settings for the device. The found settings get set for the device so they can be used later in the device probing. Like it's doing the pre-work so probing doesn't have to πŸ™ˆ

And the return value? super simple, no cap:

  • returns 0 if no settings found
  • returns 1 if they are found πŸ”₯

that's it, that's the function, she's efficient πŸ’…


🌈 SEE ALSO 🌈

go read those too, iykyk πŸ“šβœ¨


ngl this whole page lives in ./drivers/net/ethernet/8390 and it's dated October 2026 β€” so yeah, mark your calendars bestie πŸ—“οΈπŸ’œ and that's the whole Kernel API Manual entry, periodt. πŸŽ€πŸ¦‹πŸ’–
πŸ“¦ where this page comes from