irdma_query_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

irdma_query_port β€” get port attributes

okay so bestie, this is one of those little functions from the irdma crew, living in the Kernel API Manual, and honestly? it's giving "short and sweet, does exactly one thing." it goes and grabs the attributes of a port for you. that's the whole vibe. no cap. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int irdma_query_port (struct ib_device *ibdev , u32 port , struct
ib_port_attr *props );

literally three things in, one int out. she's tidy like that. πŸŽ€


🌸 ARGUMENTS 🌸

  • ibdev β€” device pointer from stack. yes, from stack, that's what the page says, don't come for me. it's your struct ib_device * and it came from the stack, periodt. πŸ’…
  • port β€” port number for query. you're asking about this port. that's it, that's the whole argument. u32, by the way. πŸ”₯
  • props β€” returning device attributes. this is where the answers land β€” it's your output struct, struct ib_port_attr *, and it's literally just here to receive. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where the manpage goes feral and lists the entire friend group 😭 β€” and yes, they're all from the kernel file ./drivers/infiniband/hw/irdma/verbs.c. every single one, in order, no skips:

like… that's the whole verbs.c group chat, everybody got tagged πŸ’€ and not a single one skipped, we love a thorough queen πŸ‘‘


and that's the page bestie!! short, cute, factual, no notes πŸ§šπŸ’œ

signing off from ./drivers/infiniband/hw/irdma, dated October 2026 β€” mwah, thanks for reading, slay 🌈✨🫢

πŸ“¦ where this page comes from