logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpma_conn_cfg_set_rq_size - set RQ size for the connection

Description

rpma_conn_cfg_set_rq_size()  sets  the  RQ  size  for the connection. If this function is not called, the
       rq_size has the default value (10) set by rpma_conn_cfg_new(3).

Errors

rpma_conn_cfg_set_rq_size() can fail with the following error:

       •  RPMA_E_INVAL - cfg is NULL

Name

rpma_conn_cfg_set_rq_size - set RQ size for the connection

Return Value

       The rpma_conn_cfg_set_rq_size() function returns 0 on success or a negative error code on failure.

See Also

rpma_conn_cfg_new(3), rpma_conn_cfg_get_rq_size(3), librpma(7) and https://pmem.io/rpma/

RPMA                                              01 April 2024                     rpma_conn_cfg_set_rq_size(3)

Synopsis

             #include <librpma.h>

             struct rpma_conn_cfg;
             int rpma_conn_cfg_set_rq_size(struct rpma_conn_cfg *cfg, uint32_t rq_size);

See Also