dpaa2_io_query_fq_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

dpaa2_io_query_fq_count(9) πŸ’…

okay so bestie, this lil’ icon lives in the Kernel API Manual, and it’s here to spill the tea on frame and byte counts for a given fq. no cap, it’s giving β€œdebugging helper with main character energy.” πŸŽ€


🌸 NAME 🌸

dpaa2_io_query_fq_count β€” get the frame and byte count for a given fq.


✨ SYNOPSIS ✨

int dpaa2_io_query_fq_count (struct dpaa2_io *d , u32 fqid , u32 *fcnt ,
       u32 *bcnt );

πŸŽ€ ARGUMENTS πŸŽ€

  • d β€” the given DPIO object. iconic pointer behavior, obviously.
  • fqid β€” the id of the frame queue to be queried.
  • fcnt β€” the queried frame count.
  • bcnt β€” the queried byte count.

πŸ¦‹ DESCRIPTION πŸ¦‹

Knowing the FQ count at run-time can be useful in debugging situations. The instantaneous frame- and byte-count are hereby returned. ✨

It returns 0 for a successful query, and a negative error code if the query fails. so basically: 0 = slay, negative = not slay. 😭


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/soc/fsl/dpio/dpio-service.c β€” that’s the spot, iykyk. 🫢


πŸ’– okay that’s the whole page, bestie! source/version: ./drivers/soc/fsl/dpio Β· date: October 2026 Β· dpaa2_io_query_fq_count(9) Β· periodt πŸ’–

πŸ“¦ where this page comes from