STRUCT NFP_NET_XSK_RX_BUF(9)
π struct nfp_net_xsk_rx_buf(9) π
okay bestie, welcome to the Kernel API Manual page for struct nfp_net_xsk_rx_buf β yes that's a mouthful, yes you're gonna say it out loud eventually, and yes it's literally just a software RX XSK buffer descriptor. slay. π
β¨ NAME β¨
struct nfp_net_xsk_rx_buf β software RX XSK buffer descriptor
that's it. that's the whole vibe. it's a descriptor. it lives in software. it's for RX. XSK flavored. periodt. π
π¦ SYNOPSIS π¦
struct nfp_net_xsk_rx_buf {
dma_addr_t dma_addr;
struct xdp_buff *xdp;
};
look at her. two members. absolutely iconic. no notes. π
πΈ Members πΈ
dma_addrβ the DMA mapping address of the buffer. like, where the buffer actually lives as far as DMA is concerned. that's the whole gig. β¨xdpβ the XSK buffer pool handle (for AF_XDP). yep, for AF_XDP, it says so right there, i'm not making this up. this is the handle to the XSK buffer pool. π«Ά
π₯ SEE ALSO π₯
okay so if you liked this one (and you did, don't lie), the kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net.h has the whole friend group. go say hi to:
struct nfp_net_tx_ring(9)struct nfp_net_rx_buf(9)struct nfp_net_rx_ring(9)struct nfp_net_r_vector(9)struct nfp_net_dp(9)struct nfp_net(9)nfp_qcp_rd_ptr_add(9)nfp_qcp_wr_ptr_add(9)nfp_qcp_rd_ptr_read(9)nfp_qcp_wr_ptr_read(9)
ngl that's a full squad right there. iykyk. π
fr fr, this page came out of./drivers/net/ethernet/netrono...and it's stamped October 2026 β so go ahead and screenshot it for the group chat. πβ¨π mwah, drink some water, and remember:struct nfp_net_xsk_rx_buf(9)said what she said. π§πβ
π¦ 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