rdma_create_id(9)
π rdma_create_id(9) π
okay so bestie, welcome to rdma_create_id(9) from the Kernel API Manual β yes that manual, the one your kernel-dev crush keeps quoting. this is literally the page that spawns RDMA identifiers, and no cap, it's kind of a big deal π
β¨ SYNOPSIS β¨
rdma_create_id (net , event_handler , context , ps , qp_type );
like, yes, the spacing before the parens is iconic and we're keeping it exactly as-is, don't @ me π
πΈ ARGUMENTS πΈ
netβ the network namespace where your shiny new id gets created. that's the whole vibe, it's home base πevent_handlerβ the user callback that gets invoked to report events tied to therdma_idyou get back. it's the main character of the whole operation, honestly π₯contextβ a user-specified context that gets associated with the id. your little souvenir to bring along πpsβ RDMA port space. that's it, that's the whole description, keep it moving π¦qp_typeβ the type of queue pair that goes with the id. the qp's whole personality, basically π
π DESCRIPTION π
so this bad boy returns a new rdma_cm_id. iconic. and here's the tea: the id holds a reference on the network namespace until it is destroyed β so like, it's not letting go of that namespace until you properly destroy it, fr fr. don't leave it hanging π
and the event handler callback? it serializes on the id's mutex and β good news β it is allowed to sleep. yes bestie, you read that right, sleeping is permitted, we love a callback that gets its rest π΄β¨
π SEE ALSO π
- the kernel file
./include/rdma/rdma_cm.hπ rdma_destroy_id(9)rdma_restrict_node_type(9)rdma_bind_addr(9)rdma_resolve_addr(9)rdma_resolve_route(9)rdma_resolve_ib_service(9)rdma_create_qp(9)rdma_destroy_qp(9)rdma_init_qp_attr(9)rdma_listen(9)rdma_notify(9)rdma_reject(9)rdma_disconnect(9)rdma_join_multicast(9)rdma_leave_multicast(9)rdma_set_service_type(9)rdma_set_reuseaddr(9)rdma_set_afonly(9)rdma_reject_msg(9)rdma_consumer_reject_data(9)rdma_read_gids(9)
like, the whole friend group showed up to the function's birthday party π«ΆπΊ
and that's the page!! tysm for reading, go forth and create your ids responsibly π§ββοΈπ« this cutie comes from ./include/rdma, dated October 2026 β slay, periodt, bye bestie ππ
π¦ 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