DOKK / manpages / debian 11 / libcxl-dev / cxl_get_irqs_min.3.en
CXL_GET_IRQS_MIN(3) CXL Programmer's Manual CXL_GET_IRQS_MIN(3)

cxl_get_irqs_min - get the minimum number of AFU interrupts required for each context

#include <libcxl.h>

int cxl_get_irqs_min(struct cxl_afu_h *afu, long *valp);

cxl_get_irqs_min() copies to the long integer pointed to by valp the minimum number of AFU interrupts required for each context of afu.

This is the minimum number that must be requested when calling cxl_afu_attach_full() or cxl_afu_attach_work() for afu. It is implicitly requested by cxl_afu_attach().

On success, 0 is returned. On error, -1 is returned and errno is set appropriately.

Invalid argument value.
Insufficient memory.

cxl(3), cxl_afu_attach(3), cxl_afu_attach_full(3), cxl_afu_attach_work(3), cxl_get_irqs_max(3), cxl_get_mode(3), cxl_get_modes_supported(3), cxl_get_prefault_mode(3), cxl_set_irqs_max(3), cxl_work_set_num_irqs(3)

2017-05-24 LIBCXL 1.5