RPMA_SRQ_CFG_GET_RQ_SIZE(3)
π NAME π
rpma_srq_cfg_get_rq_size β bestie, this is the one that gets the RQ size of the shared RQ. that's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
okay so first you gotta pull in the header, no cap:
#include <librpma.h>
struct rpma_srq_cfg;
int rpma_srq_cfg_get_rq_size(const struct rpma_srq_cfg *cfg, uint32_t *rq_size);
π¦ DESCRIPTION π¦
so like, rpma_srq_cfg_get_rq_size() gets the RQ size of the shared RQ. that's literally the entire vibe. you hand her a cfg, she tells you the RQ size. main character behaviour honestly π«Ά
π RETURN VALUE π
rpma_srq_cfg_get_rq_size() returns 0 on success, or a negative error code on failure. periodt.
π¨ and listen β on failure she does not set the *rq_size value. not even a little. so don't go reading it and assuming it means something, because it does not, and that's on that π
π ERRORS π
rpma_srq_cfg_get_rq_size() can fail with the following error:
RPMA_E_INVALβcfgorrq_sizeisNULL. yeah, one of them's missing and she's not about to guess π
πΈ SEE ALSO πΈ
and that's the whole page, bestie, you ate it up π₯ this was the RPMA programmer's manual, rpma_srq_cfg_get_rq_size(3), dated 01 April 2024 β go forth and query those sizes, ily, bye ππ
π¦ 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