STRUCT IXD_CTLQ_REQ(9)
π struct ixd_ctlq_req(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the actual manual, and yes, we're reading it together, don't panic π«Ά
β¨ NAME β¨
struct ixd_ctlq_req β the standard virtchnl request description, aka the little form you fill out to describe a request, no cap π
πΈ SYNOPSIS πΈ
struct ixd_ctlq_req {
enum virtchnl2_op opcode;
size_t send_size;
void (*send_buff_init)(struct ixd_adapter *adapter, void *send_buff,
void *ctx);
int (*recv_process)(struct ixd_adapter *adapter, void *recv_buff,
size_t recv_size, void *ctx);
void *ctx;
};
like, look at her. five fields. iconic. main character struct energy honestly π
π Members π
okay let's go field by field, i got you:
opcodeβ the protocol opcode, and lowkey onlyvirtchnl2is needed for now β¨send_sizeβ the required length of the send buffer, like the exact size bestie, don't guess πsend_buff_initβ a function that initializes the allocated send buffer. it takesstruct ixd_adapter *adapter,void *send_buff, andvoid *ctxπ¦recv_processβ a function that handles the CP response. it takesstruct ixd_adapter *adapter,void *recv_buff,size_t recv_size, andvoid *ctxπ₯ctxβ additional context for the callbacks, iykyk π
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/intel/ixd/ixd_ctlq.hβ go read it, it's giving required reading π
aaaaand that's the whole page, you ate that fr fr π
little sign-off from the source: this one lives in ./drivers/net/ethernet/intel/ixd, dated October 2026 β so yeah, she's from the future a lil bit π«
struct ixd_ctlq_req(9) β periodt. π
π
π¦ 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