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

cxl_set_irqs_max - administratively restrict the maximum number of AFU interrupts

#include <libcxl.h>

int cxl_set_irqs_max(struct cxl_afu_h *afu, long value);

cxl_set_irqs_max() sets the maximum number of interrupts that can be requested for afu, when calling cxl_afu_attach_full() or cxl_afu_attach_work(). value must be greater or equal to the value returned by cxl_get_irqs_min().

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

Invalid argument value.

cxl(3), cxl_afu_attach_full(3), cxl_afu_attach_work(3), cxl_get_irqs_max(3), cxl_get_irqs_min(3)

2017-05-24 LIBCXL 1.5