STRUCT DPAA2_IO_NOTIFICATION_CTX(9)
π 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? useDPAA2_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 todpio_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms