ENUM NETDEV_XSK_FLAGS(9)
β¨ 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
- 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