efa_com_cmd_exec(9)
π efa_com_cmd_exec (section 9) β the Kernel API Manual era π
okay so bestie, welcome to the efa_com_cmd_exec page, straight out of the Kernel API Manual π this one's giving "small function, big responsibilities" and honestly? iconic.
β¨ NAME β¨
efa_com_cmd_exec β Execute admin command π
πΈ SYNOPSIS πΈ
int efa_com_cmd_exec (struct efa_com_admin_queue *aq , u8 opcode , u8
flags , void *payload , size_t payload_size , struct efa_admin_acq_entry
*comp , size_t comp_size );
like, that's the whole vibe right there π
π¦ ARGUMENTS π¦
aqβ the admin queue, bestie. that's her whole thing πopcodeβ the opcode of the admin command. the "what are we even doing" of it all β¨flagsβ the admin command header flags. little header accessories, we love to see it πpayloadβ the payload of the admin command. the actual cargo πpayload_sizeβ how big that payload is, size-wise. no guessing π§compβ the command completion return entry. this is where the tea gets delivered βcomp_sizeβ the size of the command completion. okay so this one comes with lore: Submit an admin command and then wait until the device will return a completion. The completion will be copied intocomp. like it literally submits, waits for the device, then copies the completion intocomp. main character behaviour, no cap π«Ά
π DESCRIPTION π
so what does it return? return - 0 on success, negative value on failure. that's it, that's the whole description, and honestly it ate π₯
ngl bestie, negative value means things went sideways. keep an eye on that π
β SEE ALSO β
- Kernel file
./drivers/infiniband/hw/efa/efa_com.cπ efa_com_admin_destroy(9)efa_com_set_admin_polling_mode(9)efa_com_admin_init(9)efa_com_admin_q_comp_intr_handler(9)efa_com_aenq_intr_handler(9)efa_com_get_dma_width(9)efa_com_dev_reset(9)
like, go read the whole friend group, iykyk π β¨
okay that's the page bestie, hope it slayed π«Ά and for the cute sign-off: this whole thing lives in ./drivers/infiniband/hw/efa, dated October 2026, and yes it's still efa_com_cmd_exec(9) at the bottom because we keep the brand consistent πππΈ
π¦ 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