irdma_create_ceq(9)
π irdma_create_ceq β create completion event queue β¨
okay so bestie, we're in the Kernel API Manual today (yes, the 9 section, we're fancy like that π) and the star of the show is irdma_create_ceq. It literally does what it says on the tin: it creates a completion event queue. Iconic behaviour, no notes. π
β¨ SYNOPSIS β¨
int irdma_create_ceq (struct irdma_pci_f *rf , struct irdma_ceq *iwceq ,
u32 ceq_id , u16 vsi_idx );
likeβ¦ four arguments, one int return, we love a clean signature π«Ά
πΈ ARGUMENTS πΈ
rfβ the RDMA PCI function. your main character struct, lowkey the whole reason we're here πiwceqβ pointer to the ceq resources that are gonna get created. it's giving "here's the empty vessel, please fill it" π¦ceq_idβ the id number of theiwceq. au32bestie, so it's got range β¨vsi_idxβ vsi idx. a lilu16, short and sweet π
π₯ DESCRIPTION π₯
so the whole vibe is: return 0 if the ceq and the resources associated with it are successfully created. that's the slay scenario π
otherwise? return error. and yeah, "otherwise return error" is literally all the docs give us here β no cap, that's the deal π
π SEE ALSO π
okay this list is long long, but we don't skip, we don't cut, we list every single one of them because that's the assignment and we ate π₯
the kernel file lives at ./drivers/infiniband/hw/irdma/hw.c π and the whole squad is:
irdma_iwarp_ce_handler(9)irdma_puda_ce_handler(9)irdma_process_normal_ceqe(9)irdma_process_reserved_ceqe(9)irdma_process_ceq(9)irdma_complete_cqp_request(9)irdma_process_ae_def_cmpl(9)irdma_process_aeq(9)irdma_ena_intr(9)irdma_dpc(9)irdma_ceq_dpc(9)irdma_save_msix_info(9)irdma_irq_handler(9)irdma_ceq_handler(9)irdma_destroy_irq(9)irdma_destroy_cqp(9)irdma_destroy_aeq(9)irdma_destroy_ceq(9)irdma_del_ceq_0(9)irdma_del_ceqs(9)irdma_destroy_ccq(9)irdma_close_hmc_objects_type(9)irdma_del_hmc_objects(9)irdma_create_hmc_obj_type(9)irdma_create_hmc_objs(9)irdma_obj_aligned_mem(9)irdma_create_cqp(9)irdma_create_ccq(9)irdma_alloc_set_mac(9)irdma_cfg_ceq_vector(9)irdma_cfg_aeq_vector(9)irdma_setup_ceq_0(9)irdma_setup_ceqs(9)irdma_create_aeq(9)irdma_setup_aeq(9)irdma_initialize_ilq(9)irdma_initialize_ieq(9)irdma_reinitialize_ieq(9)irdma_hmc_setup(9)irdma_del_init_mem(9)irdma_initialize_dev(9)irdma_rt_deinit_hw(9)irdma_get_used_rsrc(9)irdma_rt_init_hw(9)irdma_ctrl_init_hw(9)irdma_set_hw_rsrc(9)irdma_calc_mem_rsrc_size(9)irdma_initialize_hw_rsrc(9)irdma_cqp_ce_handler(9)cqp_compl_worker(9)irdma_lookup_apbvt_entry(9)irdma_next_iw_state(9)irdma_del_local_mac_entry(9)irdma_add_local_mac_entry(9)irdma_alloc_local_mac_entry(9)irdma_cqp_manage_apbvt_cmd(9)irdma_add_apbvt(9)irdma_del_apbvt(9)irdma_manage_arp_cache(9)irdma_send_syn_cqp_callback(9)irdma_manage_qhash(9)irdma_hw_flush_wqes_callback(9)irdma_hw_flush_wqes(9)irdma_gen_ae(9)
yeah. sixty-something functions. we listed them all. you're welcome ππ
fr fr bestie, if you're gonna go read the source, start with the file above β that's where the actual hw.c lore lives π§
and that's a wrap! π this lil page came from ./drivers/infiniband/hw/irdma, dated October 2026, and it's filed under irdma_create_ceq(9) β go be great with your completion event queues, 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