ENUM IDPF_CAP_FIELD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum idpf_cap_field β€” kernel API manual, bestie edition πŸŽ€

okay so this page is all about enum idpf_cap_field from the Kernel API Manual, and honestly? it's giving "tiny enum, big responsibility" energy. sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

enum idpf_cap_field β€” the offsets into the capabilities struct for specific caps. literally just index positions, but make it fashion πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

enum idpf_cap_field {
    IDPF_BASE_CAPS ,
    IDPF_CSUM_CAPS ,
    IDPF_SEG_CAPS ,
    IDPF_RSS_CAPS ,
    IDPF_HSPLIT_CAPS ,
    IDPF_RSC_CAPS ,
    IDPF_OTHER_CAPS

};

look at her. seven constants. no notes. πŸ‘‘


🌸 Constants 🌸

one bullet per cap, no cap 🧒 β€” here's what each one means:

  • IDPF_BASE_CAPS β€” the generic base capabilities. the main character of cap sets, tbh.
  • IDPF_CSUM_CAPS β€” checksum offload capabilities. she's doing math so you don't have to ✨
  • IDPF_SEG_CAPS β€” segmentation offload capabilities. chopping packets into lil pieces, iconic behavior.
  • IDPF_RSS_CAPS β€” RSS offload capabilities. spreading the love (and the queues) around πŸ’–
  • IDPF_HSPLIT_CAPS β€” Header split capabilities. note the capital H, that's just how the manpage wrote it, we respect it 🫢
  • IDPF_RSC_CAPS β€” RSC offload capabilities. receiving in bulk, lowkey efficient.
  • IDPF_OTHER_CAPS β€” miscellaneous offloads. the catch-all. the "and friends" of the group chat πŸ™ˆ

πŸ’œ Description πŸ’œ

so here's the vibe check: you use this enum when you're checking for a specific capability flag. and the reason you gotta is genuinely important β€” different capability sets are not mutually exclusive numerically, so the numbers can overlap and collide and generally be messy 😭. that means the caller must specify which type of capability they're checking for. no guessing, no vibes-based indexing. you say which set, periodt. πŸ”₯


🌈 SEE ALSO 🌈

the whole friend group, in source order β€” Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h plus:


lowkey a whole ecosystem in here. go read the neighbors, bestie, iykyk πŸ’€

and that's the page!! 🫢 source is ./drivers/net/ethernet/intel/idpf and the version is dated October 2026 β€” so yeah, she's from the future, we stan a time traveler. bye bestie, slay your capability checks, and remember: always name your cap set βœ¨πŸ‘‘πŸ’–

πŸ“¦ where this page comes from