irdma_modify_qp_roce(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_modify_qp_roce(9) β€” like, the modify-qp request page, bestie

okay so this is a page from the Kernel API Manual, and honestly? it's a short one but it matters. irdma_modify_qp_roce does exactly what it says on the label: it's the modify qp request. that's it, that's the whole NAME section. short, sweet, iconic. πŸŽ€


✨ SYNOPSIS ✨

int irdma_modify_qp_roce (struct ib_qp *ibqp , struct ib_qp_attr *attr ,
int attr_mask , struct ib_udata *udata );

it returns an int, it takes four things, and yes bestie the spacing in the original is exactly like that, we respect the original πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

four of them, no more no less, let's go:

  • ibqp β€” the qp's pointer, for modify. that's the queue pair you're messing with, your main character 🫢
  • attr β€” access attributes. all the vibes of the modify, carried in a struct.
  • attr_mask β€” state mask. it tells everybody which of those attributes actually count.
  • udata β€” user data. the user-side payload, doing its thing.

that's literally all of them. short king behavior ngl πŸ‘‘


🌸 SEE ALSO 🌸

okay so here's the thing: this function lives in the kernel file at ./drivers/infiniband/hw/irdma/verbs.c, and it has so many neighbors. like an entire group chat of functions. here's the full squad, no cap, every single one:

Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9),
irdma_query_port(9), irdma_disassociate_ucontext(9), irdma_mmap(9),
irdma_alloc_push_page(9), irdma_alloc_ucontext(9),
irdma_dealloc_ucontext(9), irdma_alloc_pd(9), irdma_dealloc_pd(9),
irdma_get_pbl(9), irdma_clean_cqes(9), _irdma_destroy_qp(9),
irdma_destroy_qp(9), irdma_setup_virt_qp(9), irdma_setup_umode_qp(9),
irdma_setup_kmode_qp(9), irdma_create_qp(9), irdma_query_qp(9),
irdma_query_pkey(9), irdma_modify_qp(9), irdma_srq_free_rsrc(9),
irdma_cq_free_rsrc(9), irdma_free_cqbuf(9),
irdma_process_resize_list(9), irdma_destroy_srq(9), irdma_destroy_cq(9),
irdma_resize_cq(9), irdma_srq_event(9), irdma_modify_srq(9),
irdma_create_srq(9), irdma_query_srq(9), irdma_create_cq(9),
irdma_get_mr_access(9), irdma_free_stag(9), irdma_create_stag(9),
irdma_next_pbl_addr(9), irdma_copy_user_pgaddrs(9),
irdma_check_mem_contiguous(9), irdma_check_mr_contiguous(9),
irdma_setup_pbles(9), irdma_handle_q_mem(9), irdma_hw_alloc_mw(9),
irdma_alloc_mw(9), irdma_dealloc_mw(9), irdma_hw_alloc_stag(9),
irdma_alloc_mr(9), irdma_set_page(9), irdma_map_mr_sg(9),
irdma_hwreg_mr(9), irdma_reg_user_mr(9), irdma_reg_phys_mr(9),
irdma_get_dma_mr(9), irdma_del_memlist(9), irdma_dereg_mr(9),
irdma_post_send(9), irdma_post_srq_recv(9), irdma_post_recv(9),
irdma_flush_err_to_ib_wc_status(9), irdma_process_cqe(9),
irdma_poll_one(9), __irdma_poll_cq(9), irdma_poll_cq(9),
irdma_req_notify_cq(9), irdma_alloc_hw_port_stats(9),
irdma_get_hw_stats(9), irdma_query_gid(9), mcast_list_add(9),
mcast_list_del(9), mcast_list_lookup_ip(9), irdma_mcast_cqp_op(9),
irdma_mcast_mac(9), irdma_attach_mcast(9), irdma_detach_mcast(9),
irdma_ah_exists(9), irdma_destroy_ah(9), irdma_create_user_ah(9),
irdma_create_ah(9), irdma_query_ah(9), irdma_init_roce_device(9),
irdma_init_iw_device(9), irdma_init_rdma_device(9),
irdma_port_ibevent(9), irdma_ib_unregister_device(9),
irdma_ib_register_device(9), irdma_ib_dealloc_device(9)

note the very first one is _irdma_destroy_qp(9) with the little underscore β€” that's not a typo, that's just how it is, don't come for me πŸ™ˆ and yes __irdma_poll_cq(9) has two underscores, we stan a double-underscore moment πŸ’€

also lowkey note that irdma_modify_qp(9) is in there too, right next to irdma_modify_qp_roce(9) β€” siblings! not the same page though, so don't get it twisted bestie ✨

that's the whole page fr fr β€” no OPTIONS section, no EXIT STATUS, no BUGS, nothing else hiding in there. go read the neighbors if you want more 🀍

this lil page is from ./drivers/infiniband/hw/irdma, dated October 2026, and it's irdma_modify_qp_roce(9) β€” mwah, bye bestie, go modify those qps responsibly πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from