STRUCT DPIO_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct dpio_attr(9) β€” the Kernel API Manual glow-up πŸŽ€

okay bestie, so this is struct dpio_attr(9) from the Kernel API Manual, and it's literally the structure that represents DPIO attributes. that's the whole vibe. it's giving "small struct, big responsibilities" ✨


🌸 NAME 🌸

struct dpio_attr β€” the Structure representing DPIO attributes. yes that's the actual name, no notes, she ate πŸ’…


✨ SYNOPSIS ✨

here's the whole thing, character for character, no cap:

struct dpio_attr {
    int id;
    u64 qbman_portal_ce_offset;
    u64 qbman_portal_ci_offset;
    u16 qbman_portal_id;
    enum dpio_channel_mode  channel_mode;
    u8 num_priorities;
    u32 qbman_version;
    u32 clk;
 };

like... eight members. eight little besties. obsessed 🫢


πŸ¦‹ Members πŸ¦‹

okay so let's meet the cast, one by one, main character energy only:

  • id β€” the DPIO object ID. that's her name tag at the party πŸŽ€
  • qbman_portal_ce_offset β€” the offset of the software portal cache-enabled area. cache-enabled, she remembers things πŸ’–
  • qbman_portal_ci_offset β€” the offset of the software portal cache-inhibited area. cache-inhibited, she's mysterious and forgets on purpose πŸ™ˆ
  • qbman_portal_id β€” the Software portal ID. another ID, because we love an identifying moment ✨
  • channel_mode β€” the Notification channel mode. she has moods, it's fine 🌈
  • num_priorities β€” the Number of priorities for the notification channel, and that range is 1-8; it's relevant only if 'channel_mode = DPIO_LOCAL_CHANNEL'. so like, only in that one specific situation, iykyk πŸ’€
  • qbman_version β€” the QBMAN version. what era are we in, bestie ⭐
  • clk β€” the QBMAN clock frequency value in Hz. she's ticking, she's punctual, she's iconic πŸ•

πŸ”₯ SEE ALSO πŸ”₯

go read these next, they're linked and they're linked for a reason:

  • the Kernel file ./drivers/soc/fsl/dpio/dpio.h and enum dpio_channel_mode(9)
  • struct dpio_cfg(9)

⚠️ quick vibe check: num_priorities is only relevant when 'channel_mode = DPIO_LOCAL_CHANNEL'. don't come for me, that's just what the page says 😭

and that's the whole page, bestie! this one's from ./drivers/soc/fsl/dpio, dated October 2026, and it's struct dpio_attr(9) living her best life in the Kernel API Manual. mwah, go read a header file for me πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from