NAME¶
cxl_work_set_wed - set the value of the work element descriptor
SYNOPSIS¶
#include <libcxl.h>
int cxl_work_set_wed(struct cxl_ioctl_start_work
*work, __u64 wed);
DESCRIPTION¶
cxl_work_set_wed() sets the value of the work element descriptor
wed into the struct work. The work element descriptor wed
is a 64-bit argument defined by the AFU. Typically this is an effective
address pointing to an AFU specific structure describing what work to perform.
RETURN VALUE¶
On success, 0 is returned. On error, -1 is returned and errno is set
appropriately.
ERRORS¶
- EINVAL
- Invalid argument value.