rpma_conn_...t_rcq_size(3)

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

πŸ’– rpma_conn_cfg_get_rcq_size β€” bestie, let's go get that receive CQ size πŸ’–

okay so you're deep in the RPMA Programmer's Manual (that's the whole vibe of this page, no cap) and you need to know one (1) thing: how big is the receive CQ for your connection? Well. This function is literally the answer. 🫢


✨ NAME ✨

rpma_conn_cfg_get_rcq_size β€” get the receive CQ size for the connection


🌸 SYNOPSIS 🌸

#include <librpma.h>

struct rpma_conn_cfg;
int rpma_conn_cfg_get_rcq_size(const struct rpma_conn_cfg *cfg, uint32_t *rcq_size);

πŸ¦‹ DESCRIPTION πŸ¦‹

So rpma_conn_cfg_get_rcq_size() gets the receive CQ size for the connection. That's it. That's the job. πŸ’…

And if you want the actual tea about what the receive CQ even is, bestie, go read rpma_conn_get_rcq() β€” it has all the details. This function is not gonna explain it to you, it's just gonna hand you the number. πŸ™ˆ


πŸŽ€ RETURN VALUE πŸŽ€

rpma_conn_cfg_get_rcq_size() returns 0 on success, or a negative error code on failure. That's the vibe check. ✨

Important, fr fr: if it fails, rpma_conn_cfg_get_rcq_size() does not set the *rcq_size value. So don't go reading that variable like it means something after a failure β€” it does not. πŸ’€

πŸ’œ ERRORS πŸ’œ

rpma_conn_cfg_get_rcq_size() can fail with this one:

  • RPMA_E_INVAL β€” cfg or rcq_size is NULL. Classic. 😭

🌈 SEE ALSO 🌈


and that's the whole page, bestie β€” go forth and get that rcq size πŸ‘‘

this lil masterpiece came from the RPMA crew, dated 01 April 2024 β€” mwah, iconic, no notes πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from