ice_eswitch_get_target(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 get src_vsi value. this is where the src_vsi value 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 🌈


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