cmdq_sync_cmd_handler(9)
β¨ cmdq_sync_cmd_handler(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this one's a lil function that handles the completion event for a sync command in cmdq β short page, but it's lowkey important, iykyk π
πΈ NAME πΈ
cmdq_sync_cmd_handler β the cmdq completion event handler for a sync command π¦
β SYNOPSIS β
void cmdq_sync_cmd_handler (struct hinic_cmdq *cmdq , u16 cons_idx , int
errcode );
like, it returns void β no take-backs, no return value, she just does her thing and leaves π
π«Ά ARGUMENTS π«Ά
cmdqβ the cmdq of the command π (yes, the queue itself, bestie, hand it over)cons_idxβ the consumer index to update the error code for β¨ (this is the one whose error code is getting updated, k?)errcodeβ the error code π (the actual error code, no cap)
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.cπ hinic_alloc_cmdq_buf(9)hinic_free_cmdq_buf(9)hinic_cmdq_direct_resp(9)hinic_set_arm_bit(9)cmdq_arm_ceq_handler(9)cmdq_ceq_handler(9)cmdq_init_queue_ctxt(9)init_cmdq(9)free_cmdq(9)init_cmdqs_ctxt(9)hinic_init_cmdqs(9)hinic_free_cmdqs(9)
like a whole friend group of functions, fr fr π go read them all, they ate π
ngl this one's a tiny page but it's iconic in its own way β don't sleep on it π§
sign-off time, bestie π«Ά this lil page came from ./drivers/net/ethernet/huawei/... and it's dated October 2026 β periodt, that's the whole vibe πβ¨π
π¦ 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