ice_xdp_xmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_xdp_xmit β€” the manual page bestie

okay so this is ice_xdp_xmit, and yes it lives in the Kernel API Manual (section 9, driver land, we love her) ✨ she's the one who actually sends your packets out to the XDP ring for transmission. main character energy tbh πŸ‘‘


🌸 NAME 🌸

ice_xdp_xmit β€” submit packets to XDP ring for transmission πŸ¦‹


✨ SYNOPSIS ✨

int ice_xdp_xmit (struct net_device *dev , int n , struct xdp_frame
**frames , u32 flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the netdev, aka the network device we're doing all this for 🫢
  • n β€” how many XDP frames we're trying to transmit. like, the count, the headcount, the n πŸ’…
  • frames β€” the actual XDP frames being transmitted. this is the cargo, bestie πŸ“¦
  • flags β€” the transmit flags 🌈

πŸ’– DESCRIPTION πŸ’–

So like β€” this returns the number of frames successfully sent. slay ✨

Failed frames get free'ed by the XDP core, so you don't gotta worry about those πŸ’€πŸ™ˆ

⚠️ but listen: for error cases, a negative errno code is returned, and no frames are transmitted. which means the caller must handle freeing frames themselves. no cap, that's on you 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Literally the whole ice friend group, iykyk 🧚:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.c

and also:


and that's the whole page, bestie πŸ’œ this one ships out of ./drivers/net/ethernet/intel/ice, dated October 2026 β€” go forth and xmit responsibly, mwah πŸ’‹β­

πŸ“¦ where this page comes from