emac_xmit_xdp_frame(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ emac_xmit_xdp_frame(9) ✨

Okay bestie, welcome to the Kernel API Manual πŸ’– β€” this one's a lil function page and it's lowkey iconic, so let's get into it.


🌸 NAME 🌸

emac_xmit_xdp_frame β€” it transmits an XDP frame. That's the whole vibe. πŸ¦‹


⭐ SYNOPSIS ⭐

u32 emac_xmit_xdp_frame (struct prueth_emac *emac , struct xdp_frame
*xdpf , unsigned int q_idx , enum prueth_tx_buff_type buff_type );

She takes four args and hands you back a u32, no cap. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • emac β€” the emac device, like, the actual thing doing the work πŸ’…
  • xdpf β€” the data to transmit, aka the payload bestie 🫢
  • q_idx β€” queue id, so she knows where to send it ✨
  • buff_type β€” the type of buffer to be transmitted, enum prueth_tx_buff_type style 🌸

πŸ”₯ RETURN πŸ”₯

Returns the XDP state. That's it, that's the return value πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹


Go off, bestie β€” now you know exactly what emac_xmit_xdp_frame is giving. πŸŒˆπŸ’œ

And that's the whole page, periodt. πŸŽ€ This cutie lives in ./drivers/net/ethernet/ti/icssg, dated October 2026 β€” mwah, see you in the group chat πŸ’…πŸ’–πŸ§š

πŸ“¦ where this page comes from