RPMA_CONN_CFG_SET_RQ_SIZE(3)

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

✨ rpma_conn_cfg_set_rq_size ✨

okay so bestie, welcome to the RPMA Programmer's Manual πŸ’– this one's all about rpma_conn_cfg_set_rq_size, and it's genuinely so simple you're gonna eat it up.


🌸 NAME 🌸

rpma_conn_cfg_set_rq_size β€” set the RQ size for the connection πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <librpma.h>

struct rpma_conn_cfg;
int rpma_conn_cfg_set_rq_size(struct rpma_conn_cfg *cfg, uint32_t rq_size);

πŸ’… DESCRIPTION πŸ’…

so basically, rpma_conn_cfg_set_rq_size() sets the RQ size for the connection. that's it, that's the whole job, she's an icon and she knows it πŸ’β€β™€οΈ

and here's the tea πŸ“ β€” if you never call this function at all, then rq_size just chills at its default value, which is 10, set by rpma_conn_cfg_new(3). no cap.


⭐ RETURN VALUE ⭐

rpma_conn_cfg_set_rq_size() returns 0 on success, or a negative error code on failure. that's the vibe check right there 🫢


πŸ’€ ERRORS πŸ’€

rpma_conn_cfg_set_rq_size() can fail with the following error:

  • RPMA_E_INVAL β€” cfg is NULL 😭 (like, she needs an actual cfg to work with, bestie, not vibes)

🌈 SEE ALSO 🌈


and that's the whole page, babe πŸ’œ this was RPMA, dated 01 April 2024 β€” go forth and set those RQ sizes, main character πŸ’…βœ¨

πŸ“¦ where this page comes from