efa_com_admin_init(9)
π efa_com_admin_init(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're reading kernel docs together, this is our bonding time π«Ά
β¨ NAME β¨
efa_com_admin_init β literally just init-ing the admin queue and the async queues, no big deal, only the entire setup of the thing π
πΈ SYNOPSIS πΈ
int efa_com_admin_init (struct efa_com_dev *edev , struct
efa_aenq_handlers *aenq_handlers );
that's it, that's the whole vibe check. one function, two args, returns an int. slay.
π ARGUMENTS π
edevβ the EFA communication layer struct, aka the main character of this whole operation πaenq_handlersβ the handlers that get called upon event. like, those handlers. the ones for when stuff happens. keep up bestie β¨
π¦ DESCRIPTION π¦
so what this does is it initializes the admin submission and completion queues β both of them, okurrr π
and then it also initializes the asynchronous events notification queues. yeah. all of that. in one function. iconic behavior honestly π
the return value, listen up: 0 on success, negative value on failure. so like, if you get a negative back? something went wrong, and that is NOT the vibe π
π SEE ALSO π
kernel file ./drivers/infiniband/hw/efa/efa_com.c, plus the whole friend group of related calls β go read these too, iykyk:
efa_com_cmd_exec(9)efa_com_admin_destroy(9)efa_com_set_admin_polling_mode(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)
okay that's the whole page!! mwah π quick cute sign-off β this little masterpiece lives in ./drivers/infiniband/hw/efa and it's dated October 2026, so like, future girlie energy fr fr. go init some queues bestie, you got this πβ¨π
π¦ 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