ice_update_tx_topo_user_sel(9)
β¨ ice_update_tx_topo_user_sel(9) β¨
okay bestie, so this one's a kernel API manual page β the manual is literally called ice_update_tx_topo_user_sel(9) β and it's basically the "save my settings" button for your Tx topology vibes πΎπ
π NAME π
ice_update_tx_topo_user_sel β saves the user's preference into flash π«Ά like, it remembers what you picked so you don't have to pick it again, iconic behavior honestly
πΈ SYNOPSIS πΈ
int ice_update_tx_topo_user_sel (struct ice_pf *pf , int layers );
no cap, that's the whole signature β¨
π¦ ARGUMENTS π¦
pfβ pointer to thepfstructure π (yes, it's just a pointer to pf, that's the whole tea)layersβ the value that's gonna get saved in flash π this is the actual number we're committing to memory
π DESCRIPTION π
okay so the variable layers is literally defining the user's preference about how many layers live in the Tx Scheduler Topology Tree π that's the whole vibe.
and this choice should be stored in the PFA TLV field so the driver can just pick it up next time during init β like a little love note from past-you to future-driver ππ«Ά
fr fr, the storing is the whole point. if it doesn't get saved, future init is gonna be standing there like "girl what did we even decide" π
β RETURN β
zerowhen the save was successful π slay, it worked- negative values otherwise π aka something went sideways
π SEE ALSO π
so there's a whole friend group here, and honestly they all ate:
- Kernel file
./drivers/net/ethernet/intel/ice/devlink/devlink.c 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_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_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)
and that's the page bestie π one last thing β the footer vibes are from ./drivers/net/ethernet/intel/i... and it's dated October 2026, so yeah, we're reading from the future apparently π₯π periodt.
π¦ 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