ixgbe_allocate_devlink(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯


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