RPMA_SRQ_CFG_GET_RQ_SIZE(3)

πŸ“¦
version 1.3.0 Β· 3 versions
, in ubuntu noble

πŸ’– 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 β€” cfg or rq_size is NULL. 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