CXL_AFU_DEV_NAME(3)

NAME
cxl_afu_dev_name - return the AFU device name

SYNOPSIS
#include <libcxl.h>

char *cxl_afu_dev_name(struct cxl_afu_h *afu);

DESCRIPTION
cxl_afu_dev_name() returns the basename of the device associated to afu. The AFU devices of the CXL adapter card<i> are named afu<i>.0, afu<i>.1, etc. AFUs opened in dedicated process mode, or AFU directed mode in master or slave context, are respectly suffixed with d, m, and s.

FILES

/dev/cxl/afu<i>.<j>d
    AFU device in dedicated process mode.

/dev/cxl/afu<i>.<j>m
    AFU device in AFU directed mode, master context.

/dev/cxl/afu<i>.<j>s
    AFU device in AFU directed mode, slave context.

SEE ALSO
cxl(3), cxl_adapter_afu_next(3), cxl_afu_fd(3), cxl_afu_fd_to_h(3), cxl_afu_get_process_element(3), cxl_afu_next(3), cxl_afu_open_dev(3), cxl_afu_open_h(3), cxl_afu_opened(3), cxl_afu_sysfs_pci(3)