ENUM IDPF_QUEUE_FLAGS_T(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay bestie, this is enum idpf_queue_flags_t(9) from the Kernel API Manual β€” yes, the kernel API one, we love a niche icon πŸ’…βœ¨

enum idpf_queue_flags_t -

That’s the whole NAME entry, short and iconic, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

The enum lineup, exactly as the kernel serves it:

       enum idpf_queue_flags_t {
           __IDPF_Q_GEN_CHK ,
           __IDPF_Q_RFL_GEN_CHK ,
           __IDPF_Q_FLOW_SCH_EN ,
           __IDPF_Q_SW_MARKER ,
           __IDPF_Q_CRC_EN ,
           __IDPF_Q_RSC_EN ,
           __IDPF_Q_HSPLIT_EN ,
           __IDPF_Q_PTP ,
           __IDPF_Q_NOIRQ ,
           __IDPF_Q_XDP ,
           __IDPF_Q_XSK ,
           __IDPF_Q_FLAGS_NBITS

       };

✨ Constants ✨

Here’s the flag-by-flag tea, bestie β˜•πŸ‘‘

  • __IDPF_Q_GEN_CHK β€” so queues operating in splitq mode use a generation bit to identify new descriptor writebacks on the ring. HW sets the gen bit to 1 on the first writeback of any given descriptor. After the ring wraps, HW sets the gen bit of those descriptors to 0, and keeps flipping 0->1 or 1->0 on each ring wrap. SW maintains its own gen bit to know what value will indicate writebacks on the next pass around the ring. E.g. it is initialized to 1 and knows that reading a gen bit of 1 in any descriptor on the initial pass of the ring indicates a writeback. It also flips on every ring wrap. Literally the ring’s little β€œnew mail” indicator πŸ’Œ
  • __IDPF_Q_RFL_GEN_CHK β€” refill queues are SW only, so Q_GEN acts as the HW bit and Q_RFL_GEN is the SW bit. Cute little division of labor 🌸
  • __IDPF_Q_FLOW_SCH_EN β€” Enable flow scheduling. Slay πŸ’«
  • __IDPF_Q_SW_MARKER β€” Used to indicate TX queue marker completions. Marker business, very main character πŸŽ€
  • __IDPF_Q_CRC_EN β€” enable CRC offload in singleq mode. Put that CRC work on offload duty πŸ’…
  • __IDPF_Q_RSC_EN β€” enable Receive Side Coalescing on Rx (splitq). Coalescing era ✨
  • __IDPF_Q_HSPLIT_EN β€” enable header split on Rx (splitq). Header split, we love to see it πŸ¦‹
  • __IDPF_Q_PTP β€” indicates whether the Rx timestamping is enabled for the queue. Timestamp vibes ⏰
  • __IDPF_Q_NOIRQ β€” queue is polling-driven and has no interrupt. No IRQ, just polling energy πŸ‘€
  • __IDPF_Q_XDP β€” this is an XDP queue. XDP bestie detected πŸ”₯
  • __IDPF_Q_XSK β€” the queue has an XSk pool installed. Pool installed, periodt 🏊
  • __IDPF_Q_FLAGS_NBITS β€” Must be last. Like, literally must be last, no cap πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.h has the whole friend group:


This cutie comes from ./drivers/net/ethernet/intel/idpf, dated October 2026 β€” mwah, slay, bye bestie πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from