RPMA_SRQ_CFG_GET_RCQ_SIZE(3)
π NAME π
rpma_srq_cfg_get_rcq_size β bestie, this one gets the receive CQ size of the shared RQ. That's it, that's the whole job. She's a getter. She gets. π
β¨ SYNOPSIS β¨
#include <librpma.h>
struct rpma_srq_cfg;
int rpma_srq_cfg_get_rcq_size(const struct rpma_srq_cfg *cfg, uint32_t *rcq_size);
π¦ DESCRIPTION π¦
okay so rpma_srq_cfg_get_rcq_size() literally just gets the receive CQ size of the shared RQ. That's the vibe. You hand it your config, you hand it a place to put the number, and it puts the number there. No drama, no plot twists, no side quests. π
πΈ RETURN VALUE πΈ
So here's the tea: rpma_srq_cfg_get_rcq_size() returns 0 on success, or a negative error code if it's not giving. π
And like β important β on failure it does not set the *rcq_size value. It's not gonna leave you a half-eaten snack and pretend everything's fine. Nothing gets written, periodt. π«Ά
π ERRORS π
rpma_srq_cfg_get_rcq_size() can fail with the following error, and honestly there's exactly one:
RPMA_E_INVALβcfgorrcq_sizeisNULL. Ma'am. You gave it nothing. It cannot work with nothing. π
π₯ SEE ALSO π₯
okay bestie that's the whole page, you ate it up, no cap π β¨
this little legend is from the RPMA Programmer's Manual, dated 01 April 2024 β go forth and get those CQ sizes, you main character ππ
π¦ 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