dpaa2_dq_seqnum(9)
π dpaa2_dq_seqnum β like, the kernel API manual page, section 9, bestie β¨
okay so this is dpaa2_dq_seqnum(9) from the Kernel API Manual and it is exactly the little guy you want when you need one specific field out of a dequeue response π
β¨ NAME β¨
dpaa2_dq_seqnum β grab that seqnum field out of the dequeue response, no cap π«Ά
πΈ SYNOPSIS πΈ
u16 dpaa2_dq_seqnum (const struct dpaa2_dq *dq );
like. that's it. that's the whole vibe. one function, one pointer, one u16 coming back at you β
π¦ ARGUMENTS π¦
dqβ the dequeue result π (this is the thing you're poking at, she'sconst struct dpaa2_dq *and she stays untouched, we respect her)
π DESCRIPTION π
so here's the tea, bestie: seqnum is valid only if VALIDFRAME flag is TRUE π
read that again. if VALIDFRAME isn't TRUE? the seqnum is not valid. do not be out here trusting it, i'm literally begging π do the vibe check on the flags first, iykyk.
with that said β it returns seqnum. that's the whole job. she's a getter, she gets, she slays π
π₯ SEE ALSO π₯
Kernel file ./include/soc/fsl/dpaa2-global.h β go read her, she's iconic:
dpaa2_dq_flags(9)dpaa2_dq_is_pull(9)dpaa2_dq_is_pull_complete(9)dpaa2_dq_odpid(9)dpaa2_dq_fqid(9)dpaa2_dq_byte_count(9)dpaa2_dq_frame_count(9)dpaa2_dq_fd(9)dpaa2_cscn_state_congested(9)
like the whole friend group fr fr π
π«Ά friendly reminder from your girl: checkVALIDFRAMEbefore you trust thatseqnum. that's not me being dramatic, that's literally what the page says π
and that's the page!! brought to you straight out of ./include/soc/fsl, dated October 2026, dpaa2_dq_seqnum(9) era π§ββοΈπ periodt β¨
π¦ 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