RPMA_SRQ_CFG_SET_RQ_SIZE(3)
β¨ rpma_srq_cfg_set_rq_size(3) β¨
okay bestie, welcome to the RPMA Programmer's Manual π we're talking about rpma_srq_cfg_set_rq_size today and honestly? it's giving "small function, big responsibility". let's get into it π«Ά
πΈ NAME πΈ
rpma_srq_cfg_set_rq_size β set the RQ size of the shared RQ π
π¦ SYNOPSIS π¦
#include <librpma.h>
struct rpma_srq_cfg;
int rpma_srq_cfg_set_rq_size(struct rpma_srq_cfg *cfg, uint32_t rq_size);
like. look at her. iconic signature, no notes π
π DESCRIPTION π
so rpma_srq_cfg_set_rq_size() sets the RQ size of the shared RQ. that's the whole job, and she does it flawlessly, periodt β¨
and here's the tea π: if you don't call this function, then the rq_size just has the default value of 100, which was set by rpma_srq_cfg_new(3). so like, no pressure, she already came prepared π
π₯ RETURN VALUE π₯
rpma_srq_cfg_set_rq_size()returns0on success π- or a negative error code on failure π
π ERRORS π
ngl, rpma_srq_cfg_set_rq_size() can fail with this one:
RPMA_E_INVALβcfgisNULLπ (bestie. you forgot to pass the config. it's giving empty-handed energy)
π SEE ALSO π
and that's the whole page, you ate that π§β this was RPMA, dated 01 April 2024, and you just read rpma_srq_cfg_set_rq_size(3). go forth and set that RQ size, 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