table of contents
CXL_WORK_DISABLE_WAIT(3) | CXL Programmer's Manual | CXL_WORK_DISABLE_WAIT(3) |
NAME¶
cxl_work_disable_wait - indicate that a host thread will not wait
SYNOPSIS¶
#include <libcxl.h>
int cxl_work_disable_wait(struct cxl_ioctl_start_work *work);
DESCRIPTION¶
The tunneled operation as_notify is supported on POWER9. See cxl_get_tunneled_ops_supported().
cxl_work_disable_wait() indicates in the work structure allocated by cxl_work_alloc(), that the thread that will attach an AFU context with cxl_afu_attach_work() will not call cxl_afu_host_thread_wait().
This is the default behaviour. Calling this function is only required to cancel a previous call to cxl_work_enable_wait().
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_work(3), cxl_afu_host_thread_wait(3), cxl_get_tunneled_ops_supported(3), cxl_work_alloc(3), cxl_work_enable_wait(3), cxl_work_get_tid(3)
2018-04-24 | LIBCXL 1.6 |