ENUM CDX_MCDI_MODE(9)
π¦ NAME π¦
enum cdx_mcdi_mode β the MCDI transaction mode, aka the vibe check for how your MCDI calls are gonna go π
okay so this is from the Kernel API Manual, bestie, and it's genuinely tiny but it matters, so let's get into it π
β¨ SYNOPSIS β¨
enum cdx_mcdi_mode {
MCDI_MODE_EVENTS ,
MCDI_MODE_FAIL
};
that's the whole thing. two modes. iconic minimalism, no notes π
π Constants π
MCDI_MODE_EVENTSβ wait for an mcdi response callback. yes bestie, we wait, we let the callback come to us, main character energy π«ΆMCDI_MODE_FAILβ we think MCDI is dead, so fail-fast all calls π like, no point pretending, everything just bounces immediately, fr fr
ngl the MCDI_MODE_FAIL one is giving "the server is gone, stop knocking" β it's not mean, it's efficient π
π SEE ALSO π
- Kernel file
./include/linux/cdx/mcdi.hβ plus all the siblings you should lowkey go read:enum cdx_mcdi_cmd_state(9),struct cdx_mcdi(9),struct cdx_mcdi_cmd(9),struct cdx_mcdi_iface(9),struct cdx_mcdi_data(9)π¦
seriously, go read them, the whole cdx/mcdi family is a little ensemble cast and you'll understand this enum way better with context β¨
okay that's the whole page, short and sweet and she ate π this one lives in ./include/linux/cdx, you're reading the Kernel API Manual, and it was stamped October 2026 β mwah, love u, go wait for your callbacks ππ
π¦ 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