i40e_devlink_destroy_port(9)
π i40e_devlink_destroy_port(9)
okay so welcome to the Kernel API Manual, bestie β today's episode is a tiny lil function with main character energy β¨
πΈ NAME πΈ
i40e_devlink_destroy_port β destroy the devlink_port for this PF π§¨
π SYNOPSIS π
void i40e_devlink_destroy_port (struct i40e_pf *pf );
literally one argument, no return value, no drama π
π¦ ARGUMENTS π¦
pfβ the PF to cleanup. that's it, that's the whole vibe check π«Ά
π DESCRIPTION π
okay so what this girl does is unregister the devlink_port structure that's associated with this PF. one job, and she ate π₯
like, the port had its moment, and now we're closing the tab on it. not me being emotional about a struct π
β SEE ALSO β
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_devlink.c i40e_alloc_pf(9)i40e_free_pf(9)i40e_devlink_register(9)i40e_devlink_unregister(9)i40e_devlink_set_switch_id(9)i40e_devlink_create_port(9)
the whole friend group fr fr π
ngl this is the cleanup half of the story β if you're out here creating ports, you better be out here destroying them too. balance, bestie π
that's the page, periodt π this lil icon lives in ./drivers/net/ethernet/intel/i40e, dated October 2026 β and yes she's still i40e_devlink_destroy_port(9), we stan a consistent queen ππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms