STRUCT PPE_SC_BYPASS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ppe_sc_bypass(9) ✨

okay so bestie, welcome to the Kernel API Manual, section 9 β€” we're doing the struct deep-dive today and honestly? it's giving organized. πŸ’…


🌸 NAME 🌸

struct ppe_sc_bypass β€” PPE service bypass bitmaps. that's it, that's the whole vibe. four bitmaps, one struct, no drama. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ppe_sc_bypass {
    unsigned long ingress[BITS_TO_LONGS( PPE_SC_BYPASS_INGRESS_SIZE)];
    unsigned long egress[BITS_TO_LONGS( PPE_SC_BYPASS_EGRESS_SIZE)];
    unsigned long counter[BITS_TO_LONGS( PPE_SC_BYPASS_COUNTER_SIZE)];
    unsigned long tunnel[BITS_TO_LONGS( PPE_SC_BYPASS_TUNNEL_SIZE)];
};

like, look at her. four unsigned long arrays, every single one sized with BITS_TO_LONGS(...) over its own PPE_SC_BYPASS_*_SIZE macro. no cap, she's symmetry personified. πŸ‘‘


πŸ’– Members πŸ’–

  • ingress β€” bitmap of features that can be bypassed on the ingress packet. incoming traffic said "not today" and this is the list of what's allowed to skip the line. πŸšͺ✨
  • egress β€” bitmap of features that can be bypassed on the egress packet. same energy, but outbound. she's leaving, and she's bypassing on the way out. πŸšΆβ€β™€οΈπŸ’¨
  • counter β€” bitmap of features that can be bypassed on the counter type. counters, but make it optional. πŸ“ŠπŸ¦‹
  • tunnel β€” bitmap of features that can be bypassed on the tunnel packet. tunnel traffic gets its own little bypass list, because of course it does. πŸ•³οΈπŸŒˆ
bestie reminder: these are bitmaps of features that can be bypassed β€” the manpage tells you which ones, not what happens when you flip them. don't go inventing semantics, that's how you end up in a bug report. 😭

🫢 SEE ALSO 🫢

  • the kernel file ./drivers/net/ethernet/qualcomm/ppe/ppe_config.h β€” like, literally go read it, it's the whole context, iykyk πŸ“
  • enum ppe_scheduler_frame_mode(9)
  • struct ppe_scheduler_cfg(9)
  • enum ppe_resource_type(9)
  • struct ppe_queue_ucast_dest(9)
  • struct ppe_sc_cfg(9)
  • enum ppe_action_type(9)
  • struct ppe_rss_hash_cfg(9)

all the ppe besties, linked up in one place. go click through them, it's a whole rabbit hole and honestly it slays. πŸ”₯


and that's the page, bestie πŸ’œ this one came from ./drivers/net/ethernet/qualcom... (yes the path got chopped, that's just how it is πŸ™ˆ) and it's dated October 2026 β€” so like, future icon behavior. periodt. πŸ’…β­

πŸ“¦ where this page comes from