ice_eswitch_mode_get(9)
β¨ 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:
ice_eswitch_setup_env(9)ice_eswitch_release_repr(9)ice_eswitch_setup_repr(9)ice_eswitch_cfg_vsi(9)ice_eswitch_decfg_vsi(9)ice_eswitch_update_repr(9)ice_eswitch_port_start_xmit(9)ice_eswitch_set_target_vsi(9)ice_eswitch_release_env(9)ice_eswitch_enable_switchdev(9)ice_eswitch_disable_switchdev(9)ice_eswitch_mode_set(9)ice_is_eswitch_mode_switchdev(9)ice_eswitch_start_all_tx_queues(9)ice_eswitch_stop_all_tx_queues(9)ice_eswitch_attach_vf(9)ice_eswitch_attach_sf(9)ice_eswitch_detach_vf(9)ice_eswitch_detach_sf(9)ice_eswitch_get_target(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms