ice_is_eswi...de_switchdev(9)
π ice_is_eswitch_mode_switchdev π
okay so this is from the Kernel API Manual bestie, and it's giving tiny-little-helper-function energy π§ β like, one job, does it cute, no notes. Let's get into it β¨
πΈ NAME πΈ
ice_is_eswitch_mode_switchdev β checks whether the eswitch mode is set to switchdev π
like literally that's it, that's the whole personality. a vibe check for your eswitch π
β¨ SYNOPSIS β¨
bool ice_is_eswitch_mode_switchdev (struct ice_pf *pf );
one function, one argument, returns a bool. short and iconic fr fr π
π¦ ARGUMENTS π¦
pfβ pointer to the PF structure π«Ά (yes bestie, that's the whole description, it's a pointer, it points, we love a low-effort king)
π DESCRIPTION π
so here's the tea β: this function returns true if the eswitch mode is set to DEVLINK_ESWITCH_MODE_SWITCHDEV, and false otherwise.
that's the whole thing. no cap. two outcomes, one boolean, zero drama π
lowkey the most honest manpage description ever written β "it returns true if it's true, false if it's not" π and honestly? respect.
π₯ SEE ALSO π₯
the kernel file lives here, bestie: ./drivers/net/ethernet/intel/ice/ice_eswitch.c π
and here's the whole friend group, all the sibling functions you can go bother next π
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_eswitch_mode_get(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)
twenty of them. twenty!! a whole squad π« go say hi to all of them iykyk π
β¨ and that's the page, bestie β¨ this little icon comes to you from ./drivers/net/ethernet/intel/ice and the manual says October 2026 β so if you're reading this, hi from the future or whatever ππ¦ stay hydrated, read your manpages, and remember: it returns true when it's switchdev mode. 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