rpma_conn_...t_rcq_size(3)

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

πŸ’– rpma_conn_cfg_set_rcq_size β€” set receive CQ size for the connection πŸ’–

okay bestie, welcome to the RPMA Programmer's Manual πŸŽ€ this one's a little cutie, we're just setting a number, but it MATTERS, okay? let's go ✨


✨ NAME ✨

rpma_conn_cfg_set_rcq_size β€” set receive CQ size for the connection πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <librpma.h>

struct rpma_conn_cfg;
int rpma_conn_cfg_set_rcq_size(struct rpma_conn_cfg *cfg, uint32_t rcq_size);

like yes that's the whole vibe, she's small but she's doing her job 🫢


🌸 DESCRIPTION 🌸

so rpma_conn_cfg_set_rcq_size() sets the receive CQ size for the connection. that's it, that's the whole thing, no cap.

if you wanna know what the receive CQ even is (valid question, love that for you), go peek at rpma_conn_get_rcq() β€” it has all the details, iykyk πŸ’œ

and listen, if you just… don't call this function? no biggie. the rcq_size has a default value of 0, set for you by rpma_conn_cfg_new(3). she already handled it before you even showed up πŸ’–


⭐ RETURN VALUE ⭐

rpma_conn_cfg_set_rcq_size() returns 0 on success, or a negative error code on failure 😭 (yes, negative, that's how you know something went wrong, bestie)


πŸ’€ ERRORS πŸ’€

rpma_conn_cfg_set_rcq_size() can fail with the following error:

  • RPMA_E_INVAL β€” cfg is NULL πŸ™ˆ (like… you gotta give her a config, she can't work with vibes alone)

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the page, bestie 🌈 this was the RPMA manual, dated 01 April 2024, and you absolutely ate reading the whole thing, periodt πŸ’…βœ¨ mwah, go set some rcq sizes πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from