XSDFEC_SET_BYPASS(9)
π XSDFEC_SET_BYPASS π
okay so bestie, welcome to your handy little page from the Kernel API Manual (section 9, iykyk) β it's all about XSDFEC_SET_BYPASS, and ngl it's a short one but she ate π
β¨ Parameters β¨
struct bool *β a pointer to theboolthat sets the bypass value. here's the tea:falsegives you normal operation, andfalsealso gives you the SD-FEC doing the configured operations (same number of cycles) but with output data that matches the input data π«Ά
not me reading that twice β yes, the page literally says false both times, I'm just telling you what it says, don't come for me π
π Description π
it's an ioctl that sets bypass. that's the whole vibe. periodt β¨
the one big caveat, and I mean it bestie, no cap: this can only be used when the driver is in the XSDFEC_STOPPED state π₯
π¦ SEE ALSO π¦
Kernel file ./include/uapi/misc/xilinx_sdfec.h β go read her, she's iconic π
the enums, 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)
the structs, also in order:
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)
and the rest of the friend group πΈ
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_IS_ACTIVE(9)XSDFEC_CLEAR_STATS(9)XSDFEC_GET_STATS(9)XSDFEC_SET_DEFAULT_CONFIG(9)
and that's the whole page, bestie π§ she lives at ./include/uapi/misc, dated October 2026, and honestly? a lil legend. mwah π bye!! π
π¦ 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