rpma_conn_...t_rcq_size(3)
π 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_sizevalue. 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βcfgorrcq_sizeisNULL. Classic. π
π SEE ALSO π
rpma_conn_cfg_new(3)rpma_conn_cfg_set_rcq_size(3)rpma_conn_get_rcq(3)librpma(7)- https://pmem.io/rpma/
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
- 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