ice_eswitch_attach_vf(9)
π ice_eswitch_attach_vf β a Kernel API Manual moment
okay so bestie, welcome to the ice_eswitch_attach_vf(9) page, section 9 of the Kernel API Manual π this is the whole entire guide to attaching a VF to an eswitch and honestly? it's giving tiny-but-iconic.
β¨ NAME β¨
ice_eswitch_attach_vf β attach VF to a eswitch π¦
β¨ SYNOPSIS β¨
int ice_eswitch_attach_vf (struct ice_pf *pf , struct ice_vf *vf );
πΈ ARGUMENTS πΈ
pfβ pointer to PF structure. yes bestie, a pointer, we love a level of indirection πvfβ pointer to VF structure to be attached. this is the one getting attached, main character energy fr fr π
π DESCRIPTION π
During attaching port representor for VF is created. that's it, that's the whole vibe β you attach, and a port representor for the VF gets born into existence β¨ no cap.
β RETURN β
zero on success or an error code on failure π so like, 0 = slay, anything else = read the error code and cope.
π₯ SEE ALSO π₯
the kernel file that lives at:
./drivers/net/ethernet/intel/ice/ice_eswitch.c
and the whole friend group of related calls, all of them, no gatekeeping:
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_is_eswitch_mode_switchdev(9)ice_eswitch_start_all_tx_queues(9)ice_eswitch_stop_all_tx_queues(9)ice_eswitch_attach_sf(9)ice_eswitch_detach_vf(9)ice_eswitch_detach_sf(9)ice_eswitch_get_target(9)
okay that's the page!! π«Ά this lil icon came from the source/version <pink>./drivers/net/ethernet/intel/ice</pink>, dated October 2026, and it will forever be known as ice_eswitch_attach_vf(9). mwah, stan kernel docs ππ§πΈ
π¦ 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