Select an ioDimm. This structure is used as the input to most operations. Depending on the selector mode, one of the members must be populated with the correct value. More...
#include <iodimm_types.h>
Data Fields | |
uint32_t | lib_version |
fio_iodimm_selector_mode | mode |
uint32_t | index |
const char * | device_name |
void * | device_handle |
uint8_t | open_count |
const char * | pci_address |
uint16_t | pci_domain |
uint8_t | pci_bus |
uint8_t | pci_device |
uint8_t | pci_function |
void * | pci_info |
uint8_t | csr_count |
void * | csr_handle |
Select an ioDimm. This structure is used as the input to most operations. Depending on the selector mode, one of the members must be populated with the correct value.
uint8_t csr_count |
INTERNAL: Internally used to track open and close CSR calls on this selector.
void* csr_handle |
INTERNAL: Internally used to hold CSR info if the handle is used to open CSR.
void* device_handle |
INTERNAL: Internally used if device is opened via a non-PCI mode in open_iodimm_handle
const char* device_name |
CONDITIONAL: Device Name (ex: /dev/fct0) , populate if the selector mode is FIO_IODIMM_SELECT_NAME
uint32_t index |
CONDITIONAL: Device Index (ex: 0), populate if the selector mode is FIO_IODIMM_SELECT_INDEX
uint32_t lib_version |
REQUIRED: Fusion SDK API version (from FIO_STRUCT_INIT)
REQUIRED: Specifies which of the remaining members will be populated
uint8_t open_count |
INTERNAL: Internally used to track open and close calls on this selector. (available SDK v 3+)
const char* pci_address |
CONDITIONAL: PCI Address (ex: 6:0:0.0), populate if the selected mode is FIO_IODIMM_SELECT_PCI_ADDRESS. (available SDK v 3+)
uint8_t pci_bus |
CONDITIONAL: PCI Bus Address (ex: 0), populate if the selected mode is FIO_IODIMM_SELECT_PCI. (available SDK v 3+)
uint8_t pci_device |
CONDITIONAL: PCI Device Address (ex: 0), populate if the selected mode is FIO_IODIMM_SELECT_PCI. (available SDK v 3+)
uint16_t pci_domain |
CONDITIONAL: PCI Domain Address (ex: 6), populate if the selected mode is FIO_IODIMM_SELECT_PCI. (available SDK v 3+)
uint8_t pci_function |
CONDITIONAL: PCI Function Address (ex: 0), populate if the selected mode is FIO_IODIMM_SELECT_PCI. (available SDK v 3+)
void* pci_info |
INTERNAL: Internally used if device is opened via a PCI mode in open_iodimm_handle.