rpma_peer_cfg_set_direct_write_to_pmem3
Declare direct write to pmem support
Usage
#include <librpma.h>
struct rpma_peer_cfg;
int rpma_peer_cfg_set_direct_write_to_pmem(struct rpma_peer_cfg *pcfg, bool supported);
Overview
rpma_peer_cfg_set_direct_write_to_pmem() declares the support of the direct write to PMEM.
Return value
The rpma_peer_cfg_set_direct_write_to_pmem() function returns 0 on success or a negative error code on failure.
Errors
rpma_peer_cfg_set_direct_write_to_pmem() can fail with the following error:
- •
-
RPMA_E_INVAL - pcfg is NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.