0001
0002
0003 #ifndef _OCXL_CONFIG_H_
0004 #define _OCXL_CONFIG_H_
0005
0006
0007
0008
0009
0010
0011
0012
0013 #define OCXL_EXT_CAP_ID_DVSEC 0x23
0014
0015 #define OCXL_DVSEC_VENDOR_OFFSET 0x4
0016 #define OCXL_DVSEC_ID_OFFSET 0x8
0017 #define OCXL_DVSEC_TL_ID 0xF000
0018 #define OCXL_DVSEC_TL_BACKOFF_TIMERS 0x10
0019 #define OCXL_DVSEC_TL_RECV_CAP 0x18
0020 #define OCXL_DVSEC_TL_SEND_CAP 0x20
0021 #define OCXL_DVSEC_TL_RECV_RATE 0x30
0022 #define OCXL_DVSEC_TL_SEND_RATE 0x50
0023 #define OCXL_DVSEC_FUNC_ID 0xF001
0024 #define OCXL_DVSEC_FUNC_OFF_INDEX 0x08
0025 #define OCXL_DVSEC_FUNC_OFF_ACTAG 0x0C
0026 #define OCXL_DVSEC_AFU_INFO_ID 0xF003
0027 #define OCXL_DVSEC_AFU_INFO_AFU_IDX 0x0A
0028 #define OCXL_DVSEC_AFU_INFO_OFF 0x0C
0029 #define OCXL_DVSEC_AFU_INFO_DATA 0x10
0030 #define OCXL_DVSEC_AFU_CTRL_ID 0xF004
0031 #define OCXL_DVSEC_AFU_CTRL_AFU_IDX 0x0A
0032 #define OCXL_DVSEC_AFU_CTRL_TERM_PASID 0x0C
0033 #define OCXL_DVSEC_AFU_CTRL_ENABLE 0x0F
0034 #define OCXL_DVSEC_AFU_CTRL_PASID_SUP 0x10
0035 #define OCXL_DVSEC_AFU_CTRL_PASID_EN 0x11
0036 #define OCXL_DVSEC_AFU_CTRL_PASID_BASE 0x14
0037 #define OCXL_DVSEC_AFU_CTRL_ACTAG_SUP 0x18
0038 #define OCXL_DVSEC_AFU_CTRL_ACTAG_EN 0x1A
0039 #define OCXL_DVSEC_AFU_CTRL_ACTAG_BASE 0x1C
0040 #define OCXL_DVSEC_VENDOR_ID 0xF0F0
0041 #define OCXL_DVSEC_VENDOR_CFG_VERS 0x0C
0042 #define OCXL_DVSEC_VENDOR_TLX_VERS 0x10
0043 #define OCXL_DVSEC_VENDOR_DLX_VERS 0x20
0044 #define OCXL_DVSEC_VENDOR_RESET_RELOAD 0x38
0045
0046 #endif