__ib_alloc_pd(9)
π
__ib_alloc_pd β like, the whole Kernel API Manual entry, bestie β¨
okay so picture this: it's giving "Kernel API Manual", section 9, and the star of the show is __ib_alloc_pd. yes the double underscore is on purpose, she's an internal queen π
πΈ NAME πΈ
__ib_alloc_pd β literally just allocates an unused protection domain. that's it, that's the whole vibe π¦
β¨ SYNOPSIS β¨
struct ib_pd * __ib_alloc_pd (struct ib_device *device , unsigned int
flags , const char *caller );
copy it exactly, don't @ me π
π ARGUMENTS π
deviceβ the device you're allocating the protection domain on. like, the actual hardware friend in question πflagsβ protection domain flags. yes, flags. plural. bring them π«Άcallerβ the caller's build-time module name. yep, you gotta say who you are, iykyk π
β DESCRIPTION β
so a protection domain object? she's the social glue fr fr. she provides an association between QPs, shared receive queues, address handles, memory regions, and memory windows. the way she connects everything β main character energy honestly π
and every PD has a local_dma_lkey which can be used as the lkey value for local memory operations. no cap, it's right there for you π
π¦ SEE ALSO π¦
kernel file ./drivers/infiniband/core/verbs.c, plus the whole friend group:
ib_dealloc_pd_user(9)rdma_copy_ah_attr(9)rdma_replace_ah_attr(9)rdma_move_ah_attr(9)rdma_create_ah(9)rdma_create_user_ah(9)rdma_move_grh_sgid_attr(9)rdma_destroy_ah_attr(9)ib_create_srq_user(9)ib_create_qp_user(9)ib_resolve_eth_dmac(9)ib_modify_qp_with_udata(9)ib_alloc_mr(9)ib_alloc_mr_integrity(9)ib_alloc_xrcd_user(9)ib_dealloc_xrcd_user(9)ib_create_wq(9)ib_destroy_wq_user(9)ib_map_mr_sg_pi(9)ib_map_mr_sg(9)ib_sg_to_pages(9)ib_drain_sq(9)ib_drain_rq(9)ib_drain_qp(9)rdma_alloc_hw_stats_struct(9)rdma_free_hw_stats_struct(9)
like... the whole roster. go read them, bestie, they're all iconic π₯
π mwah, that's a wrap! this little love letter lives in ./drivers/infiniband/core and it's stamped October 2026 β so go forth, allocate responsibly, and slay π§ββοΈβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms