__igb_close(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __igb_close (9) β€” from the Kernel API Manual, bestie ✨

okay so picture this: it's giving kernel-internal, section 9, and the whole thing lives in the Kernel API Manual. this page? it's about turning a network interface OFF. gracefully. iconically. with zero drama. let's get into it πŸŽ€


✨ NAME ✨

__igb_close β€” literally just disables a network interface. that's the whole vibe. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

int __igb_close (struct net_device *netdev , bool suspending );

look at her. three tokens, one return type, zero nonsense. slay πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the network interface device structure. like, the actual thing we're shutting down. main character energy fr.
  • suspending β€” a bool that tells you we're in a suspend call. so like, is this a "power nap" close or a "goodnight forever" close? this flag knows 🫢

πŸ’– DESCRIPTION πŸ’–

it returns 0. that's it. that's the return value. this function is not allowed to fail β€” the kernel said no failing today, bestie, and honestly? respect ✨

the close entry point gets called when an interface is de-activated by the OS. key detail: the hardware is still under the driver's control but it needs to be disabled. so we're not yeeting the hardware out of our lives, we're just... putting it in time-out πŸ’€

what actually happens: a global MAC reset is issued to stop the hardware, and then all transmit and receive resources are freed. like a full closet clean-out but for TX and RX. obsessed with the efficiency 🧚


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file, first of all:

  • ./drivers/net/ethernet/intel/igb/igb_main.c

and then every single sibling in the family, because this driver has a LOT of relatives and we're not skipping a single one (iykyk):

that's the whole group chat, nobody left on read πŸ’œ


ngl, the only thing you need to remember is: it always returns 0, and it is not allowed to fail. that's not a suggestion, that's the rule 🌈

and that's the page, bestie 🫢 this one came from ./drivers/net/ethernet/intel/igb, dated October 2026, and yeah β€” __igb_close(9) is still the moment, still the icon, still returning 0 with her whole chest πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from