- bullseye 1.7-2+b1
|CXL_ERRINFO_SIZE(3)||CXL Programmer's Manual||CXL_ERRINFO_SIZE(3)|
cxl_errinfo_size - returns the size of afu_err_buff in bytes
int cxl_errinfo_size(struct cxl_afu_h *afu, size_t *valp);
cxl_errinfo_size stores the size (in bytes) of the AFU Error Buffer associated with the provided afu context handle at valp.
Applications can also use this function to determine if the afu_err_buff exists for the attached afu.
On success, 0 is returned and size of the buffer is stored at valp
On error, -1 is returned, errno is set appropriately and the contents at valp are not touched
- AFU device in dedicated process mode.
- AFU device in AFU directed mode, master context.
- AFU device in AFU directed mode, slave context.
- AFU Error Buffer contents. The contents of this file are application specific and depends on the AFU being used.