ice_get_tx_topo_user_sel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the pf structure. 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:


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