ice_devlink_unregister(9)
π ice_devlink_unregister
okay so this page lives in the Kernel API Manual (section 9, kernel-space era π«Ά) and it's all about the un-registering side of devlink for the ice driver.
β¨ NAME β¨
ice_devlink_unregister β unregister the devlink resources for this PF, bestie. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
void ice_devlink_unregister (struct ice_pf *pf );
literally returns nothing (void, no cap) and takes exactly one thing π
π ARGUMENTS π
pfβ the PF structure you wanna clean up. that's the whole argument list, she's low maintenance π
π¦ DESCRIPTION π¦
so what does she actually do? she releases the resources that devlink was using, and she cleans up the associated memory. that's the vibe check and she passes it. π₯
like, think of it as the goodbye-hug function β everything devlink grabbed gets handed back, and the memory that came along with it gets tidied up too. no lingering mess, no ghost allocations, periodt. β¨
ngl this is the cleanup counterpart to ice_devlink_register(9) down in SEE ALSO β one sets the party up, this one turns the lights off. π
π SEE ALSO π
the source lives right here in the kernel tree, iconically:
Kernel file ./drivers/net/ethernet/intel/ice/devlink/devlink.c
and here's the whole friend group, in the exact order the page lists them β no skipping, no cutting, she keeps every single one π«Ά
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_get(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_nvm_snapshot(9)ice_devlink_nvm_read(9)ice_devlink_devcaps_snapshot(9)ice_devlink_init_regions(9)ice_devlink_destroy_regions(9)
anyway that's the page!! mwah π the source line on this one is ./drivers/net/ethernet/intel/i... (yes it's truncated with the little dots, that's just how the footer shows it, don't come for me π) and it's dated October 2026 β future girl summer β so yeah, ice_devlink_unregister(9), see you in the kernel tree, iykyk π§π
π¦ 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