irdma_query_qp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ irdma_query_qp β€” query qp attributes ✨

okay so bestie, welcome to irdma_query_qp(9) from the Kernel API Manual πŸ’… this one lives in the infiniband/irdma corner of the kernel and it's literally just: you hand it a QP, it hands you back the attributes. lowkey iconic, highkey simple. no cap 🫢


🌸 SYNOPSIS 🌸

int irdma_query_qp (struct ib_qp *ibqp , struct ib_qp_attr *attr , int
attr_mask , struct ib_qp_init_attr *init_attr );

that's the whole signature, copy it exactly, don't get creative with it 😭 it returns an int, periodt.


πŸŽ€ ARGUMENTS πŸŽ€

  • ibqp β€” the qp pointer. like, the queue pair you're asking about. that's your main character 🎯
  • attr β€” attributes pointer. this is where the attribute-y stuff goes. ✨
  • attr_mask β€” Not used. fr fr, it's not used. don't come for me, that's just what the page says πŸ’€
  • init_attr β€” qp attributes to return. this is the goodie bag you get back at the end πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

so the kernel file for this one is ./drivers/infiniband/hw/irdma/verbs.c β€” that's where the magic lives πŸ“ and here's the whole friend group, every single one, no skips, no cuts πŸ‘‘:

like, the whole roster. bestie really said "you're gonna meet everyone" πŸ˜­πŸ’–

ngl that _irdma_destroy_qp(9) with the leading underscore is NOT a typo β€” it's a different function from irdma_destroy_qp(9). keep both, they're both invited. 🫢

and that's the page, mwah πŸ’‹ this little beauty ships from the path ./drivers/infiniband/hw/irdma, dated October 2026, and it goes by irdma_query_qp(9) β€” that's the source, the version and the date all in one, so you can cite it and slay responsibly πŸ‘‘βœ¨πŸŒΈ

πŸ“¦ where this page comes from