i40e_run_xdp_zc(9)
β¨ NAME β¨
i40e_run_xdp_zc β bestie, this is the one that executes an XDP program on an xdp_buff π
(and yes, we're in the Kernel API Manual, section 9, aka the driver-functions zone π§)
πΈ SYNOPSIS πΈ
int i40e_run_xdp_zc (struct i40e_ring *rx_ring , struct xdp_buff *xdp ,
struct bpf_prog *xdp_prog );
okay so like. three args, one int back, that's the whole vibe π«Ά
π ARGUMENTS π
rx_ringβ the Rx ring, she's the main character here πxdpβ thexdp_buffthat gets used as input to the XDP program, literally the snack being handed to the program πxdp_progβ the XDP program to run, periodt β
π¦ DESCRIPTION π¦
This returns any of I40E_XDP_{PASS, CONSUMED, TX, REDIR} β that's it, that's the whole function. ikyk the vibe check is just "which of these four did we land on" πβ¨
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/intel/i40e/i40e_xsk.c β go read it, ngl it's giving homework but like, the fun kind π
i40e_realloc_rx_xdp_bi(9)i40e_realloc_rx_bi_zc(9)i40e_xsk_pool_enable(9)i40e_xsk_pool_disable(9)i40e_xsk_pool_setup(9)i40e_construct_skb_zc(9)i40e_clean_rx_irq_zc(9)i40e_xmit_zc(9)i40e_clean_xdp_tx_buffer(9)i40e_clean_xdp_tx_irq(9)i40e_xsk_wakeup(9)i40e_xsk_clean_tx_ring(9)i40e_xsk_any_rx_ring_enabled(9)
friend group of functions fr fr, they all show up together π
and that's the page!! π brought to you by the Kernel API Manual, straight out of ./drivers/net/ethernet/intel/i40e, dated October 2026 π slay, go write some drivers bestie π¦β¨π
π¦ 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