ice_devlink_local_fwd_get(9)
π ice_devlink_local_fwd_get(9) π
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 thedevlinkinstance π literally the whole context of the operation, your main character, the one who holds it all togetheridβ 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 landsextackβ 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 π«Ά
- the kernel file
./drivers/net/ethernet/intel/ice/devlink/devlink.cπ (that's home base, that's where she lives) ice_devlink_info_get(9)ice_devlink_reload_empr_start(9)ice_devlink_reinit_down(9)ice_devlink_reload_down(9)ice_devlink_reload_empr_finish(9)ice_get_tx_topo_user_sel(9)ice_update_tx_topo_user_sel(9)ice_devlink_tx_sched_layers_get(9)ice_devlink_tx_sched_layers_set(9)ice_devlink_tx_sched_layers_validate(9)ice_tear_down_devlink_rate_tree(9)ice_enable_custom_tx(9)ice_traverse_tx_tree(9)ice_devlink_rate_init_tx_topology(9)ice_devlink_rate_clear_tx_topology(9)ice_set_object_tx_share(9)ice_set_object_tx_max(9)ice_set_object_tx_priority(9)ice_set_object_tx_weight(9)ice_get_pi_from_dev_rate(9)ice_devlink_reinit_up(9)ice_devlink_reload_up(9)ice_devlink_local_fwd_mode_to_str(9)ice_devlink_local_fwd_str_to_mode(9)ice_devlink_local_fwd_set(9)ice_devlink_local_fwd_validate(9)ice_allocate_pf(9)ice_allocate_sf(9)ice_devlink_register(9)ice_devlink_unregister(9)ice_devlink_nvm_snapshot(9)ice_devlink_nvm_read(9)ice_devlink_devcaps_snapshot(9)ice_devlink_init_regions(9)ice_devlink_destroy_regions(9)
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
- 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