ice_get_tx_topo_user_sel(9)
π ice_get_tx_topo_user_sel β like, the kernel API manual, but make it make sense β¨
Okay bestie, so this one is a little function from the ice driver's manual page (section 9, the kernel API one, iykyk) and honestly? It's giving "one job, does it well." Let's get into it π«Ά
πΈ NAME πΈ
ice_get_tx_topo_user_sel β literally just reads the user's choice out of flash πΎβ¨
π¦ SYNOPSIS π¦
int ice_get_tx_topo_user_sel (struct ice_pf *pf , uint8_t *layers );
π ARGUMENTS π
pfβ pointer to thepfstructure. That's the party you're working with, bestie πlayersβ the value that gets read from flash is gonna be saved right here. So this is where the tea lands π
π₯ DESCRIPTION π₯
So what it does is: it reads the user's preference for the Tx Scheduler Topology Tree from the PFA TLV. That's it. That's the whole vibe. No cap, it's just fetching your fave from flash so the rest of the driver knows what you picked π
β RETURN β
Returns zero when the read was successful β slay π β and negative values otherwise π (so like, if you see a negative number, the read did not eat).
π SEE ALSO π
The kernel file lives at ./drivers/net/ethernet/intel/ice/devlink/devlink.c β go look, it's iconic π
And here's the whole friend group, fr fr:
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_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_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)
Heads up bestie π«Ά the source path in the original shows up truncated as ./drivers/net/ethernet/intel/i... before the date β that's just the page footer doing its thing, not a typo on your end π
And that's the page, babes π signed off from the ./drivers/net/ethernet/intel/i... corner of the kernel, dated October 2026, ice_get_tx_topo_user_sel(9) β main character energy, 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