STRUCT FWCTL_RPC_CXL_OUT(9)
β¨ struct fwctl_rpc_cxl_out(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this is the page for struct fwctl_rpc_cxl_out, and no cap, it's the output side of the ioctl(FWCTL_RPC) glow-up for CXL π
like, when the device talks back, this is the shape it talks back in. periodt.
πΈ NAME πΈ
struct fwctl_rpc_cxl_out β the ioctl(FWCTL_RPC) output struct, but make it CXL π¦
β SYNOPSIS β
literally the whole vibe, verbatim, don't touch:
struct fwctl_rpc_cxl_out {
struct {
__u32 size;
__u32 retval;
};
union {
struct cxl_mbox_get_sup_feats_out get_sup_feats_out;
__u8 payload[];
};
};
π Members π
bestie there are two anonymous things in here and honestly they're both main character energy π
{unnamed_struct}β anonymous. that's it, that's the whole note π she has no name, she has no drama, she's just vibing there unnamed.sizeβ the size of the output payload π (yes, the payload. get to know her, she comes back later).retvalβ the return value from the device π₯ this is where the hardware tells you what it thinks. listen to her.{unnamed_union}β also anonymous π another nameless icon, living her truth.get_sup_feats_outβ Get Supported Features output β¨ type isstruct cxl_mbox_get_sup_feats_out, and she is the structured option in the union.payloadβ raw byte stream of payload π type__u8 payload[], the flexible-array member, just raw bytes doing raw byte things. no thoughts, head empty, bytes only π§
ngl the way this struct works: the anonymous struct gives yousize+retvalup front, then the anonymous union lets you read the same trailing bytes either asget_sup_feats_out(the supported-features shape) or as the rawpayload[]stream. same bytes, two outfits π
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/fwctl/cxl.h struct fwctl_rpc_cxl(9)π go read her too, iykyk
okay that's the whole page, you ate that π«Άπ β this was brought to you by the kernel source tree at ./include/uapi/fwctl, dated October 2026, and honestly? iconic. 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