ENUM (ANONYMOUS)(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

We're in the Kernel API Manual, bestie, and this page is enum (anonymous)(9). It covers the &libeth_xdp_tx_frame and &libeth_xdp_tx_desc flags. Periodt.

✨ SYNOPSIS ✨

enum (anonymous) {
    LIBETH_XDP_TX_LEN ,
    LIBETH_XDP_TX_CSUM ,
    LIBETH_XDP_TX_XSKMD ,
    LIBETH_XDP_TX_FIRST ,
    LIBETH_XDP_TX_LAST ,
    LIBETH_XDP_TX_MULTI ,
    LIBETH_XDP_TX_FLAGS

};

πŸŽ€ Constants πŸŽ€

Okay so these are the flag constants inside the enum, and every single one is doing its little thing:

  • LIBETH_XDP_TX_LEN β€” only for XDP_TX, [15:0] of ::len_fl is actual length
  • LIBETH_XDP_TX_CSUM β€” for XSk xmit, enable checksum offload
  • LIBETH_XDP_TX_XSKMD β€” for XSk xmit, mask of the metadata bits
  • LIBETH_XDP_TX_FIRST β€” indicates the frag is the first one of the frame
  • LIBETH_XDP_TX_LAST β€” whether the frag is the last one of the frame
  • LIBETH_XDP_TX_MULTI β€” whether the frame contains several frags
  • LIBETH_XDP_TX_FLAGS β€” only for XDP_TX, [31:16] of ::len_fl is flags

🌈 SEE ALSO 🌈

Kernel file: ./include/net/libeth/xdp.h. The whole friend group is right here, and yes, we're listing every single one:


Source/version ./include/net/libeth, dated October 2026 β€” that's the cute little footer, bestie. Byeee πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from