ice_eswitch_cfg_vsi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_eswitch_cfg_vsi(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to the Kernel API Manual entry for ice_eswitch_cfg_vsi(9) β€” yes that's the real manual name, we're in the kernel docs section (section 9, the fun one) β€” and no, it's not scary, i promise. this is the little function that sets a VSI up so it can vibe in slow-path mode. that's the whole plot. let's get into it 🫢


✨ NAME ✨

ice_eswitch_cfg_vsi β€” configure VSI to work in slow-path

like, that's it. that's the job. it takes a VSI and gets it configured to live its slow-path life. iconic, honestly 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_eswitch_cfg_vsi(struct ice_vsi *vsi, const u8 *mac);

two arguments in, int out. classic. very demure, very kernel 🌈


πŸŽ€ ARGUMENTS πŸŽ€

  • vsi β€” the struct ice_vsi * β€” this is the VSI structure of the representee. yep, the one being represented. she's the main character here πŸ‘‘
  • mac β€” the const u8 * β€” the representee's MAC address. literally just the MAC. no cap πŸ’…

⭐ RETURN ⭐

  • 0 on success πŸŽ‰ (slay)
  • non-zero on error 😭 (not slay, but like, it happens)
fr fr bestie, check that return value. 0 is the green flag, anything else is the red flag and you should not just ignore it πŸ™ˆ

πŸ’– SEE ALSO πŸ’–

the whole friend group, in the source file:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c

and the linked crew (all (9) sections, all part of the same lore):

like i said. whole friend group. go read them, iykyk πŸ”₯


lowkey the most important part: this one only does the slow-path config. don't go expecting fast-path magic from it. it says what it does, it does what it says 🧚

and that's the page!! source is ./drivers/net/ethernet/intel/ice, dated October 2026, and it goes out under the ice_eswitch_cfg_vsi(9) header β€” periodt πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from