CXL_GET_PP_MMIO_LEN(3) | CXL Programmer's Manual | CXL_GET_PP_MMIO_LEN(3) |
cxl_get_pp_mmio_len - get the per-process MMIO space length
#include <libcxl.h>
int cxl_get_pp_mmio_len(struct cxl_afu_h *afu, long *valp);
cxl_get_pp_mmio_len() copies the per-process MMIO space length of afu to the long integer pointed to by valp. The AFU must be opened in AFU directed mode, master context.
On success, 0 is returned. On error, -1 is returned and errno is set appropriately.
cxl(3), cxl_adapter_afu_next(3), cxl_afu_next(3), cxl_get_pp_mmio_off(3)
2017-05-24 | LIBCXL 1.5 |