emac_xmit_xdp_frame(9)
β¨ 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_typestyle πΈ
π₯ RETURN π₯
Returns the XDP state. That's it, that's the return value πβ¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/ti/icssg/icssg_common.cβ go read it, iykyk π emac_run_xdp(9)icssg_ndo_start_xmit(9)
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
- 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