XSDFEC_GET_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… XSDFEC_GET_STATS πŸ’…

okay so bestie, welcome to the XSDFEC_GET_STATS page β€” it lives in the Kernel API Manual and it's honestly kind of a vibe. it's a tiny little ioctl page but it ATE, fr fr. let's get into it πŸŽ€


✨ Parameters ✨

  • struct xsdfec_stats * β€” this is a pointer to the struct xsdfec_stats that will contain the updated stats values. yes, updated β€” it's gonna get filled in with the fresh numbers, so hand it a struct to live in 🫢

🌸 Description 🌸

it's an ioctl that returns SD-FEC core stats. that's the whole thing. iconic, honestly πŸ’…

but β€” and this is the important part, no cap β€” this can only be used when the driver is in the XSDFEC_STOPPED state. so do a vibe check on your state first, bestie, because if the driver isn't stopped this is not the moment 😭

okay so like. XSDFEC_STOPPED only. i'm not gonna say it a third time. (i might say it a third time. XSDFEC_STOPPED. there. πŸ¦‹)

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file: ./include/uapi/misc/xilinx_sdfec.h β€” that's where all the lore lives ✨

then, the whole friend group, in order:


that's the whole page, bestie, you understood the assignment πŸ§šπŸ’œ

signing off from ./include/uapi/misc on October 2026 β€” catch you in the next ioctl, mwah πŸ’‹β­

πŸ“¦ where this page comes from