ib_create_qp_user(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ib_create_qp_user(9) β€” like, the Kernel API Manual page, but make it make sense

okay so bestie, we're in the Kernel API Manual today and this one is called ib_create_qp_user and it does exactly one iconic thing: creates a QP associated with the specified protection domain. that's it, that's the whole vibe. a Queue Pair, born into this world, tied to its PD from day one πŸŽ€


✨ NAME ✨

ib_create_qp_user β€” Creates a QP associated with the specified protection domain.

like... a whole Queue Pair. your very own. associated with the specified protection domain. no cap πŸ’–


🌈 SYNOPSIS 🌈

struct ib_qp * ib_create_qp_user (struct ib_device *dev , struct ib_pd
*pd , struct ib_qp_init_attr *attr , struct uverbs_attr_bundle *uattrs ,
struct ib_uqp_object *uobj , const char *caller );

she's long, she's got six arguments, she's main character energy πŸ¦‹


🫢 ARGUMENTS 🫢

the cast of characters, in order, no skips:

  • dev β€” the IB device. the hardware baddie in question πŸ”₯
  • pd β€” The protection domain associated with the QP. (your QP's emotional support PD πŸ’œ)
  • attr β€” A list of initial attributes required to create the QP. If QP creation succeeds, then the attributes are updated to the actual capabilities of the created QP. so it goes in as a wishlist and comes back as receipts ✨
  • uattrs β€” User ioctl attributes and udata.
  • uobj β€” uverbs obect. (yes, the manpage literally spells it "obect" and honestly? relatable 😭 we keep her as she is πŸ’€)
  • caller β€” caller's build-time module name. so the kernel knows who to blame, affectionately 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

the whole group chat, all present and accounted for:

Kernel file ./drivers/infiniband/core/verbs.c plus these icons:

ngl that's a stacked SEE ALSO. every single one of them said "we're coming to the function" and they showed up πŸ˜€πŸ’…


heads up bestie: attr is the one doing the glow-up. you hand it what you want, and on success it gets rewritten with what you actually got. so don't go reading your original values back like they're still true β€” that's the trap πŸ™ˆ

alright that's the whole page, mwah πŸ’‹ she lives in ./drivers/infiniband/core and she's dated October 2026 β€” mark your calendars, she's a fall icon πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from