ENUM DPNI_OFFLOAD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dpni_offload(9) β€” so you wanna know what kind of offload we're talking about πŸŽ€

okay bestie, real talk: this is a page from the Kernel API Manual, and it's literally just a little enum that tells you which offload a command is aimed at. that's the whole vibe. no cap, it's small but it's iconic in its own way ✨


✨ NAME ✨

enum dpni_offload β€” identifies a type of offload targeted by the command 🎯

like, when a command needs to know "hey, which offload are we doing here?", this enum is the answer. it's giving traffic director energy πŸ’β€β™€οΈ


🌸 SYNOPSIS 🌸

enum dpni_offload {
    DPNI_OFF_RX_L3_CSUM ,
    DPNI_OFF_RX_L4_CSUM ,
    DPNI_OFF_TX_L3_CSUM ,
    DPNI_OFF_TX_L4_CSUM

};

yes bestie, that trailing comma and that blank line before the closing brace are exactly how it's written β€” we copy verbatim in this house πŸ’–


πŸ¦‹ Constants πŸ¦‹

okay so there are literally four members, and they're all checksum-coded. hit it:

  • DPNI_OFF_RX_L3_CSUM β€” Rx L3 checksum validation 🧾✨ (yep, receive side, layer 3, checksum gets validated)
  • DPNI_OFF_RX_L4_CSUM β€” Rx L4 checksum validation πŸ”πŸ’œ (receive side, layer 4, same deal)
  • DPNI_OFF_TX_L3_CSUM β€” Tx L3 checksum generation πŸ› οΈπŸŒΈ (transmit side, layer 3, the checksum gets generated)
  • DPNI_OFF_TX_L4_CSUM β€” Tx L4 checksum generation πŸ› οΈβ­ (transmit side, layer 4, generated again)
lowkey notice the pattern: RX = validate, TX = generate, and L3/L4 each get one of each. the way that symmetry ate πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, strap in, because this list is long and we're keeping every single one, periodt. first up, the actual file this lives in:

  • Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.h πŸ“

and now the whole friend group 🫢:

not me listing all of these πŸ’€ but fr fr, they're all here, none skipped, iykyk πŸ“

and that's the whole page bestie!! πŸŽ€ tiny enum, huge main-character energy.

later, besties β€” this was served fresh from ./drivers/net/ethernet/freesca..., dated October 2026, and it's literally titled enum dpni_offload(9) πŸ’–πŸ¦‹ slay πŸ’…

πŸ“¦ where this page comes from