XSDFEC_GET_STATS(9)
π 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 thestruct xsdfec_statsthat 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_STOPPEDonly. 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:
enum xsdfec_code(9)enum xsdfec_order(9)enum xsdfec_turbo_alg(9)enum xsdfec_state(9)enum xsdfec_axis_width(9)enum xsdfec_axis_word_include(9)struct xsdfec_turbo(9)struct xsdfec_ldpc_params(9)struct xsdfec_status(9)struct xsdfec_irq(9)struct xsdfec_config(9)struct xsdfec_stats(9)struct xsdfec_ldpc_param_table_sizes(9)XSDFEC_START_DEV(9)XSDFEC_STOP_DEV(9)XSDFEC_GET_STATUS(9)XSDFEC_SET_IRQ(9)XSDFEC_SET_TURBO(9)XSDFEC_ADD_LDPC_CODE_PARAMS(9)XSDFEC_GET_CONFIG(9)XSDFEC_GET_TURBO(9)XSDFEC_SET_ORDER(9)XSDFEC_SET_BYPASS(9)XSDFEC_IS_ACTIVE(9)XSDFEC_CLEAR_STATS(9)XSDFEC_SET_DEFAULT_CONFIG(9)
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
- 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