irdma_query_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_query_device β€” a Kernel API Manual moment (section 9, bestie)

okay so picture this: you're deep in the kernel, section 9, and there's exactly one function whose whole personality is tell me about this device. That's irdma_query_device. No cap. It's the "so… what are you?" of the RDMA world and honestly? iconic. 🫢

✨ NAME ✨

irdma_query_device β€” get device attributes 🌸

πŸ¦‹ SYNOPSIS πŸ¦‹

int irdma_query_device (struct ib_device *ibdev , struct ib_device_attr
*props , struct ib_udata *udata );

signed, sealed, and returning an int β€” the vibes are immaculate, the argument list is right there πŸ‘‘

πŸŽ€ ARGUMENTS πŸŽ€

  • ibdev β€” the device pointer, and listen, it comes from the stack. that's the whole note. that's the lore. 🧚
  • props β€” this is the one doing the real work: the device attributes coming back out to you. it's giving "results go here" energy. ✨
  • udata β€” user data. lowkey mysterious, highkey just sitting there being user data. πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

bestie. sit down. hydrate. this list is long and we are respecting every single entry because that's the kind of page this is. πŸ’…

First, the source file itself:

  • Kernel file ./drivers/infiniband/hw/irdma/verbs.c

and then the entire irdma extended universe, in order, every one of them, no skipping, no summarising, we do not do that here:

πŸ’€ yes that's all of them. yes we listed them all. the way this page said "SEE ALSO" and meant see also literally everything. we ate. πŸ“

and that's the page, bestie πŸŽ€ β€” it lives in ./drivers/infiniband/hw/irdma, dated October 2026, and it's filed under irdma_query_device(9) in the Kernel API Manual. go query a device, you've earned it πŸŒˆπŸ‘‘πŸ’–

πŸ“¦ where this page comes from