ice_eswitch_get_target(9)
okay bestie, welcome to ice_eswitch_get_target(9) from the Kernel API Manual π
β¨ this page is lowkey a slay, and weβre keeping every single detail, periodt.
π NAME π
ice_eswitch_get_target β get netdev based on src_vsi from descriptor π
β¨ SYNOPSIS β¨
struct net_device * ice_eswitch_get_target (struct ice_rx_ring *rx_ring
, union ice_32b_rx_flex_desc *rx_desc );
π ARGUMENTS π
rx_ringβ ring used to receive the packet. the packet-catching ring, no cap.rx_descβ descriptor used to getsrc_vsivalue. this is where thesrc_vsivalue lives, bestie.
π¦ DESCRIPTION π¦
So the function grabs the src_vsi value from the descriptor and loads the correct representor. iconic behavior, honestly. If it isnβt found? It returns rx_ring->netdev β lowkey the fallback bestie π«Ά.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_eswitch.c 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_attach_sf(9)ice_eswitch_detach_vf(9)ice_eswitch_detach_sf(9)
thatβs the whole vibe check, bestie π«Ά β signed off by ./drivers/net/ethernet/intel/ice, dated October 2026, and filed under ice_eswitch_get_target(9) π
β¨
π¦ 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