STRUCT NFP_NET_XSK_RX_BUF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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