adf_fw_counters_dbgfs_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… adf_fw_counters_dbgfs_add β€” like, the Kernel API Manual page, bestie ✨

okay so welcome to the adf_fw_counters_dbgfs_add(9) glow-up, straight out of the Kernel API Manual πŸŽ€ this one's a little void function that makes debugfs do something cute. let's get into it 🫢


✨ NAME ✨

adf_fw_counters_dbgfs_add β€” creates a debugfs file that's literally holding your FW execution counters πŸ’–


🌸 SYNOPSIS 🌸

void adf_fw_counters_dbgfs_add (struct adf_accel_dev *accel_dev );

that's it. that's the whole vibe check. returns nothing, takes one pointer πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • accel_dev β€” a pointer to a QAT acceleration device. that's your main character right there, no cap.

πŸ’œ DESCRIPTION πŸ’œ

so the way this function works is honestly iconic: it creates a file πŸ“ so you can display a table β€” a whole little statistics moment β€” for the given QAT acceleration device.

and what's in this table? device-specific execution values for each AE 🧚 like bestie, it's storing:

  • the number of requests sent to the FW πŸ”₯
  • and the responses received from the FW πŸ’Œ

that's the whole thing. simple, effective, ate. πŸ’…


⭐ RETURN ⭐

void β€” literally nothing comes back. she gives, she doesn't take πŸ™ˆ


🌈 SEE ALSO 🌈

those last two are the siblings fr fr β€” one goes and gets the counters, the other cleans up the debugfs file πŸŽ€ iykyk


πŸ’€ reminder bestie: this is the add half of the duo. adf_fw_counters_dbgfs_rm(9) is the one that takes the file back out. don't leave her hanging.

mwah πŸ’‹ that's the page! brought to you by the Kernel API Manual, sourced from ./drivers/crypto/intel/qat/qat..., dated October 2026 ⭐ and yes she's still signing off as adf_fw_counters_dbgfs_add(9) because consistency is a slay πŸ’–πŸ§šβ€β™€οΈπŸ¦‹

πŸ“¦ where this page comes from