rpma_conn_cfg_get_srq(3)
rpma_conn_cfg_get_srq π (section 3 of the RPMA Programmer's Manual, bestie)
okay so. you're deep in the RPMA docs, you've got a connection config object, and you're like "bestie where is my shared RQ at??" β and this is the little guy that answers. it's giving "fetch me my srq" energy and honestly? iconic. π
β¨ NAME β¨
rpma_conn_cfg_get_srq β get the shared RQ object from the connection
β¨ SYNOPSIS β¨
#include <librpma.h>
struct rpma_conn_cfg;
struct rpma_srq;
int rpma_conn_cfg_get_srq(const struct rpma_conn_cfg *cfg, struct rpma_srq **srq_ptr);
β¨ DESCRIPTION β¨
rpma_conn_cfg_get_srq() gets the shared RQ object from the connection. that's it, that's the whole vibe. you hand it a connection config, it hands you back the shared RQ. π
β¨ RETURN VALUE β¨
rpma_conn_cfg_get_srq() returns 0 on success or a negative error code on failure. and listen, this part matters: on failure it does not set the *srq_ptr value. not even a little. so don't go reading it like it means something, okay? π«Ά
β¨ ERRORS β¨
rpma_conn_cfg_get_srq() can fail with the following error:
RPMA_E_INVALβcfgorsrq_ptrisNULL
fr fr, if either of those isNULLyou're gettingRPMA_E_INVALand nothing else. no cap.
β¨ SEE ALSO β¨
and that's the whole page, you ate that π go set an srq and then come back and get it like the main character you are. mwah π
RPMA Β· 01 April 2024 Β· bye bestie, drink some water π§β¨
π¦ 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