rvt_create_srq(9)
π rvt_create_srq(9) β from the Kernel API Manual, bestie π
okay so picture this: you're deep in the kernel, the vibes are immaculate, and you need a shared receive queue. that's literally the whole plot. this is a rvt function, section 9 (kernel API), and yes i'm about to walk you through it like we're on facetime β¨
πΈ NAME πΈ
rvt_create_srq β create a shared receive queue, no cap π«Ά
β¨ SYNOPSIS β¨
int rvt_create_srq (struct ib_srq *ibsrq , struct ib_srq_init_attr
*srq_init_attr , struct ib_udata *udata );
that's the whole signature, copy it exactly, don't be out here "fixing" the spacing, it ate and it's staying π
π¦ ARGUMENTS π¦
ibsrqβ the protection domain of the SRQ to create π₯ (yes bestie, that's what the docs say, that's what we're writing, we don't argue with the source.)srq_init_attrβ the attributes of the SRQ πΈ like, all the personality settings for the SRQ you're about to bring into this world.udataβ data fromlibibverbswhen creating a user SRQ π§ this is the userspace-to-kernel tea being passed along.
π RETURN π
0 on success β that's it. zero is the good number here, the "we slayed" number, the main character outcome π
π SEE ALSO π
- Kernel file
./drivers/infiniband/sw/rdmavt/srq.cβ go read the actual source, iykyk π₯ rvt_driver_srq_init(9)rvt_modify_srq(9)rvt_query_srq(9)rvt_destroy_srq(9)
like the full SRQ friend group fr fr π
ngl bestie, that's the entire page β no warnings, no bugs section, no environment variables hiding in there. sometimes the manpage is short and that's iconic π
mwah π this little gem lives in ./drivers/infiniband/sw/rdmavt and it's dated October 2026 β yes, the future, she's ahead of her time, and rvt_create_srq(9) is her name, periodt. πΈπ«Άβ¨
π¦ 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