RPMA_CONN_CFG_SET_COMPL_CHANNEL(3)
π rpma_conn_cfg_set_compl_channel(3) β RPMA Programmer's Manual π
okay bestie, gather round, because today we're talking about the little function that decides whether your CQ and your RCQ are gonna share a completion event channel or keep their own separate lil spaces π it's giving "we can share, or we can each have our own room" and honestly? iconic either way.
β¨ NAME β¨
rpma_conn_cfg_set_compl_channel β set if the completion event channel can be shared by CQ and RCQ
πΈ SYNOPSIS πΈ
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_set_compl_channel(struct rpma_conn_cfg *cfg, bool shared);
π¦ DESCRIPTION π¦
so, rpma_conn_cfg_set_compl_channel() does exactly what it says on the tin, no cap β it sets whether the completion event channel can be shared by CQ and RCQ, or not. that's it. that's the whole job. π
and here's the tea: by default, the completion event channel is not shared by CQ and RCQ. like, out of the box they're doing their own separate thing. π
if you wanna know the full lore, go read rpma_conn_cfg_new(3) for details β it's got the whole backstory. π«Ά
β RETURN VALUE β
rpma_conn_cfg_set_compl_channel() returns 0 on success, or a negative error code if things go sideways. π
π ERRORS π
rpma_conn_cfg_set_compl_channel() can fail with the following error:
RPMA_E_INVALβcfgisNULL. yeah. you gotta actually pass it a config, bestie, not vibes. π
π SEE ALSO π
rpma_conn_cfg_new(3)rpma_conn_wait(3)rpma_conn_cfg_get_compl_channel(3)librpma(7)- https://pmem.io/rpma/
and that's the whole page, babe β¨ this was RPMA, dated 01 April 2024 β mwah, go forth and configure your channels responsibly ππ§
π¦ 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