STRUCT DPAA2_IO_NOTIFICATION_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct dpaa2_io_notification_ctx(9) πŸ’–

okay bestie, welcome to the Kernel API Manual, this is the page for struct dpaa2_io_notification_ctx and it's literally the DPIO notification context structure. she's a struct, she's got lore, let's get into it 🫢


✨ NAME ✨

struct dpaa2_io_notification_ctx β€” the DPIO notification context structure. that's her. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

struct dpaa2_io_notification_ctx {
    void (*cb)(struct dpaa2_io_notification_ctx *ctx);
    int is_cdan;
    u32 id;
    int desired_cpu;
    int dpio_id;
    u64 qman64;
    struct list_head node;
    void *dpio_private;
 };

no cap, that's the whole thing. every field, exactly as it lives. let's do a member-by-member vibe check πŸ‘‘


πŸ’… Members πŸ’…

  • cb β€” the callback that gets invoked when the notification arrives. like, when the notification pulls up, this is the function that answers the door. πŸ”₯
  • is_cdan β€” zero for FQDAN, non-zero for CDAN. that's the whole flag, she's simple like that.
  • id β€” the FQID or channel ID, and you literally need it for rearm. don't lose it bestie 😭
  • desired_cpu β€” the cpu on which the notifications will show up. and if you don't care? use DPAA2_IO_ANY_CPU. main character energy, zero preferences.
  • dpio_id β€” the dpio index.
  • qman64 β€” the 64-bit context value that shows up in the FQDAN/CDAN. yep, it's giving "i'm just here to be a value" and honestly same.
  • node β€” the list node. tiny, does its job, iconic. πŸ¦‹
  • dpio_private β€” the dpio object internal to dpio_service.

🧚 Description 🧚

this whole struct is used when a FQDAN/CDAN registration is made by drivers. that's it, that's the tea. it's the context that comes along with the registration, periodt. πŸ’œ


⭐ SEE ALSO ⭐

Kernel file ./include/soc/fsl/dpaa2-io.h , DPIO Service(9), struct dpaa2_io_desc(9)

go read those too, iykyk πŸ“šβœ¨


okay that's the page, bestie! this one lives in ./include/soc/fsl, it's dated October 2026, and yes it's the same struct dpaa2...fication_ctx from the Kernel API Manual up top β€” the header and footer already told you, but i'm telling you again because you're my favorite πŸ₯°πŸ’– slay, go register those notifications responsibly πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from