ENUM NETDEV_XSK_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum netdev_xsk_flags ✨

Okay bestie, so this is from the Kernel API Manual, section 9. It's an enum that's giving major "driver capability check" energy. Basically, enum netdev_xsk_flags(9) is a list of flags that tell you what XSK transmit features your NIC driver can actually handle. No cap, it's all about hardware offloads. Slay. πŸ’…


πŸ’– NAME πŸ’–

enum netdev_xsk_flags β€” the enum of XSK transmit flags. It's literally just a list of features that a driver might support, each one representing a specific hardware offload. Think of it as the driver's way of flexing what it can do. Periodt.


🌸 SYNOPSIS 🌸

enum netdev_xsk_flags {
    NETDEV_XSK_FLAGS_TX_TIMESTAMP ,
    NETDEV_XSK_FLAGS_TX_CHECKSUM ,
    NETDEV_XSK_FLAGS_TX_LAUNCH_TIME_FIFO

};

πŸŽ€ Constants πŸŽ€

Here are the three constants, bestie. Each one is a flag that means "yeah, the driver supports this specific hardware offload." Iykyk.

  • NETDEV_XSK_FLAGS_TX_TIMESTAMP β€” HW timestamping egress packets is supported by the driver. Like, your outgoing packets get a little timestamp from the hardware itself. Obsessed. ⏰✨
  • NETDEV_XSK_FLAGS_TX_CHECKSUM β€” L3 checksum HW offload is supported by the driver. Your NIC can do the Layer 3 checksum math so the CPU doesn't have to. It's giving "efficiency queen." πŸ’…πŸ”₯
  • NETDEV_XSK_FLAGS_TX_LAUNCH_TIME_FIFO β€” Launch time HW offload is supported by the driver. This is for precision packet scheduling β€” the hardware can fire packets at exactly the right moment. Main character energy, fr fr. ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./tools/include/uapi/linux/netdev.h
  • enum netdev_xdp_act(9)
  • enum netdev_xdp_rx_metadata(9)

This page lives in ./tools/include/uapi/linux and the docs are dated October 2026. Stay slay, bestie. πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from