ice_devlink_local_fwd_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual ✨ this one is a tiny little function called ice_devlink_local_fwd_get, and honestly? she's short, she's sweet, she's giving "I do exactly one thing and I do it flawlessly" energy πŸŽ€


🌸 NAME 🌸

ice_devlink_local_fwd_get β€” get the local_fwd parameter πŸ’…

no cap, that's it, that's the whole job. she gets. she doesn't set, she doesn't validate, she just... gets 🫢


✨ SYNOPSIS ✨

int ice_devlink_local_fwd_get (struct devlink *devlink , u32 id , struct
       devlink_param_gset_ctx *ctx , struct netlink_ext_ack *extack );

look at that signature, iconic 😭 four arguments, returns an int, and yes we'll go through every single one of them because we don't skip over things in this house πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • devlink β€” pointer to the devlink instance πŸ’– literally the whole context of the operation, your main character, the one who holds it all together
  • id β€” the parameter ID to set 🌸 (yes the doc says "to set", we're not gonna argue with the kernel docs, we're just gonna relay the message fr fr)
  • ctx β€” the context where the parameter value gets stored πŸŽ€ this is where the good stuff lands
  • extack β€” the netlink extended ACK structure 🧚 that's your lil feedback channel, iykyk

⭐ RETURN ⭐

Zero. 🎯

that's right, she returns zero. nothing else. no drama, no surprises, no "well actually it depends". zero. periodt πŸ’…


🌈 SEE ALSO 🌈

okay this list is a whole friend group, buckle up bestie, because we're naming everyone 🫢

like I said. a whole friend group. every single one of them got an invite to the function party πŸŽ‰

ngl bestie, if you were looking for the setter, that's ice_devlink_local_fwd_set(9) β€” this one is strictly the getter, don't @ me 😌

and that's the page!! short, sweet, zero-returning, absolutely slaying πŸ’–

sign-off time: this lil beauty comes from the kernel source path ./drivers/net/ethernet/intel/i... (yes it's literally truncated just like that in the original, we don't editorialize πŸ’€) and it's dated October 2026 πŸ—“οΈ stay cozy, keep reading your manpages, and remember β€” zero is a valid return value and she's thriving πŸ¦‹βœ¨

πŸ“¦ where this page comes from