rpma_conn_cfg_set_srq(3)
π rpma_conn_cfg_set_srq(3) π
okay bestie, welcome to the RPMA Programmer's Manual β¨ this one's a lil baby function but she's important, trust.
πΈ NAME πΈ
rpma_conn_cfg_set_srq β bestie, this is the one that sets a shared RQ object for the connection π«Ά
β¨ SYNOPSIS β¨
#include <librpma.h>
struct rpma_conn_cfg;
struct rpma_srq;
int rpma_conn_cfg_set_srq(struct rpma_conn_cfg *cfg, struct rpma_srq *srq);
like, you gotta include librpma.h first, no cap. π
π DESCRIPTION π
so rpma_conn_cfg_set_srq() sets a shared RQ object for the connection. that's the whole vibe. π
and listen β if you never call this function, then the srq just has the default value (NULL) that got set by rpma_conn_cfg_new(3). so it's giving "no srq, no problem" unless you say otherwise. lowkey iconic of the defaults ngl. β¨
π₯ RETURN VALUE π₯
rpma_conn_cfg_set_srq() returns 0 on success, or a negative error code on failure. so zero = slay, negative = not slay π
π ERRORS π
rpma_conn_cfg_set_srq() can fail with the following error:
RPMA_E_INVALβcfgisNULL. bestie. you passed in nothing. the function cannot work with nothing. π
π¦ SEE ALSO π¦
rpma_conn_cfg_new(3)rpma_conn_cfg_get_srq(3)librpma(7)- <https://pmem.io/rpma/> β wait, no links allowed, but the reference is literally
https://pmem.io/rpma/so go look at it π
RPMA Β· 01 April 2024 Β· rpma_conn_cfg_set_srq(3)
and that's the whole page, bestie π this was the RPMA manual, dated 01 April 2024, and you ate. periodt. ππΈ
π¦ where this page comes from
- ubuntu noble: librpma-dev 1.3.0-2build2 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms