PMDK man page

librpma

NAME

rpma_utils_ibv_context_is_odp_capable - is On-Demand Paging supported

SYNOPSIS

      #include <librpma.h>

      struct ibv_context;
      int rpma_utils_ibv_context_is_odp_capable(struct ibv_context *dev,
              int *is_odp_capable);

DESCRIPTION

rpma_utils_ibv_context_is_odp_capable() queries the RDMA device context's capabilities and check if it supports On-Demand Paging.

RETURN VALUE

The rpma_utils_ibv_context_is_odp_capable() function returns 0 on success or a negative error code on failure. The *is_odp_capable value on failure is undefined.

ERRORS

rpma_utils_ibv_context_is_odp_capable() can fail with the following errors:

SEE ALSO

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