RPMA_CONN_CFG_SET_CQ_SIZE(3)
π rpma_conn_cfg_set_cq_size(3) π
okay so bestie, welcome to the RPMA Programmer's Manual β this one is a lil function called rpma_conn_cfg_set_cq_size, and no cap, it's a whole vibe. it sets the CQ size for your connection. that's it. that's the girl. β¨
πΈ NAME πΈ
rpma_conn_cfg_set_cq_size β set CQ size for the connection
π SYNOPSIS π
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_set_cq_size(struct rpma_conn_cfg *cfg, uint32_t cq_size);
π¦ DESCRIPTION π¦
so like, rpma_conn_cfg_set_cq_size() sets the CQ size for the connection. that's the whole job, she's booked and busy. π
and here's the tea bestie β if you don't call this function, then cq_size just chills at its default value, which is 10. that default was set by rpma_conn_cfg_new(3), so it's not just out here making up numbers, it's giving established canon. π«Ά
β¨ RETURN VALUE β¨
rpma_conn_cfg_set_cq_size() returns 0 on success, or a negative error code on failure. so if you see a negative number, that's not a slay, that's a problem. π
π ERRORS π
rpma_conn_cfg_set_cq_size() can fail with the following error:
RPMA_E_INVALβcfgisNULL. yeah she does not fw a null pointer, not even a little bit. π
π SEE ALSO π
and that's the whole page, periodt. π this was the RPMA manual, dated 01 April 2024, and it's giving main character energy from start to finish. go forth and set your CQ size, bestie, ily. πβ¨π¦
π¦ 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