table of contents
CXL_SET_IRQS_MAX(3) | CXL Programmer's Manual | CXL_SET_IRQS_MAX(3) |
NAME¶
cxl_set_irqs_max - administratively restrict the maximum number of AFU interrupts
SYNOPSIS¶
#include <libcxl.h>
int cxl_set_irqs_max(struct cxl_afu_h *afu, long value);
DESCRIPTION¶
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().
RETURN VALUE¶
On success, 0 is returned. On error, -1 is returned and errno is set appropriately.
ERRORS¶
- EINVAL
- Invalid argument value.
SEE ALSO¶
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 |