ixgbe_allocate_devlink(9)
π NAME π
ixgbe_allocate_devlink β Allocate devlink instance
okay so welcome to ixgbe_allocate_devlink(9) from the Kernel API Manual, bestie π
this page is literally all about allocating the devlink thing, and we're gonna get into it β¨
π¦ SYNOPSIS π¦
struct ixgbe_adapter * ixgbe_allocate_devlink (struct device *dev );
π ARGUMENTS π
devβ the device to allocate devlink for, periodt π
πΈ DESCRIPTION πΈ
So the vibe here is: allocate a devlink instance for this physical function. That's the whole main-character job, no cap β¨
β RETURN β
On success, you get a pointer to the device adapter structure π«Ά
When allocation fails, it's ERR_PTR(-ENOMEM) β yes, the allocation-failed moment, lowkey important to check π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/intel/ixgbe/devlink/devlink.cβ like, the source file bestie π ixgbe_devlink_reload_empr_start(9)ixgbe_devlink_reload_empr_finish(9)ixgbe_devlink_set_switch_id(9)ixgbe_devlink_register_port(9)
that's the tea from the Kernel API Manual corner: source/version ./drivers/net/ethernet/intel/i..., dated October 2026 π mwah πβ¨
π¦ 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