ice_devlink_destroy_pf_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay so this is ice_devlink_destroy_pf_port(9), straight out of the Kernel API Manual, and it's genuinely iconic in a "quietly doing cleanup" kind of way ✨


✨ NAME ✨

ice_devlink_destroy_pf_port β€” destroy the devlink_port for this PF. That's it, that's the whole job 🫢


🌸 SYNOPSIS 🌸

void ice_devlink_destroy_pf_port (struct ice_pf *pf );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pf β€” the PF to cleanup. That's your main character right there πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

So what this does is unregister the devlink_port structure that's associated with this PF. Bye bye, port registration, we hardly knew ye 😭

⚠️ Okay but for real, ngl β€” this function has to be called under devl_lock. Not optional, not a vibe suggestion, it's the rule. Respect the lock fr fr πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/ice/devlink/port.c β€” and literally all of these besties:


Alright bestie, that's the page! πŸ’œ Sourced from ./drivers/net/ethernet/intel/i..., dated October 2026, and this whole thing lives under ice_devlink_destroy_pf_port(9) β€” go forth and destroy those PF ports responsibly, mwah πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from