ice_eswitch_mode_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is ice_eswitch_mode_get(9) from the Kernel API Manual, and the whole vibe is: get current eswitch mode. That's it, that's the name β€” she's literally the getter for the current eswitch mode πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the signature, and we copy it exactly because we do not mess with C:

int ice_eswitch_mode_get (struct devlink *devlink , u16 *mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • devlink β€” pointer to devlink structure. iconic pointer behavior, no notes.
  • mode β€” output parameter for current eswitch mode. she's where the answer goes 🫢

🌈 SEE ALSO 🌈

the Kernel file is literally right here: ./drivers/net/ethernet/intel/ice/ice_eswitch.c β€” peep it if you're nosy in the best way:


xoxo bestie, the source/version footer is ./drivers/net/ethernet/intel/ice, the date is October 2026, and yep this is the ice_eswitch_mode_get(9) page from the Kernel API Manual β€” periodt πŸ’–βœ¨

πŸ“¦ where this page comes from