ice_eswitch_attach_sf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Welcome to ice_eswitch_attach_sf(9) from the Kernel API Manual, bestie πŸ’– β€” we’re talking SF attaching today and the vibes are immaculate.

πŸ’– NAME πŸ’–

ice_eswitch_attach_sf β€” attach SF to a eswitch πŸ’…

✨ SYNOPSIS ✨

int ice_eswitch_attach_sf (struct ice_pf *pf , struct ice_dynamic_port
       *sf );

πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” pointer to PF structure
  • sf β€” pointer to SF structure to be attached πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

During attaching, the port representor for the SF is created ✨. That’s the move: attach the SF, and the port representor shows up. No cap.

⭐ RETURN ⭐

Returns zero on success or an error code on failure πŸ’€. So yeah, check that return value, bestie.

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file: ./drivers/net/ethernet/intel/ice/ice_eswitch.c

Also go peek at the whole friend group: 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_vf(9), ice_eswitch_detach_vf(9), ice_eswitch_detach_sf(9), ice_eswitch_get_target(9)


okay that’s the tea β˜• β€” source/version ./drivers/net/ethernet/intel/ice, dated October 2026. bye bestie, slay your SFs πŸ’–πŸ«Ά

πŸ“¦ where this page comes from