ice_eswitch_mode_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_eswitch_mode_set(9) β€” the glow-up edition

okay so bestie, welcome to section 9 of the Kernel API Manual β€” yes this is a kernel-doc moment, and no you may not skip it πŸŽ€ the star of the show today is ice_eswitch_mode_set, and honestly? she's giving "one job, does it well." ✨


🌸 NAME 🌸

ice_eswitch_mode_set β€” bestie. she sets a new eswitch mode. that's it. that's the whole vibe. no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_eswitch_mode_set (struct devlink *devlink , u16 mode , struct
netlink_ext_ack *extack );

lowkey iconic signature, ngl. returns an int, takes three things, we love a clean API 🫢


✨ ARGUMENTS ✨

  • devlink β€” pointer to the devlink structure πŸ’– literally the main character of this whole call.
  • mode β€” the eswitch mode we're switching to. it's a u16, it's the destination, it's the moment 🌈
  • extack β€” pointer to the extack structure. the receipts handler, if you will πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

okay so if you wanna go deeper (and you should), the source lives right here in the kernel tree:

./drivers/net/ethernet/intel/ice/ice_eswitch.c

and here's the whole friend group β€” they all show up together, it's giving squad goals fr fr 🧚:

like, that's a whole group chat right there 😭 every single one of them, not a single name dropped (or, um, not dropped) πŸ’€


ngl bestie, this page is short and sweet β€” so read it twice, screenshot it, put it in the group chat. the vibe check is: set the mode. slay. ⭐

sign-off time 🫢✨ this little gem comes to you from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” periodt. now go forth and eswitch responsibly πŸ’œπŸ“

πŸ“¦ where this page comes from