i40e_vsi_se...e_map_mqprio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_vsi_setup_queue_map_mqprio πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” literally the group chat of Linux networking πŸ’… this one's a tiny function page from the i40e driver, and yes we're gonna read it together, no skimming 🫢


✨ NAME ✨

i40e_vsi_setup_queue_map_mqprio β€” Prepares mqprio based tc_config. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int i40e_vsi_setup_queue_map_mqprio (struct i40e_vsi *vsi , struct i40e_vsi_context *ctxt , u8 enabled_tc );

not me reading this signature three times 😭 it takes three things and returns an int, slay


🌸 ARGUMENTS 🌸

here's the cast, main character energy each and every one πŸ‘‘

  • vsi β€” the VSI being configured. this is the thing we're touching, bestie
  • ctxt β€” the VSI context structure. its little sidekick holding context
  • enabled_tc β€” number of traffic classes to enable, a u8 of pure potential ✨

πŸŽ€ DESCRIPTION πŸŽ€

So what does it actually do? Prepares the VSI tc_config to have queue configurations based on MQPRIO options. that's the whole job β€” lowkey simple, highkey important if you care about traffic classes πŸ’œ

like it's giving "setup era", not "do everything era". periodt πŸ¦‹


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the source of truth:

  • Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c

and then... the friend group. the whole friend group. all 350-ish of them, no cap πŸ”₯ i did NOT skip one, i would never πŸ™ˆ


ngl bestie, that's the entire friend group and you're now officially caught up on i40e lore πŸ’€ iykyk

and that's the page!! mwah πŸ’‹ this little beauty lives in ./drivers/net/ethernet/intel/i40e, version date October 2026 β€” go off, you icon πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from