iPXE
Defines | Functions
mc_driver_pcol.h File Reference

This file is a subset of the MCDI headers generated from the yml files. More...

Go to the source code of this file.

Defines

#define MCDI_PCOL_VERSION   1
#define MCDI_HEADER_OFST   0
 Request/Response structure.
#define MCDI_HEADER_CODE_LBN   0
#define MCDI_HEADER_CODE_WIDTH   7
#define MCDI_HEADER_RESYNC_LBN   7
#define MCDI_HEADER_RESYNC_WIDTH   1
#define MCDI_HEADER_DATALEN_LBN   8
#define MCDI_HEADER_DATALEN_WIDTH   8
#define MCDI_HEADER_SEQ_LBN   16
#define MCDI_HEADER_SEQ_WIDTH   4
#define MCDI_HEADER_RSVD_LBN   20
#define MCDI_HEADER_RSVD_WIDTH   1
#define MCDI_HEADER_NOT_EPOCH_LBN   21
#define MCDI_HEADER_NOT_EPOCH_WIDTH   1
#define MCDI_HEADER_ERROR_LBN   22
#define MCDI_HEADER_ERROR_WIDTH   1
#define MCDI_HEADER_RESPONSE_LBN   23
#define MCDI_HEADER_RESPONSE_WIDTH   1
#define MCDI_HEADER_XFLAGS_LBN   24
#define MCDI_HEADER_XFLAGS_WIDTH   8
#define MCDI_HEADER_XFLAGS_EVREQ   0x01
#define MCDI_HEADER_XFLAGS_DBRET   0x02
#define MCDI_CTL_SDU_LEN_MAX_V1   0xfc
#define MCDI_CTL_SDU_LEN_MAX_V2   0x400
#define MCDI_CTL_SDU_LEN_MAX   MCDI_CTL_SDU_LEN_MAX_V1
#define FSE_AZ_EV_CODE_MCDI_EVRESPONSE   0xc
#define MC_CMD_ERR_EPERM   1
#define MC_CMD_ERR_ENOENT   2
#define MC_CMD_ERR_EINTR   4
#define MC_CMD_ERR_EIO   5
#define MC_CMD_ERR_EEXIST   6
#define MC_CMD_ERR_EAGAIN   11
#define MC_CMD_ERR_ENOMEM   12
#define MC_CMD_ERR_EACCES   13
#define MC_CMD_ERR_EBUSY   16
#define MC_CMD_ERR_ENODEV   19
#define MC_CMD_ERR_EINVAL   22
#define MC_CMD_ERR_EPIPE   32
#define MC_CMD_ERR_EROFS   30
#define MC_CMD_ERR_ERANGE   34
#define MC_CMD_ERR_EDEADLK   35
#define MC_CMD_ERR_ENOSYS   38
#define MC_CMD_ERR_ETIME   62
#define MC_CMD_ERR_ENOLINK   67
#define MC_CMD_ERR_EPROTO   71
#define MC_CMD_ERR_ENOTSUP   95
#define MC_CMD_ERR_EADDRNOTAVAIL   99
#define MC_CMD_ERR_ENOTCONN   107
#define MC_CMD_ERR_EALREADY   114
#define MC_CMD_ERR_ALLOC_FAIL   0x1000
#define MC_CMD_ERR_NO_VADAPTOR   0x1001
#define MC_CMD_ERR_NO_EVB_PORT   0x1002
#define MC_CMD_ERR_NO_VSWITCH   0x1003
#define MC_CMD_ERR_VLAN_LIMIT   0x1004
#define MC_CMD_ERR_BAD_PCI_FUNC   0x1005
#define MC_CMD_ERR_BAD_VLAN_MODE   0x1006
#define MC_CMD_ERR_BAD_VSWITCH_TYPE   0x1007
#define MC_CMD_ERR_BAD_VPORT_TYPE   0x1008
#define MC_CMD_ERR_MAC_EXIST   0x1009
#define MC_CMD_ERR_SLAVE_NOT_PRESENT   0x100a
#define MC_CMD_ERR_DATAPATH_DISABLED   0x100b
#define MC_CMD_ERR_CLIENT_NOT_FN   0x100c
#define MC_CMD_ERR_TRANSPORT_NOPROXY   0x100d
#define MC_CMD_ERR_VLAN_EXIST   0x100e
#define MC_CMD_ERR_NO_MAC_ADDR   0x100f
#define MC_CMD_ERR_PROXY_PENDING   0x1010
#define MC_CMD_ERR_PROXY_PENDING_HANDLE_OFST   4
#define MC_CMD_ERR_PROXY_INPROGRESS   0x1011
#define MC_CMD_ERR_PROXY_UNEXPECTED   0x1012
#define MC_CMD_ERR_NO_PRIVILEGE   0x1013
#define MC_CMD_ERR_FILTERS_PRESENT   0x1014
#define MC_CMD_ERR_NO_CLOCK   0x1015
#define MC_CMD_ERR_UNREACHABLE   0x1016
#define MC_CMD_ERR_QUEUE_FULL   0x1017
#define MC_CMD_ERR_CODE_OFST   0
#define MCDI_EVENT_LEN   8
#define MCDI_EVENT_CONT_LBN   32
#define MCDI_EVENT_CONT_WIDTH   1
#define MCDI_EVENT_LEVEL_LBN   33
#define MCDI_EVENT_LEVEL_WIDTH   3
#define MCDI_EVENT_LEVEL_INFO   0x0
#define MCDI_EVENT_LEVEL_WARN   0x1
#define MCDI_EVENT_LEVEL_ERR   0x2
#define MCDI_EVENT_LEVEL_FATAL   0x3
#define MCDI_EVENT_DATA_OFST   0
#define MCDI_EVENT_CMDDONE_SEQ_LBN   0
#define MCDI_EVENT_CMDDONE_SEQ_WIDTH   8
#define MCDI_EVENT_CMDDONE_DATALEN_LBN   8
#define MCDI_EVENT_CMDDONE_DATALEN_WIDTH   8
#define MCDI_EVENT_CMDDONE_ERRNO_LBN   16
#define MCDI_EVENT_CMDDONE_ERRNO_WIDTH   8
#define MCDI_EVENT_LINKCHANGE_LP_CAP_LBN   0
#define MCDI_EVENT_LINKCHANGE_LP_CAP_WIDTH   16
#define MCDI_EVENT_LINKCHANGE_SPEED_LBN   16
#define MCDI_EVENT_LINKCHANGE_SPEED_WIDTH   4
#define MCDI_EVENT_LINKCHANGE_SPEED_100M   0x1
#define MCDI_EVENT_LINKCHANGE_SPEED_1G   0x2
#define MCDI_EVENT_LINKCHANGE_SPEED_10G   0x3
#define MCDI_EVENT_LINKCHANGE_SPEED_40G   0x4
#define MCDI_EVENT_LINKCHANGE_FCNTL_LBN   20
#define MCDI_EVENT_LINKCHANGE_FCNTL_WIDTH   4
#define MCDI_EVENT_LINKCHANGE_LINK_FLAGS_LBN   24
#define MCDI_EVENT_LINKCHANGE_LINK_FLAGS_WIDTH   8
#define MCDI_EVENT_SENSOREVT_MONITOR_LBN   0
#define MCDI_EVENT_SENSOREVT_MONITOR_WIDTH   8
#define MCDI_EVENT_SENSOREVT_STATE_LBN   8
#define MCDI_EVENT_SENSOREVT_STATE_WIDTH   8
#define MCDI_EVENT_SENSOREVT_VALUE_LBN   16
#define MCDI_EVENT_SENSOREVT_VALUE_WIDTH   16
#define MCDI_EVENT_FWALERT_DATA_LBN   8
#define MCDI_EVENT_FWALERT_DATA_WIDTH   24
#define MCDI_EVENT_FWALERT_REASON_LBN   0
#define MCDI_EVENT_FWALERT_REASON_WIDTH   8
#define MCDI_EVENT_FWALERT_REASON_SRAM_ACCESS   0x1
#define MCDI_EVENT_FLR_VF_LBN   0
#define MCDI_EVENT_FLR_VF_WIDTH   8
#define MCDI_EVENT_TX_ERR_TXQ_LBN   0
#define MCDI_EVENT_TX_ERR_TXQ_WIDTH   12
#define MCDI_EVENT_TX_ERR_TYPE_LBN   12
#define MCDI_EVENT_TX_ERR_TYPE_WIDTH   4
#define MCDI_EVENT_TX_ERR_DL_FAIL   0x1
#define MCDI_EVENT_TX_ERR_NO_EOP   0x2
#define MCDI_EVENT_TX_ERR_2BIG   0x3
#define MCDI_EVENT_TX_BAD_OPTDESC   0x5
#define MCDI_EVENT_TX_OPT_IN_PKT   0x8
#define MCDI_EVENT_TX_ERR_BAD_DMA_OR_PIO   0x9
#define MCDI_EVENT_TX_ERR_INFO_LBN   16
#define MCDI_EVENT_TX_ERR_INFO_WIDTH   16
#define MCDI_EVENT_TX_FLUSH_TO_DRIVER_LBN   12
#define MCDI_EVENT_TX_FLUSH_TO_DRIVER_WIDTH   1
#define MCDI_EVENT_TX_FLUSH_TXQ_LBN   0
#define MCDI_EVENT_TX_FLUSH_TXQ_WIDTH   12
#define MCDI_EVENT_PTP_ERR_TYPE_LBN   0
#define MCDI_EVENT_PTP_ERR_TYPE_WIDTH   8
#define MCDI_EVENT_PTP_ERR_PLL_LOST   0x1
#define MCDI_EVENT_PTP_ERR_FILTER   0x2
#define MCDI_EVENT_PTP_ERR_FIFO   0x3
#define MCDI_EVENT_PTP_ERR_QUEUE   0x4
#define MCDI_EVENT_AOE_ERR_TYPE_LBN   0
#define MCDI_EVENT_AOE_ERR_TYPE_WIDTH   8
#define MCDI_EVENT_AOE_NO_LOAD   0x1
#define MCDI_EVENT_AOE_FC_ASSERT   0x2
#define MCDI_EVENT_AOE_FC_WATCHDOG   0x3
#define MCDI_EVENT_AOE_FC_NO_START   0x4
#define MCDI_EVENT_AOE_FAULT   0x5
#define MCDI_EVENT_AOE_CPLD_REPROGRAMMED   0x6
#define MCDI_EVENT_AOE_LOAD   0x7
#define MCDI_EVENT_AOE_DMA   0x8
#define MCDI_EVENT_AOE_BYTEBLASTER   0x9
#define MCDI_EVENT_AOE_DDR_ECC_STATUS   0xa
#define MCDI_EVENT_AOE_PTP_STATUS   0xb
#define MCDI_EVENT_AOE_FPGA_LOAD_HEADER_ERR   0xc
#define MCDI_EVENT_AOE_FPGA_POWER_OFF   0xd
#define MCDI_EVENT_AOE_FPGA_LOAD_FAILED   0xe
#define MCDI_EVENT_AOE_INVALID_FPGA_FLASH_TYPE   0xf
#define MCDI_EVENT_AOE_FC_RUN_TIMEDOUT   0x10
#define MCDI_EVENT_AOE_FPGA_BOOT_FLASH_INVALID   0x11
#define MCDI_EVENT_AOE_FPGA_BOOT_FLASH_HDR_INVALID   0x12
#define MCDI_EVENT_AOE_FPGA_CLOCKS_PROGRAM_FAILED   0x13
#define MCDI_EVENT_AOE_FC_RUNNING   0x14
#define MCDI_EVENT_AOE_ERR_DATA_LBN   8
#define MCDI_EVENT_AOE_ERR_DATA_WIDTH   8
#define MCDI_EVENT_AOE_ERR_FC_ASSERT_INFO_LBN   8
#define MCDI_EVENT_AOE_ERR_FC_ASSERT_INFO_WIDTH   8
#define MCDI_EVENT_AOE_ERR_FC_ASSERT_SEEN   0x0
#define MCDI_EVENT_AOE_ERR_FC_ASSERT_DATA_READY   0x1
#define MCDI_EVENT_AOE_ERR_CODE_FPGA_HEADER_VERIFY_FAILED_LBN   8
#define MCDI_EVENT_AOE_ERR_CODE_FPGA_HEADER_VERIFY_FAILED_WIDTH   8
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_NV_READ_FAIL   0x0
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_MAGIC_FAIL   0x1
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_SILICON_TYPE   0x2
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_VRATIO   0x3
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_DDR_TYPE   0x4
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_DDR_VOLTAGE   0x5
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_DDR_SPEED   0x6
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_DDR_SIZE   0x7
#define MCDI_EVENT_AOE_ERR_FPGA_HEADER_DDR_RANK   0x8
#define MCDI_EVENT_AOE_ERR_CODE_INVALID_FPGA_FLASH_TYPE_INFO_LBN   8
#define MCDI_EVENT_AOE_ERR_CODE_INVALID_FPGA_FLASH_TYPE_INFO_WIDTH   8
#define MCDI_EVENT_AOE_FLASH_TYPE_BOOT_PRIMARY   0x0
#define MCDI_EVENT_AOE_FLASH_TYPE_BOOT_SECONDARY   0x1
#define MCDI_EVENT_AOE_ERR_CODE_FPGA_POWER_OFF_LBN   8
#define MCDI_EVENT_AOE_ERR_CODE_FPGA_POWER_OFF_WIDTH   8
#define MCDI_EVENT_AOE_ERR_CODE_FPGA_LOAD_FAILED_LBN   8
#define MCDI_EVENT_AOE_ERR_CODE_FPGA_LOAD_FAILED_WIDTH   8
#define MCDI_EVENT_RX_ERR_RXQ_LBN   0
#define MCDI_EVENT_RX_ERR_RXQ_WIDTH   12
#define MCDI_EVENT_RX_ERR_TYPE_LBN   12
#define MCDI_EVENT_RX_ERR_TYPE_WIDTH   4
#define MCDI_EVENT_RX_ERR_INFO_LBN   16
#define MCDI_EVENT_RX_ERR_INFO_WIDTH   16
#define MCDI_EVENT_RX_FLUSH_TO_DRIVER_LBN   12
#define MCDI_EVENT_RX_FLUSH_TO_DRIVER_WIDTH   1
#define MCDI_EVENT_RX_FLUSH_RXQ_LBN   0
#define MCDI_EVENT_RX_FLUSH_RXQ_WIDTH   12
#define MCDI_EVENT_MC_REBOOT_COUNT_LBN   0
#define MCDI_EVENT_MC_REBOOT_COUNT_WIDTH   16
#define MCDI_EVENT_MUM_ERR_TYPE_LBN   0
#define MCDI_EVENT_MUM_ERR_TYPE_WIDTH   8
#define MCDI_EVENT_MUM_NO_LOAD   0x1
#define MCDI_EVENT_MUM_ASSERT   0x2
#define MCDI_EVENT_MUM_WATCHDOG   0x3
#define MCDI_EVENT_MUM_ERR_DATA_LBN   8
#define MCDI_EVENT_MUM_ERR_DATA_WIDTH   8
#define MCDI_EVENT_DATA_LBN   0
#define MCDI_EVENT_DATA_WIDTH   32
#define MCDI_EVENT_SRC_LBN   36
#define MCDI_EVENT_SRC_WIDTH   8
#define MCDI_EVENT_EV_CODE_LBN   60
#define MCDI_EVENT_EV_CODE_WIDTH   4
#define MCDI_EVENT_CODE_LBN   44
#define MCDI_EVENT_CODE_WIDTH   8
#define MCDI_EVENT_SW_EVENT   0x0
#define MCDI_EVENT_CODE_BADSSERT   0x1
#define MCDI_EVENT_CODE_PMNOTICE   0x2
#define MCDI_EVENT_CODE_CMDDONE   0x3
#define MCDI_EVENT_CODE_LINKCHANGE   0x4
#define MCDI_EVENT_CODE_SENSOREVT   0x5
#define MCDI_EVENT_CODE_SCHEDERR   0x6
#define MCDI_EVENT_CODE_REBOOT   0x7
#define MCDI_EVENT_CODE_MAC_STATS_DMA   0x8
#define MCDI_EVENT_CODE_FWALERT   0x9
#define MCDI_EVENT_CODE_FLR   0xa
#define MCDI_EVENT_CODE_TX_ERR   0xb
#define MCDI_EVENT_CODE_TX_FLUSH   0xc
#define MCDI_EVENT_CODE_PTP_RX   0xd
#define MCDI_EVENT_CODE_PTP_FAULT   0xe
#define MCDI_EVENT_CODE_PTP_PPS   0xf
#define MCDI_EVENT_CODE_RX_FLUSH   0x10
#define MCDI_EVENT_CODE_RX_ERR   0x11
#define MCDI_EVENT_CODE_AOE   0x12
#define MCDI_EVENT_CODE_VCAL_FAIL   0x13
#define MCDI_EVENT_CODE_HW_PPS   0x14
#define MCDI_EVENT_CODE_MC_REBOOT   0x15
#define MCDI_EVENT_CODE_PAR_ERR   0x16
#define MCDI_EVENT_CODE_ECC_CORR_ERR   0x17
#define MCDI_EVENT_CODE_ECC_FATAL_ERR   0x18
#define MCDI_EVENT_CODE_MC_BIST   0x19
#define MCDI_EVENT_CODE_PTP_TIME   0x1a
#define MCDI_EVENT_CODE_MUM   0x1b
#define MCDI_EVENT_CODE_PROXY_REQUEST   0x1c
#define MCDI_EVENT_CODE_PROXY_RESPONSE   0x1d
#define MCDI_EVENT_CODE_TESTGEN   0xfa
#define MCDI_EVENT_CMDDONE_DATA_OFST   0
#define MCDI_EVENT_CMDDONE_DATA_LBN   0
#define MCDI_EVENT_CMDDONE_DATA_WIDTH   32
#define MCDI_EVENT_LINKCHANGE_DATA_OFST   0
#define MCDI_EVENT_LINKCHANGE_DATA_LBN   0
#define MCDI_EVENT_LINKCHANGE_DATA_WIDTH   32
#define MCDI_EVENT_SENSOREVT_DATA_OFST   0
#define MCDI_EVENT_SENSOREVT_DATA_LBN   0
#define MCDI_EVENT_SENSOREVT_DATA_WIDTH   32
#define MCDI_EVENT_MAC_STATS_DMA_GENERATION_OFST   0
#define MCDI_EVENT_MAC_STATS_DMA_GENERATION_LBN   0
#define MCDI_EVENT_MAC_STATS_DMA_GENERATION_WIDTH   32
#define MCDI_EVENT_TX_ERR_DATA_OFST   0
#define MCDI_EVENT_TX_ERR_DATA_LBN   0
#define MCDI_EVENT_TX_ERR_DATA_WIDTH   32
#define MCDI_EVENT_PTP_SECONDS_OFST   0
#define MCDI_EVENT_PTP_SECONDS_LBN   0
#define MCDI_EVENT_PTP_SECONDS_WIDTH   32
#define MCDI_EVENT_PTP_MAJOR_OFST   0
#define MCDI_EVENT_PTP_MAJOR_LBN   0
#define MCDI_EVENT_PTP_MAJOR_WIDTH   32
#define MCDI_EVENT_PTP_NANOSECONDS_OFST   0
#define MCDI_EVENT_PTP_NANOSECONDS_LBN   0
#define MCDI_EVENT_PTP_NANOSECONDS_WIDTH   32
#define MCDI_EVENT_PTP_MINOR_OFST   0
#define MCDI_EVENT_PTP_MINOR_LBN   0
#define MCDI_EVENT_PTP_MINOR_WIDTH   32
#define MCDI_EVENT_PTP_UUID_OFST   0
#define MCDI_EVENT_PTP_UUID_LBN   0
#define MCDI_EVENT_PTP_UUID_WIDTH   32
#define MCDI_EVENT_RX_ERR_DATA_OFST   0
#define MCDI_EVENT_RX_ERR_DATA_LBN   0
#define MCDI_EVENT_RX_ERR_DATA_WIDTH   32
#define MCDI_EVENT_PAR_ERR_DATA_OFST   0
#define MCDI_EVENT_PAR_ERR_DATA_LBN   0
#define MCDI_EVENT_PAR_ERR_DATA_WIDTH   32
#define MCDI_EVENT_ECC_CORR_ERR_DATA_OFST   0
#define MCDI_EVENT_ECC_CORR_ERR_DATA_LBN   0
#define MCDI_EVENT_ECC_CORR_ERR_DATA_WIDTH   32
#define MCDI_EVENT_ECC_FATAL_ERR_DATA_OFST   0
#define MCDI_EVENT_ECC_FATAL_ERR_DATA_LBN   0
#define MCDI_EVENT_ECC_FATAL_ERR_DATA_WIDTH   32
#define MCDI_EVENT_PTP_TIME_MAJOR_OFST   0
#define MCDI_EVENT_PTP_TIME_MAJOR_LBN   0
#define MCDI_EVENT_PTP_TIME_MAJOR_WIDTH   32
#define MCDI_EVENT_PTP_TIME_MINOR_26_19_LBN   36
#define MCDI_EVENT_PTP_TIME_MINOR_26_19_WIDTH   8
#define MCDI_EVENT_PTP_TIME_NIC_CLOCK_VALID_LBN   36
#define MCDI_EVENT_PTP_TIME_NIC_CLOCK_VALID_WIDTH   1
#define MCDI_EVENT_PTP_TIME_HOST_NIC_IN_SYNC_LBN   37
#define MCDI_EVENT_PTP_TIME_HOST_NIC_IN_SYNC_WIDTH   1
#define MCDI_EVENT_PTP_TIME_MINOR_26_21_LBN   38
#define MCDI_EVENT_PTP_TIME_MINOR_26_21_WIDTH   6
#define MCDI_EVENT_PROXY_REQUEST_BUFF_INDEX_OFST   0
#define MCDI_EVENT_PROXY_REQUEST_BUFF_INDEX_LBN   0
#define MCDI_EVENT_PROXY_REQUEST_BUFF_INDEX_WIDTH   32
#define MCDI_EVENT_PROXY_RESPONSE_HANDLE_OFST   0
#define MCDI_EVENT_PROXY_RESPONSE_HANDLE_LBN   0
#define MCDI_EVENT_PROXY_RESPONSE_HANDLE_WIDTH   32
#define MCDI_EVENT_PROXY_RESPONSE_RC_LBN   36
#define MCDI_EVENT_PROXY_RESPONSE_RC_WIDTH   8
#define EVB_PORT_ID_LEN   4
#define EVB_PORT_ID_PORT_ID_OFST   0
#define EVB_PORT_ID_NULL   0x0
#define EVB_PORT_ID_ASSIGNED   0x1000000
#define EVB_PORT_ID_MAC0   0x2000000
#define EVB_PORT_ID_MAC1   0x2000001
#define EVB_PORT_ID_MAC2   0x2000002
#define EVB_PORT_ID_MAC3   0x2000003
#define EVB_PORT_ID_PORT_ID_LBN   0
#define EVB_PORT_ID_PORT_ID_WIDTH   32
#define MC_CMD_DRV_ATTACH   0x1c
#define MC_CMD_0x1c_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_DRV_ATTACH_IN_LEN   12
#define MC_CMD_DRV_ATTACH_IN_NEW_STATE_OFST   0
#define MC_CMD_DRV_ATTACH_LBN   0
#define MC_CMD_DRV_ATTACH_WIDTH   1
#define MC_CMD_DRV_PREBOOT_LBN   1
#define MC_CMD_DRV_PREBOOT_WIDTH   1
#define MC_CMD_DRV_ATTACH_IN_UPDATE_OFST   4
#define MC_CMD_DRV_ATTACH_IN_FIRMWARE_ID_OFST   8
#define MC_CMD_FW_FULL_FEATURED   0x0
#define MC_CMD_FW_LOW_LATENCY   0x1
#define MC_CMD_FW_PACKED_STREAM   0x2
#define MC_CMD_FW_HIGH_TX_RATE   0x3
#define MC_CMD_FW_PACKED_STREAM_HASH_MODE_1   0x4
#define MC_CMD_FW_RULES_ENGINE   0x5
#define MC_CMD_FW_DONT_CARE   0xffffffff
#define MC_CMD_DRV_ATTACH_OUT_LEN   4
#define MC_CMD_DRV_ATTACH_OUT_OLD_STATE_OFST   0
#define MC_CMD_DRV_ATTACH_EXT_OUT_LEN   8
#define MC_CMD_DRV_ATTACH_EXT_OUT_OLD_STATE_OFST   0
#define MC_CMD_DRV_ATTACH_EXT_OUT_FUNC_FLAGS_OFST   4
#define MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY   0x0
#define MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL   0x1
#define MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_TRUSTED   0x2
#define MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_NO_ACTIVE_PORT   0x3
#define MC_CMD_ENTITY_RESET   0x20
#define MC_CMD_ENTITY_RESET_IN_LEN   4
#define MC_CMD_ENTITY_RESET_IN_FLAG_OFST   0
#define MC_CMD_ENTITY_RESET_IN_FUNCTION_RESOURCE_RESET_LBN   0
#define MC_CMD_ENTITY_RESET_IN_FUNCTION_RESOURCE_RESET_WIDTH   1
#define MC_CMD_ENTITY_RESET_OUT_LEN   0
#define MC_CMD_GET_PHY_CFG   0x24
#define MC_CMD_0x24_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_GET_PHY_CFG_IN_LEN   0
#define MC_CMD_GET_PHY_CFG_OUT_LEN   72
#define MC_CMD_GET_PHY_CFG_OUT_FLAGS_OFST   0
#define MC_CMD_GET_PHY_CFG_OUT_PRESENT_LBN   0
#define MC_CMD_GET_PHY_CFG_OUT_PRESENT_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_LBN   1
#define MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_LONG_LBN   2
#define MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_LONG_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN   3
#define MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN   4
#define MC_CMD_GET_PHY_CFG_OUT_POWEROFF_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN   5
#define MC_CMD_GET_PHY_CFG_OUT_TXDIS_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_BIST_LBN   6
#define MC_CMD_GET_PHY_CFG_OUT_BIST_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_TYPE_OFST   4
#define MC_CMD_GET_PHY_CFG_OUT_SUPPORTED_CAP_OFST   8
#define MC_CMD_PHY_CAP_10HDX_LBN   1
#define MC_CMD_PHY_CAP_10HDX_WIDTH   1
#define MC_CMD_PHY_CAP_10FDX_LBN   2
#define MC_CMD_PHY_CAP_10FDX_WIDTH   1
#define MC_CMD_PHY_CAP_100HDX_LBN   3
#define MC_CMD_PHY_CAP_100HDX_WIDTH   1
#define MC_CMD_PHY_CAP_100FDX_LBN   4
#define MC_CMD_PHY_CAP_100FDX_WIDTH   1
#define MC_CMD_PHY_CAP_1000HDX_LBN   5
#define MC_CMD_PHY_CAP_1000HDX_WIDTH   1
#define MC_CMD_PHY_CAP_1000FDX_LBN   6
#define MC_CMD_PHY_CAP_1000FDX_WIDTH   1
#define MC_CMD_PHY_CAP_10000FDX_LBN   7
#define MC_CMD_PHY_CAP_10000FDX_WIDTH   1
#define MC_CMD_PHY_CAP_PAUSE_LBN   8
#define MC_CMD_PHY_CAP_PAUSE_WIDTH   1
#define MC_CMD_PHY_CAP_ASYM_LBN   9
#define MC_CMD_PHY_CAP_ASYM_WIDTH   1
#define MC_CMD_PHY_CAP_AN_LBN   10
#define MC_CMD_PHY_CAP_AN_WIDTH   1
#define MC_CMD_PHY_CAP_40000FDX_LBN   11
#define MC_CMD_PHY_CAP_40000FDX_WIDTH   1
#define MC_CMD_PHY_CAP_DDM_LBN   12
#define MC_CMD_PHY_CAP_DDM_WIDTH   1
#define MC_CMD_PHY_CAP_100000FDX_LBN   13
#define MC_CMD_PHY_CAP_100000FDX_WIDTH   1
#define MC_CMD_PHY_CAP_25000FDX_LBN   14
#define MC_CMD_PHY_CAP_25000FDX_WIDTH   1
#define MC_CMD_PHY_CAP_50000FDX_LBN   15
#define MC_CMD_PHY_CAP_50000FDX_WIDTH   1
#define MC_CMD_PHY_CAP_BASER_FEC_LBN   16
#define MC_CMD_PHY_CAP_BASER_FEC_WIDTH   1
#define MC_CMD_PHY_CAP_BASER_FEC_REQ_LBN   17
#define MC_CMD_PHY_CAP_BASER_FEC_REQ_WIDTH   1
#define MC_CMD_PHY_CAP_RS_FEC_LBN   17
#define MC_CMD_PHY_CAP_RS_FEC_WIDTH   1
#define MC_CMD_PHY_CAP_RS_FEC_REQ_LBN   18
#define MC_CMD_PHY_CAP_RS_FEC_REQ_WIDTH   1
#define MC_CMD_GET_PHY_CFG_OUT_CHANNEL_OFST   12
#define MC_CMD_GET_PHY_CFG_OUT_PRT_OFST   16
#define MC_CMD_GET_PHY_CFG_OUT_STATS_MASK_OFST   20
#define MC_CMD_GET_PHY_CFG_OUT_NAME_OFST   24
#define MC_CMD_GET_PHY_CFG_OUT_NAME_LEN   20
#define MC_CMD_GET_PHY_CFG_OUT_MEDIA_TYPE_OFST   44
#define MC_CMD_MEDIA_XAUI   0x1
#define MC_CMD_MEDIA_CX4   0x2
#define MC_CMD_MEDIA_KX4   0x3
#define MC_CMD_MEDIA_XFP   0x4
#define MC_CMD_MEDIA_SFP_PLUS   0x5
#define MC_CMD_MEDIA_BASE_T   0x6
#define MC_CMD_MEDIA_QSFP_PLUS   0x7
#define MC_CMD_GET_PHY_CFG_OUT_MMD_MASK_OFST   48
#define MC_CMD_MMD_CLAUSE22   0x0
#define MC_CMD_MMD_CLAUSE45_PMAPMD   0x1 /* enum */
#define MC_CMD_MMD_CLAUSE45_WIS   0x2 /* enum */
#define MC_CMD_MMD_CLAUSE45_PCS   0x3 /* enum */
#define MC_CMD_MMD_CLAUSE45_PHYXS   0x4 /* enum */
#define MC_CMD_MMD_CLAUSE45_DTEXS   0x5 /* enum */
#define MC_CMD_MMD_CLAUSE45_TC   0x6 /* enum */
#define MC_CMD_MMD_CLAUSE45_AN   0x7 /* enum */
#define MC_CMD_MMD_CLAUSE45_C22EXT   0x1d
#define MC_CMD_MMD_CLAUSE45_VEND1   0x1e /* enum */
#define MC_CMD_MMD_CLAUSE45_VEND2   0x1f /* enum */
#define MC_CMD_GET_PHY_CFG_OUT_REVISION_OFST   52
#define MC_CMD_GET_PHY_CFG_OUT_REVISION_LEN   20
#define MC_CMD_GET_LINK   0x29
#define MC_CMD_0x29_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_GET_LINK_IN_LEN   0
#define MC_CMD_GET_LINK_OUT_LEN   28
#define MC_CMD_GET_LINK_OUT_CAP_OFST   0
#define MC_CMD_GET_LINK_OUT_LP_CAP_OFST   4
#define MC_CMD_GET_LINK_OUT_LINK_SPEED_OFST   8
#define MC_CMD_GET_LINK_OUT_LOOPBACK_MODE_OFST   12
#define MC_CMD_GET_LINK_OUT_FLAGS_OFST   16
#define MC_CMD_GET_LINK_OUT_LINK_UP_LBN   0
#define MC_CMD_GET_LINK_OUT_LINK_UP_WIDTH   1
#define MC_CMD_GET_LINK_OUT_FULL_DUPLEX_LBN   1
#define MC_CMD_GET_LINK_OUT_FULL_DUPLEX_WIDTH   1
#define MC_CMD_GET_LINK_OUT_BPX_LINK_LBN   2
#define MC_CMD_GET_LINK_OUT_BPX_LINK_WIDTH   1
#define MC_CMD_GET_LINK_OUT_PHY_LINK_LBN   3
#define MC_CMD_GET_LINK_OUT_PHY_LINK_WIDTH   1
#define MC_CMD_GET_LINK_OUT_LINK_FAULT_RX_LBN   6
#define MC_CMD_GET_LINK_OUT_LINK_FAULT_RX_WIDTH   1
#define MC_CMD_GET_LINK_OUT_LINK_FAULT_TX_LBN   7
#define MC_CMD_GET_LINK_OUT_LINK_FAULT_TX_WIDTH   1
#define MC_CMD_GET_LINK_OUT_FCNTL_OFST   20
#define MC_CMD_GET_LINK_OUT_MAC_FAULT_OFST   24
#define MC_CMD_MAC_FAULT_XGMII_LOCAL_LBN   0
#define MC_CMD_MAC_FAULT_XGMII_LOCAL_WIDTH   1
#define MC_CMD_MAC_FAULT_XGMII_REMOTE_LBN   1
#define MC_CMD_MAC_FAULT_XGMII_REMOTE_WIDTH   1
#define MC_CMD_MAC_FAULT_SGMII_REMOTE_LBN   2
#define MC_CMD_MAC_FAULT_SGMII_REMOTE_WIDTH   1
#define MC_CMD_MAC_FAULT_PENDING_RECONFIG_LBN   3
#define MC_CMD_MAC_FAULT_PENDING_RECONFIG_WIDTH   1
#define MC_CMD_SET_MAC   0x2c
#define MC_CMD_0x2c_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_SET_MAC_IN_LEN   28
#define MC_CMD_SET_MAC_IN_MTU_OFST   0
#define MC_CMD_SET_MAC_IN_DRAIN_OFST   4
#define MC_CMD_SET_MAC_IN_ADDR_OFST   8
#define MC_CMD_SET_MAC_IN_ADDR_LEN   8
#define MC_CMD_SET_MAC_IN_ADDR_LO_OFST   8
#define MC_CMD_SET_MAC_IN_ADDR_HI_OFST   12
#define MC_CMD_SET_MAC_IN_REJECT_OFST   16
#define MC_CMD_SET_MAC_IN_REJECT_UNCST_LBN   0
#define MC_CMD_SET_MAC_IN_REJECT_UNCST_WIDTH   1
#define MC_CMD_SET_MAC_IN_REJECT_BRDCST_LBN   1
#define MC_CMD_SET_MAC_IN_REJECT_BRDCST_WIDTH   1
#define MC_CMD_SET_MAC_IN_FCNTL_OFST   20
#define MC_CMD_FCNTL_OFF   0x0
#define MC_CMD_FCNTL_RESPOND   0x1
#define MC_CMD_FCNTL_BIDIR   0x2
#define MC_CMD_FCNTL_AUTO   0x3
#define MC_CMD_FCNTL_QBB   0x4
#define MC_CMD_FCNTL_GENERATE   0x5
#define MC_CMD_SET_MAC_IN_FLAGS_OFST   24
#define MC_CMD_SET_MAC_IN_FLAG_INCLUDE_FCS_LBN   0
#define MC_CMD_SET_MAC_IN_FLAG_INCLUDE_FCS_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_LEN   32
#define MC_CMD_SET_MAC_EXT_IN_MTU_OFST   0
#define MC_CMD_SET_MAC_EXT_IN_DRAIN_OFST   4
#define MC_CMD_SET_MAC_EXT_IN_ADDR_OFST   8
#define MC_CMD_SET_MAC_EXT_IN_ADDR_LEN   8
#define MC_CMD_SET_MAC_EXT_IN_ADDR_LO_OFST   8
#define MC_CMD_SET_MAC_EXT_IN_ADDR_HI_OFST   12
#define MC_CMD_SET_MAC_EXT_IN_REJECT_OFST   16
#define MC_CMD_SET_MAC_EXT_IN_REJECT_UNCST_LBN   0
#define MC_CMD_SET_MAC_EXT_IN_REJECT_UNCST_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_REJECT_BRDCST_LBN   1
#define MC_CMD_SET_MAC_EXT_IN_REJECT_BRDCST_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_FCNTL_OFST   20
#define MC_CMD_SET_MAC_EXT_IN_FLAGS_OFST   24
#define MC_CMD_SET_MAC_EXT_IN_FLAG_INCLUDE_FCS_LBN   0
#define MC_CMD_SET_MAC_EXT_IN_FLAG_INCLUDE_FCS_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_CONTROL_OFST   28
#define MC_CMD_SET_MAC_EXT_IN_CFG_MTU_LBN   0
#define MC_CMD_SET_MAC_EXT_IN_CFG_MTU_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_CFG_DRAIN_LBN   1
#define MC_CMD_SET_MAC_EXT_IN_CFG_DRAIN_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_CFG_REJECT_LBN   2
#define MC_CMD_SET_MAC_EXT_IN_CFG_REJECT_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_CFG_FCNTL_LBN   3
#define MC_CMD_SET_MAC_EXT_IN_CFG_FCNTL_WIDTH   1
#define MC_CMD_SET_MAC_EXT_IN_CFG_FCS_LBN   4
#define MC_CMD_SET_MAC_EXT_IN_CFG_FCS_WIDTH   1
#define MC_CMD_SET_MAC_OUT_LEN   0
#define MC_CMD_SET_MAC_V2_OUT_LEN   4
#define MC_CMD_SET_MAC_V2_OUT_MTU_OFST   0
#define MC_CMD_REBOOT   0x3d
#define MC_CMD_0x3d_PRIVILEGE_CTG   SRIOV_CTG_ADMIN
#define MC_CMD_REBOOT_IN_LEN   4
#define MC_CMD_REBOOT_IN_FLAGS_OFST   0
#define MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION   0x1 /* enum */
#define MC_CMD_REBOOT_OUT_LEN   0
#define MC_CMD_REBOOT_MODE   0x3f
#define MC_CMD_0x3f_PRIVILEGE_CTG   SRIOV_CTG_ADMIN
#define MC_CMD_REBOOT_MODE_IN_LEN   4
#define MC_CMD_REBOOT_MODE_IN_VALUE_OFST   0
#define MC_CMD_REBOOT_MODE_NORMAL   0x0
#define MC_CMD_REBOOT_MODE_POR   0x2
#define MC_CMD_REBOOT_MODE_SNAPPER   0x3
#define MC_CMD_REBOOT_MODE_SNAPPER_POR   0x4
#define MC_CMD_REBOOT_MODE_IN_FAKE_LBN   7
#define MC_CMD_REBOOT_MODE_IN_FAKE_WIDTH   1
#define MC_CMD_REBOOT_MODE_OUT_LEN   4
#define MC_CMD_REBOOT_MODE_OUT_VALUE_OFST   0
#define MC_CMD_WORKAROUND   0x4a
#define MC_CMD_0x4a_PRIVILEGE_CTG   SRIOV_CTG_ADMIN
#define MC_CMD_WORKAROUND_IN_LEN   8
#define MC_CMD_WORKAROUND_IN_TYPE_OFST   0
#define MC_CMD_WORKAROUND_BUG17230   0x1
#define MC_CMD_WORKAROUND_BUG35388   0x2
#define MC_CMD_WORKAROUND_BUG35017   0x3
#define MC_CMD_WORKAROUND_BUG41750   0x4
#define MC_CMD_WORKAROUND_BUG42008   0x5
#define MC_CMD_WORKAROUND_BUG26807   0x6
#define MC_CMD_WORKAROUND_BUG61265   0x7
#define MC_CMD_WORKAROUND_IN_ENABLED_OFST   4
#define MC_CMD_WORKAROUND_OUT_LEN   0
#define MC_CMD_WORKAROUND_EXT_OUT_LEN   4
#define MC_CMD_WORKAROUND_EXT_OUT_FLAGS_OFST   0
#define MC_CMD_WORKAROUND_EXT_OUT_FLR_DONE_LBN   0
#define MC_CMD_WORKAROUND_EXT_OUT_FLR_DONE_WIDTH   1
#define MC_CMD_GET_MAC_ADDRESSES   0x55
#define MC_CMD_0x55_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_GET_MAC_ADDRESSES_IN_LEN   0
#define MC_CMD_GET_MAC_ADDRESSES_OUT_LEN   16
#define MC_CMD_GET_MAC_ADDRESSES_OUT_MAC_ADDR_BASE_OFST   0
#define MC_CMD_GET_MAC_ADDRESSES_OUT_MAC_ADDR_BASE_LEN   6
#define MC_CMD_GET_MAC_ADDRESSES_OUT_RESERVED_OFST   6
#define MC_CMD_GET_MAC_ADDRESSES_OUT_RESERVED_LEN   2
#define MC_CMD_GET_MAC_ADDRESSES_OUT_MAC_COUNT_OFST   8
#define MC_CMD_GET_MAC_ADDRESSES_OUT_MAC_STRIDE_OFST   12
#define MC_CMD_GET_WORKAROUNDS   0x59
#define MC_CMD_0x59_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_GET_WORKAROUNDS_OUT_LEN   8
#define MC_CMD_GET_WORKAROUNDS_OUT_IMPLEMENTED_OFST   0
#define MC_CMD_GET_WORKAROUNDS_OUT_ENABLED_OFST   4
#define MC_CMD_GET_WORKAROUNDS_OUT_BUG17230   0x2
#define MC_CMD_GET_WORKAROUNDS_OUT_BUG35388   0x4
#define MC_CMD_GET_WORKAROUNDS_OUT_BUG35017   0x8
#define MC_CMD_GET_WORKAROUNDS_OUT_BUG41750   0x10
#define MC_CMD_GET_WORKAROUNDS_OUT_BUG42008   0x20
#define MC_CMD_GET_WORKAROUNDS_OUT_BUG26807   0x40
#define MC_CMD_GET_WORKAROUNDS_OUT_BUG61265   0x80
#define MC_CMD_V2_EXTN   0x7f
#define MC_CMD_V2_EXTN_IN_LEN   4
#define MC_CMD_V2_EXTN_IN_EXTENDED_CMD_LBN   0
#define MC_CMD_V2_EXTN_IN_EXTENDED_CMD_WIDTH   15
#define MC_CMD_V2_EXTN_IN_UNUSED_LBN   15
#define MC_CMD_V2_EXTN_IN_UNUSED_WIDTH   1
#define MC_CMD_V2_EXTN_IN_ACTUAL_LEN_LBN   16
#define MC_CMD_V2_EXTN_IN_ACTUAL_LEN_WIDTH   10
#define MC_CMD_V2_EXTN_IN_UNUSED2_LBN   26
#define MC_CMD_V2_EXTN_IN_UNUSED2_WIDTH   2
#define MC_CMD_V2_EXTN_IN_MESSAGE_TYPE_LBN   28
#define MC_CMD_V2_EXTN_IN_MESSAGE_TYPE_WIDTH   4
#define MC_CMD_V2_EXTN_IN_MCDI_MESSAGE_TYPE_MC   0x0
#define MC_CMD_V2_EXTN_IN_MCDI_MESSAGE_TYPE_TSA   0x1
#define MC_CMD_INIT_EVQ   0x80
#define MC_CMD_0x80_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_INIT_EVQ_IN_LENMIN   44
#define MC_CMD_INIT_EVQ_IN_LENMAX   548
#define MC_CMD_INIT_EVQ_IN_LEN(num)   (36+8*(num))
#define MC_CMD_INIT_EVQ_IN_SIZE_OFST   0
#define MC_CMD_INIT_EVQ_IN_INSTANCE_OFST   4
#define MC_CMD_INIT_EVQ_IN_TMR_LOAD_OFST   8
#define MC_CMD_INIT_EVQ_IN_TMR_RELOAD_OFST   12
#define MC_CMD_INIT_EVQ_IN_FLAGS_OFST   16
#define MC_CMD_INIT_EVQ_IN_FLAG_INTERRUPTING_LBN   0
#define MC_CMD_INIT_EVQ_IN_FLAG_INTERRUPTING_WIDTH   1
#define MC_CMD_INIT_EVQ_IN_FLAG_RPTR_DOS_LBN   1
#define MC_CMD_INIT_EVQ_IN_FLAG_RPTR_DOS_WIDTH   1
#define MC_CMD_INIT_EVQ_IN_FLAG_INT_ARMD_LBN   2
#define MC_CMD_INIT_EVQ_IN_FLAG_INT_ARMD_WIDTH   1
#define MC_CMD_INIT_EVQ_IN_FLAG_CUT_THRU_LBN   3
#define MC_CMD_INIT_EVQ_IN_FLAG_CUT_THRU_WIDTH   1
#define MC_CMD_INIT_EVQ_IN_FLAG_RX_MERGE_LBN   4
#define MC_CMD_INIT_EVQ_IN_FLAG_RX_MERGE_WIDTH   1
#define MC_CMD_INIT_EVQ_IN_FLAG_TX_MERGE_LBN   5
#define MC_CMD_INIT_EVQ_IN_FLAG_TX_MERGE_WIDTH   1
#define MC_CMD_INIT_EVQ_IN_FLAG_USE_TIMER_LBN   6
#define MC_CMD_INIT_EVQ_IN_FLAG_USE_TIMER_WIDTH   1
#define MC_CMD_INIT_EVQ_IN_TMR_MODE_OFST   20
#define MC_CMD_INIT_EVQ_IN_TMR_MODE_DIS   0x0
#define MC_CMD_INIT_EVQ_IN_TMR_IMMED_START   0x1
#define MC_CMD_INIT_EVQ_IN_TMR_TRIG_START   0x2
#define MC_CMD_INIT_EVQ_IN_TMR_INT_HLDOFF   0x3
#define MC_CMD_INIT_EVQ_IN_TARGET_EVQ_OFST   24
#define MC_CMD_INIT_EVQ_IN_IRQ_NUM_OFST   24
#define MC_CMD_INIT_EVQ_IN_COUNT_MODE_OFST   28
#define MC_CMD_INIT_EVQ_IN_COUNT_MODE_DIS   0x0
#define MC_CMD_INIT_EVQ_IN_COUNT_MODE_RX   0x1
#define MC_CMD_INIT_EVQ_IN_COUNT_MODE_TX   0x2
#define MC_CMD_INIT_EVQ_IN_COUNT_MODE_RXTX   0x3
#define MC_CMD_INIT_EVQ_IN_COUNT_THRSHLD_OFST   32
#define MC_CMD_INIT_EVQ_IN_DMA_ADDR_OFST   36
#define MC_CMD_INIT_EVQ_IN_DMA_ADDR_LEN   8
#define MC_CMD_INIT_EVQ_IN_DMA_ADDR_LO_OFST   36
#define MC_CMD_INIT_EVQ_IN_DMA_ADDR_HI_OFST   40
#define MC_CMD_INIT_EVQ_IN_DMA_ADDR_MINNUM   1
#define MC_CMD_INIT_EVQ_IN_DMA_ADDR_MAXNUM   64
#define MC_CMD_INIT_EVQ_OUT_LEN   4
#define MC_CMD_INIT_EVQ_OUT_IRQ_OFST   0
#define MC_CMD_INIT_EVQ_V2_IN_LENMIN   44
#define MC_CMD_INIT_EVQ_V2_IN_LENMAX   548
#define MC_CMD_INIT_EVQ_V2_IN_LEN(num)   (36+8*(num))
#define MC_CMD_INIT_EVQ_V2_IN_SIZE_OFST   0
#define MC_CMD_INIT_EVQ_V2_IN_INSTANCE_OFST   4
#define MC_CMD_INIT_EVQ_V2_IN_TMR_LOAD_OFST   8
#define MC_CMD_INIT_EVQ_V2_IN_TMR_RELOAD_OFST   12
#define MC_CMD_INIT_EVQ_V2_IN_FLAGS_OFST   16
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_INTERRUPTING_LBN   0
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_INTERRUPTING_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_RPTR_DOS_LBN   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_RPTR_DOS_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_INT_ARMD_LBN   2
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_INT_ARMD_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_CUT_THRU_LBN   3
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_CUT_THRU_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_RX_MERGE_LBN   4
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_RX_MERGE_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TX_MERGE_LBN   5
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TX_MERGE_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_USE_TIMER_LBN   6
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_USE_TIMER_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TYPE_LBN   7
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TYPE_WIDTH   4
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TYPE_MANUAL   0x0
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TYPE_LOW_LATENCY   0x1
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TYPE_THROUGHPUT   0x2
#define MC_CMD_INIT_EVQ_V2_IN_FLAG_TYPE_AUTO   0x3
#define MC_CMD_INIT_EVQ_V2_IN_TMR_MODE_OFST   20
#define MC_CMD_INIT_EVQ_V2_IN_TMR_MODE_DIS   0x0
#define MC_CMD_INIT_EVQ_V2_IN_TMR_IMMED_START   0x1
#define MC_CMD_INIT_EVQ_V2_IN_TMR_TRIG_START   0x2
#define MC_CMD_INIT_EVQ_V2_IN_TMR_INT_HLDOFF   0x3
#define MC_CMD_INIT_EVQ_V2_IN_TARGET_EVQ_OFST   24
#define MC_CMD_INIT_EVQ_V2_IN_IRQ_NUM_OFST   24
#define MC_CMD_INIT_EVQ_V2_IN_COUNT_MODE_OFST   28
#define MC_CMD_INIT_EVQ_V2_IN_COUNT_MODE_DIS   0x0
#define MC_CMD_INIT_EVQ_V2_IN_COUNT_MODE_RX   0x1
#define MC_CMD_INIT_EVQ_V2_IN_COUNT_MODE_TX   0x2
#define MC_CMD_INIT_EVQ_V2_IN_COUNT_MODE_RXTX   0x3
#define MC_CMD_INIT_EVQ_V2_IN_COUNT_THRSHLD_OFST   32
#define MC_CMD_INIT_EVQ_V2_IN_DMA_ADDR_OFST   36
#define MC_CMD_INIT_EVQ_V2_IN_DMA_ADDR_LEN   8
#define MC_CMD_INIT_EVQ_V2_IN_DMA_ADDR_LO_OFST   36
#define MC_CMD_INIT_EVQ_V2_IN_DMA_ADDR_HI_OFST   40
#define MC_CMD_INIT_EVQ_V2_IN_DMA_ADDR_MINNUM   1
#define MC_CMD_INIT_EVQ_V2_IN_DMA_ADDR_MAXNUM   64
#define MC_CMD_INIT_EVQ_V2_OUT_LEN   8
#define MC_CMD_INIT_EVQ_V2_OUT_IRQ_OFST   0
#define MC_CMD_INIT_EVQ_V2_OUT_FLAGS_OFST   4
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_CUT_THRU_LBN   0
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_CUT_THRU_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_RX_MERGE_LBN   1
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_RX_MERGE_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_TX_MERGE_LBN   2
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_TX_MERGE_WIDTH   1
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_RXQ_FORCE_EV_MERGING_LBN   3
#define MC_CMD_INIT_EVQ_V2_OUT_FLAG_RXQ_FORCE_EV_MERGING_WIDTH   1
#define QUEUE_CRC_MODE_LEN   1
#define QUEUE_CRC_MODE_MODE_LBN   0
#define QUEUE_CRC_MODE_MODE_WIDTH   4
#define QUEUE_CRC_MODE_NONE   0x0
#define QUEUE_CRC_MODE_FCOE   0x1
#define QUEUE_CRC_MODE_ISCSI_HDR   0x2
#define QUEUE_CRC_MODE_ISCSI   0x3
#define QUEUE_CRC_MODE_FCOIPOE   0x4
#define QUEUE_CRC_MODE_MPA   0x5
#define QUEUE_CRC_MODE_SPARE_LBN   4
#define QUEUE_CRC_MODE_SPARE_WIDTH   4
#define MC_CMD_INIT_RXQ   0x81
#define MC_CMD_0x81_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_INIT_RXQ_IN_LENMIN   36
#define MC_CMD_INIT_RXQ_IN_LENMAX   252
#define MC_CMD_INIT_RXQ_IN_LEN(num)   (28+8*(num))
#define MC_CMD_INIT_RXQ_IN_SIZE_OFST   0
#define MC_CMD_INIT_RXQ_IN_TARGET_EVQ_OFST   4
#define MC_CMD_INIT_RXQ_IN_LABEL_OFST   8
#define MC_CMD_INIT_RXQ_IN_INSTANCE_OFST   12
#define MC_CMD_INIT_RXQ_IN_FLAGS_OFST   16
#define MC_CMD_INIT_RXQ_IN_FLAG_BUFF_MODE_LBN   0
#define MC_CMD_INIT_RXQ_IN_FLAG_BUFF_MODE_WIDTH   1
#define MC_CMD_INIT_RXQ_IN_FLAG_HDR_SPLIT_LBN   1
#define MC_CMD_INIT_RXQ_IN_FLAG_HDR_SPLIT_WIDTH   1
#define MC_CMD_INIT_RXQ_IN_FLAG_TIMESTAMP_LBN   2
#define MC_CMD_INIT_RXQ_IN_FLAG_TIMESTAMP_WIDTH   1
#define MC_CMD_INIT_RXQ_IN_CRC_MODE_LBN   3
#define MC_CMD_INIT_RXQ_IN_CRC_MODE_WIDTH   4
#define MC_CMD_INIT_RXQ_IN_FLAG_CHAIN_LBN   7
#define MC_CMD_INIT_RXQ_IN_FLAG_CHAIN_WIDTH   1
#define MC_CMD_INIT_RXQ_IN_FLAG_PREFIX_LBN   8
#define MC_CMD_INIT_RXQ_IN_FLAG_PREFIX_WIDTH   1
#define MC_CMD_INIT_RXQ_IN_FLAG_DISABLE_SCATTER_LBN   9
#define MC_CMD_INIT_RXQ_IN_FLAG_DISABLE_SCATTER_WIDTH   1
#define MC_CMD_INIT_RXQ_IN_UNUSED_LBN   10
#define MC_CMD_INIT_RXQ_IN_UNUSED_WIDTH   1
#define MC_CMD_INIT_RXQ_IN_OWNER_ID_OFST   20
#define MC_CMD_INIT_RXQ_IN_PORT_ID_OFST   24
#define MC_CMD_INIT_RXQ_IN_DMA_ADDR_OFST   28
#define MC_CMD_INIT_RXQ_IN_DMA_ADDR_LEN   8
#define MC_CMD_INIT_RXQ_IN_DMA_ADDR_LO_OFST   28
#define MC_CMD_INIT_RXQ_IN_DMA_ADDR_HI_OFST   32
#define MC_CMD_INIT_RXQ_IN_DMA_ADDR_MINNUM   1
#define MC_CMD_INIT_RXQ_IN_DMA_ADDR_MAXNUM   28
#define MC_CMD_INIT_RXQ_EXT_IN_LEN   544
#define MC_CMD_INIT_RXQ_EXT_IN_SIZE_OFST   0
#define MC_CMD_INIT_RXQ_EXT_IN_TARGET_EVQ_OFST   4
#define MC_CMD_INIT_RXQ_EXT_IN_LABEL_OFST   8
#define MC_CMD_INIT_RXQ_EXT_IN_INSTANCE_OFST   12
#define MC_CMD_INIT_RXQ_EXT_IN_FLAGS_OFST   16
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_BUFF_MODE_LBN   0
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_BUFF_MODE_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_HDR_SPLIT_LBN   1
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_HDR_SPLIT_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_TIMESTAMP_LBN   2
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_TIMESTAMP_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_CRC_MODE_LBN   3
#define MC_CMD_INIT_RXQ_EXT_IN_CRC_MODE_WIDTH   4
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_CHAIN_LBN   7
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_CHAIN_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_PREFIX_LBN   8
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_PREFIX_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_DISABLE_SCATTER_LBN   9
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_DISABLE_SCATTER_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_DMA_MODE_LBN   10
#define MC_CMD_INIT_RXQ_EXT_IN_DMA_MODE_WIDTH   4
#define MC_CMD_INIT_RXQ_EXT_IN_SINGLE_PACKET   0x0
#define MC_CMD_INIT_RXQ_EXT_IN_PACKED_STREAM   0x1
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_SNAPSHOT_MODE_LBN   14
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_SNAPSHOT_MODE_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_PACKED_STREAM_BUFF_SIZE_LBN   15
#define MC_CMD_INIT_RXQ_EXT_IN_PACKED_STREAM_BUFF_SIZE_WIDTH   3
#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_1M   0x0 /* enum */
#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_512K   0x1 /* enum */
#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_256K   0x2 /* enum */
#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_128K   0x3 /* enum */
#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_64K   0x4 /* enum */
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_WANT_OUTER_CLASSES_LBN   18
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_WANT_OUTER_CLASSES_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_FORCE_EV_MERGING_LBN   19
#define MC_CMD_INIT_RXQ_EXT_IN_FLAG_FORCE_EV_MERGING_WIDTH   1
#define MC_CMD_INIT_RXQ_EXT_IN_OWNER_ID_OFST   20
#define MC_CMD_INIT_RXQ_EXT_IN_PORT_ID_OFST   24
#define MC_CMD_INIT_RXQ_EXT_IN_DMA_ADDR_OFST   28
#define MC_CMD_INIT_RXQ_EXT_IN_DMA_ADDR_LEN   8
#define MC_CMD_INIT_RXQ_EXT_IN_DMA_ADDR_LO_OFST   28
#define MC_CMD_INIT_RXQ_EXT_IN_DMA_ADDR_HI_OFST   32
#define MC_CMD_INIT_RXQ_EXT_IN_DMA_ADDR_NUM   64
#define MC_CMD_INIT_RXQ_EXT_IN_SNAPSHOT_LENGTH_OFST   540
#define MC_CMD_INIT_RXQ_OUT_LEN   0
#define MC_CMD_INIT_RXQ_EXT_OUT_LEN   0
#define MC_CMD_INIT_TXQ   0x82
#define MC_CMD_0x82_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_INIT_TXQ_IN_LENMIN   36
#define MC_CMD_INIT_TXQ_IN_LENMAX   252
#define MC_CMD_INIT_TXQ_IN_LEN(num)   (28+8*(num))
#define MC_CMD_INIT_TXQ_IN_SIZE_OFST   0
#define MC_CMD_INIT_TXQ_IN_TARGET_EVQ_OFST   4
#define MC_CMD_INIT_TXQ_IN_LABEL_OFST   8
#define MC_CMD_INIT_TXQ_IN_INSTANCE_OFST   12
#define MC_CMD_INIT_TXQ_IN_FLAGS_OFST   16
#define MC_CMD_INIT_TXQ_IN_FLAG_BUFF_MODE_LBN   0
#define MC_CMD_INIT_TXQ_IN_FLAG_BUFF_MODE_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_FLAG_IP_CSUM_DIS_LBN   1
#define MC_CMD_INIT_TXQ_IN_FLAG_IP_CSUM_DIS_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_FLAG_TCP_CSUM_DIS_LBN   2
#define MC_CMD_INIT_TXQ_IN_FLAG_TCP_CSUM_DIS_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_FLAG_TCP_UDP_ONLY_LBN   3
#define MC_CMD_INIT_TXQ_IN_FLAG_TCP_UDP_ONLY_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_CRC_MODE_LBN   4
#define MC_CMD_INIT_TXQ_IN_CRC_MODE_WIDTH   4
#define MC_CMD_INIT_TXQ_IN_FLAG_TIMESTAMP_LBN   8
#define MC_CMD_INIT_TXQ_IN_FLAG_TIMESTAMP_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_FLAG_PACER_BYPASS_LBN   9
#define MC_CMD_INIT_TXQ_IN_FLAG_PACER_BYPASS_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_FLAG_INNER_IP_CSUM_EN_LBN   10
#define MC_CMD_INIT_TXQ_IN_FLAG_INNER_IP_CSUM_EN_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_FLAG_INNER_TCP_CSUM_EN_LBN   11
#define MC_CMD_INIT_TXQ_IN_FLAG_INNER_TCP_CSUM_EN_WIDTH   1
#define MC_CMD_INIT_TXQ_IN_OWNER_ID_OFST   20
#define MC_CMD_INIT_TXQ_IN_PORT_ID_OFST   24
#define MC_CMD_INIT_TXQ_IN_DMA_ADDR_OFST   28
#define MC_CMD_INIT_TXQ_IN_DMA_ADDR_LEN   8
#define MC_CMD_INIT_TXQ_IN_DMA_ADDR_LO_OFST   28
#define MC_CMD_INIT_TXQ_IN_DMA_ADDR_HI_OFST   32
#define MC_CMD_INIT_TXQ_IN_DMA_ADDR_MINNUM   1
#define MC_CMD_INIT_TXQ_IN_DMA_ADDR_MAXNUM   28
#define MC_CMD_INIT_TXQ_EXT_IN_LEN   544
#define MC_CMD_INIT_TXQ_EXT_IN_SIZE_OFST   0
#define MC_CMD_INIT_TXQ_EXT_IN_TARGET_EVQ_OFST   4
#define MC_CMD_INIT_TXQ_EXT_IN_LABEL_OFST   8
#define MC_CMD_INIT_TXQ_EXT_IN_INSTANCE_OFST   12
#define MC_CMD_INIT_TXQ_EXT_IN_FLAGS_OFST   16
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_BUFF_MODE_LBN   0
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_BUFF_MODE_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_IP_CSUM_DIS_LBN   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_IP_CSUM_DIS_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TCP_CSUM_DIS_LBN   2
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TCP_CSUM_DIS_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TCP_UDP_ONLY_LBN   3
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TCP_UDP_ONLY_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_CRC_MODE_LBN   4
#define MC_CMD_INIT_TXQ_EXT_IN_CRC_MODE_WIDTH   4
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TIMESTAMP_LBN   8
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TIMESTAMP_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_PACER_BYPASS_LBN   9
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_PACER_BYPASS_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_INNER_IP_CSUM_EN_LBN   10
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_INNER_IP_CSUM_EN_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_INNER_TCP_CSUM_EN_LBN   11
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_INNER_TCP_CSUM_EN_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TSOV2_EN_LBN   12
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_TSOV2_EN_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_CTPIO_LBN   13
#define MC_CMD_INIT_TXQ_EXT_IN_FLAG_CTPIO_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_OWNER_ID_OFST   20
#define MC_CMD_INIT_TXQ_EXT_IN_PORT_ID_OFST   24
#define MC_CMD_INIT_TXQ_EXT_IN_DMA_ADDR_OFST   28
#define MC_CMD_INIT_TXQ_EXT_IN_DMA_ADDR_LEN   8
#define MC_CMD_INIT_TXQ_EXT_IN_DMA_ADDR_LO_OFST   28
#define MC_CMD_INIT_TXQ_EXT_IN_DMA_ADDR_HI_OFST   32
#define MC_CMD_INIT_TXQ_EXT_IN_DMA_ADDR_MINNUM   1
#define MC_CMD_INIT_TXQ_EXT_IN_DMA_ADDR_MAXNUM   64
#define MC_CMD_INIT_TXQ_EXT_IN_QBB_FLAGS_OFST   540
#define MC_CMD_INIT_TXQ_EXT_IN_QBB_ENABLE_LBN   0
#define MC_CMD_INIT_TXQ_EXT_IN_QBB_ENABLE_WIDTH   1
#define MC_CMD_INIT_TXQ_EXT_IN_QBB_PRIORITY_LBN   1
#define MC_CMD_INIT_TXQ_EXT_IN_QBB_PRIORITY_WIDTH   3
#define MC_CMD_INIT_TXQ_OUT_LEN   0
#define MC_CMD_FINI_EVQ   0x83
#define MC_CMD_0x83_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_FINI_EVQ_IN_LEN   4
#define MC_CMD_FINI_EVQ_IN_INSTANCE_OFST   0
#define MC_CMD_FINI_EVQ_OUT_LEN   0
#define MC_CMD_FINI_RXQ   0x84
#define MC_CMD_0x84_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_FINI_RXQ_IN_LEN   4
#define MC_CMD_FINI_RXQ_IN_INSTANCE_OFST   0
#define MC_CMD_FINI_RXQ_OUT_LEN   0
#define MC_CMD_FINI_TXQ   0x85
#define MC_CMD_0x85_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_FINI_TXQ_IN_LEN   4
#define MC_CMD_FINI_TXQ_IN_INSTANCE_OFST   0
#define MC_CMD_FINI_TXQ_OUT_LEN   0
#define MC_CMD_FILTER_OP   0x8a
#define MC_CMD_0x8a_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_FILTER_OP_IN_LEN   108
#define MC_CMD_FILTER_OP_IN_OP_OFST   0
#define MC_CMD_FILTER_OP_IN_OP_INSERT   0x0
#define MC_CMD_FILTER_OP_IN_OP_REMOVE   0x1
#define MC_CMD_FILTER_OP_IN_OP_SUBSCRIBE   0x2
#define MC_CMD_FILTER_OP_IN_OP_UNSUBSCRIBE   0x3
#define MC_CMD_FILTER_OP_IN_OP_REPLACE   0x4
#define MC_CMD_FILTER_OP_IN_HANDLE_OFST   4
#define MC_CMD_FILTER_OP_IN_HANDLE_LEN   8
#define MC_CMD_FILTER_OP_IN_HANDLE_LO_OFST   4
#define MC_CMD_FILTER_OP_IN_HANDLE_HI_OFST   8
#define MC_CMD_FILTER_OP_IN_PORT_ID_OFST   12
#define MC_CMD_FILTER_OP_IN_MATCH_FIELDS_OFST   16
#define MC_CMD_FILTER_OP_IN_MATCH_SRC_IP_LBN   0
#define MC_CMD_FILTER_OP_IN_MATCH_SRC_IP_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_DST_IP_LBN   1
#define MC_CMD_FILTER_OP_IN_MATCH_DST_IP_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_SRC_MAC_LBN   2
#define MC_CMD_FILTER_OP_IN_MATCH_SRC_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_SRC_PORT_LBN   3
#define MC_CMD_FILTER_OP_IN_MATCH_SRC_PORT_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_DST_MAC_LBN   4
#define MC_CMD_FILTER_OP_IN_MATCH_DST_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_DST_PORT_LBN   5
#define MC_CMD_FILTER_OP_IN_MATCH_DST_PORT_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_ETHER_TYPE_LBN   6
#define MC_CMD_FILTER_OP_IN_MATCH_ETHER_TYPE_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_INNER_VLAN_LBN   7
#define MC_CMD_FILTER_OP_IN_MATCH_INNER_VLAN_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_OUTER_VLAN_LBN   8
#define MC_CMD_FILTER_OP_IN_MATCH_OUTER_VLAN_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_IP_PROTO_LBN   9
#define MC_CMD_FILTER_OP_IN_MATCH_IP_PROTO_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_FWDEF0_LBN   10
#define MC_CMD_FILTER_OP_IN_MATCH_FWDEF0_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_FWDEF1_LBN   11
#define MC_CMD_FILTER_OP_IN_MATCH_FWDEF1_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_UNKNOWN_MCAST_DST_LBN   30
#define MC_CMD_FILTER_OP_IN_MATCH_UNKNOWN_MCAST_DST_WIDTH   1
#define MC_CMD_FILTER_OP_IN_MATCH_UNKNOWN_UCAST_DST_LBN   31
#define MC_CMD_FILTER_OP_IN_MATCH_UNKNOWN_UCAST_DST_WIDTH   1
#define MC_CMD_FILTER_OP_IN_RX_DEST_OFST   20
#define MC_CMD_FILTER_OP_IN_RX_DEST_DROP   0x0
#define MC_CMD_FILTER_OP_IN_RX_DEST_HOST   0x1
#define MC_CMD_FILTER_OP_IN_RX_DEST_MC   0x2
#define MC_CMD_FILTER_OP_IN_RX_DEST_TX0   0x3
#define MC_CMD_FILTER_OP_IN_RX_DEST_TX1   0x4
#define MC_CMD_FILTER_OP_IN_RX_QUEUE_OFST   24
#define MC_CMD_FILTER_OP_IN_RX_MODE_OFST   28
#define MC_CMD_FILTER_OP_IN_RX_MODE_SIMPLE   0x0
#define MC_CMD_FILTER_OP_IN_RX_MODE_RSS   0x1
#define MC_CMD_FILTER_OP_IN_RX_MODE_DOT1P_MAPPING   0x2
#define MC_CMD_FILTER_OP_IN_RX_MODE_TEST_NEVER_MATCH   0x80000000
#define MC_CMD_FILTER_OP_IN_RX_CONTEXT_OFST   32
#define MC_CMD_FILTER_OP_IN_TX_DOMAIN_OFST   36
#define MC_CMD_FILTER_OP_IN_TX_DEST_OFST   40
#define MC_CMD_FILTER_OP_IN_TX_DEST_DEFAULT   0xffffffff
#define MC_CMD_FILTER_OP_IN_TX_DEST_MAC_LBN   0
#define MC_CMD_FILTER_OP_IN_TX_DEST_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_IN_TX_DEST_PM_LBN   1
#define MC_CMD_FILTER_OP_IN_TX_DEST_PM_WIDTH   1
#define MC_CMD_FILTER_OP_IN_SRC_MAC_OFST   44
#define MC_CMD_FILTER_OP_IN_SRC_MAC_LEN   6
#define MC_CMD_FILTER_OP_IN_SRC_PORT_OFST   50
#define MC_CMD_FILTER_OP_IN_SRC_PORT_LEN   2
#define MC_CMD_FILTER_OP_IN_DST_MAC_OFST   52
#define MC_CMD_FILTER_OP_IN_DST_MAC_LEN   6
#define MC_CMD_FILTER_OP_IN_DST_PORT_OFST   58
#define MC_CMD_FILTER_OP_IN_DST_PORT_LEN   2
#define MC_CMD_FILTER_OP_IN_ETHER_TYPE_OFST   60
#define MC_CMD_FILTER_OP_IN_ETHER_TYPE_LEN   2
#define MC_CMD_FILTER_OP_IN_INNER_VLAN_OFST   62
#define MC_CMD_FILTER_OP_IN_INNER_VLAN_LEN   2
#define MC_CMD_FILTER_OP_IN_OUTER_VLAN_OFST   64
#define MC_CMD_FILTER_OP_IN_OUTER_VLAN_LEN   2
#define MC_CMD_FILTER_OP_IN_IP_PROTO_OFST   66
#define MC_CMD_FILTER_OP_IN_IP_PROTO_LEN   2
#define MC_CMD_FILTER_OP_IN_FWDEF0_OFST   68
#define MC_CMD_FILTER_OP_IN_FWDEF1_OFST   72
#define MC_CMD_FILTER_OP_IN_SRC_IP_OFST   76
#define MC_CMD_FILTER_OP_IN_SRC_IP_LEN   16
#define MC_CMD_FILTER_OP_IN_DST_IP_OFST   92
#define MC_CMD_FILTER_OP_IN_DST_IP_LEN   16
#define MC_CMD_FILTER_OP_EXT_IN_LEN   172
#define MC_CMD_FILTER_OP_EXT_IN_OP_OFST   0
#define MC_CMD_FILTER_OP_EXT_IN_HANDLE_OFST   4
#define MC_CMD_FILTER_OP_EXT_IN_HANDLE_LEN   8
#define MC_CMD_FILTER_OP_EXT_IN_HANDLE_LO_OFST   4
#define MC_CMD_FILTER_OP_EXT_IN_HANDLE_HI_OFST   8
#define MC_CMD_FILTER_OP_EXT_IN_PORT_ID_OFST   12
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_FIELDS_OFST   16
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_SRC_IP_LBN   0
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_SRC_IP_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_DST_IP_LBN   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_DST_IP_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_SRC_MAC_LBN   2
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_SRC_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_SRC_PORT_LBN   3
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_SRC_PORT_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_DST_MAC_LBN   4
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_DST_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_DST_PORT_LBN   5
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_DST_PORT_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_ETHER_TYPE_LBN   6
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_ETHER_TYPE_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_INNER_VLAN_LBN   7
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_INNER_VLAN_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_OUTER_VLAN_LBN   8
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_OUTER_VLAN_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IP_PROTO_LBN   9
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IP_PROTO_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_FWDEF0_LBN   10
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_FWDEF0_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_VNI_OR_VSID_LBN   11
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_VNI_OR_VSID_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_SRC_IP_LBN   12
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_SRC_IP_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_DST_IP_LBN   13
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_DST_IP_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_SRC_MAC_LBN   14
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_SRC_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_SRC_PORT_LBN   15
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_SRC_PORT_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_DST_MAC_LBN   16
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_DST_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_DST_PORT_LBN   17
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_DST_PORT_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_ETHER_TYPE_LBN   18
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_ETHER_TYPE_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_INNER_VLAN_LBN   19
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_INNER_VLAN_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_OUTER_VLAN_LBN   20
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_OUTER_VLAN_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_IP_PROTO_LBN   21
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_IP_PROTO_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_FWDEF0_LBN   22
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_FWDEF0_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_FWDEF1_LBN   23
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_FWDEF1_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_UNKNOWN_MCAST_DST_LBN   24
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_UNKNOWN_MCAST_DST_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_UNKNOWN_UCAST_DST_LBN   25
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_UNKNOWN_UCAST_DST_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_UNKNOWN_MCAST_DST_LBN   30
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_UNKNOWN_MCAST_DST_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_UNKNOWN_UCAST_DST_LBN   31
#define MC_CMD_FILTER_OP_EXT_IN_MATCH_UNKNOWN_UCAST_DST_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_RX_DEST_OFST   20
#define MC_CMD_FILTER_OP_EXT_IN_RX_DEST_DROP   0x0
#define MC_CMD_FILTER_OP_EXT_IN_RX_DEST_HOST   0x1
#define MC_CMD_FILTER_OP_EXT_IN_RX_DEST_MC   0x2
#define MC_CMD_FILTER_OP_EXT_IN_RX_DEST_TX0   0x3
#define MC_CMD_FILTER_OP_EXT_IN_RX_DEST_TX1   0x4
#define MC_CMD_FILTER_OP_EXT_IN_RX_QUEUE_OFST   24
#define MC_CMD_FILTER_OP_EXT_IN_RX_MODE_OFST   28
#define MC_CMD_FILTER_OP_EXT_IN_RX_MODE_SIMPLE   0x0
#define MC_CMD_FILTER_OP_EXT_IN_RX_MODE_RSS   0x1
#define MC_CMD_FILTER_OP_EXT_IN_RX_MODE_DOT1P_MAPPING   0x2
#define MC_CMD_FILTER_OP_EXT_IN_RX_MODE_TEST_NEVER_MATCH   0x80000000
#define MC_CMD_FILTER_OP_EXT_IN_RX_CONTEXT_OFST   32
#define MC_CMD_FILTER_OP_EXT_IN_TX_DOMAIN_OFST   36
#define MC_CMD_FILTER_OP_EXT_IN_TX_DEST_OFST   40
#define MC_CMD_FILTER_OP_EXT_IN_TX_DEST_DEFAULT   0xffffffff
#define MC_CMD_FILTER_OP_EXT_IN_TX_DEST_MAC_LBN   0
#define MC_CMD_FILTER_OP_EXT_IN_TX_DEST_MAC_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_TX_DEST_PM_LBN   1
#define MC_CMD_FILTER_OP_EXT_IN_TX_DEST_PM_WIDTH   1
#define MC_CMD_FILTER_OP_EXT_IN_SRC_MAC_OFST   44
#define MC_CMD_FILTER_OP_EXT_IN_SRC_MAC_LEN   6
#define MC_CMD_FILTER_OP_EXT_IN_SRC_PORT_OFST   50
#define MC_CMD_FILTER_OP_EXT_IN_SRC_PORT_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_DST_MAC_OFST   52
#define MC_CMD_FILTER_OP_EXT_IN_DST_MAC_LEN   6
#define MC_CMD_FILTER_OP_EXT_IN_DST_PORT_OFST   58
#define MC_CMD_FILTER_OP_EXT_IN_DST_PORT_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_ETHER_TYPE_OFST   60
#define MC_CMD_FILTER_OP_EXT_IN_ETHER_TYPE_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_INNER_VLAN_OFST   62
#define MC_CMD_FILTER_OP_EXT_IN_INNER_VLAN_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_OUTER_VLAN_OFST   64
#define MC_CMD_FILTER_OP_EXT_IN_OUTER_VLAN_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_IP_PROTO_OFST   66
#define MC_CMD_FILTER_OP_EXT_IN_IP_PROTO_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_FWDEF0_OFST   68
#define MC_CMD_FILTER_OP_EXT_IN_VNI_OR_VSID_OFST   72
#define MC_CMD_FILTER_OP_EXT_IN_VNI_VALUE_LBN   0
#define MC_CMD_FILTER_OP_EXT_IN_VNI_VALUE_WIDTH   24
#define MC_CMD_FILTER_OP_EXT_IN_VNI_TYPE_LBN   24
#define MC_CMD_FILTER_OP_EXT_IN_VNI_TYPE_WIDTH   8
#define MC_CMD_FILTER_OP_EXT_IN_VNI_TYPE_VXLAN   0x0
#define MC_CMD_FILTER_OP_EXT_IN_VNI_TYPE_GENEVE   0x1
#define MC_CMD_FILTER_OP_EXT_IN_VNI_TYPE_EXPERIMENTAL   0xfe
#define MC_CMD_FILTER_OP_EXT_IN_VSID_VALUE_LBN   0
#define MC_CMD_FILTER_OP_EXT_IN_VSID_VALUE_WIDTH   24
#define MC_CMD_FILTER_OP_EXT_IN_VSID_TYPE_LBN   24
#define MC_CMD_FILTER_OP_EXT_IN_VSID_TYPE_WIDTH   8
#define MC_CMD_FILTER_OP_EXT_IN_VSID_TYPE_NVGRE   0x0
#define MC_CMD_FILTER_OP_EXT_IN_SRC_IP_OFST   76
#define MC_CMD_FILTER_OP_EXT_IN_SRC_IP_LEN   16
#define MC_CMD_FILTER_OP_EXT_IN_DST_IP_OFST   92
#define MC_CMD_FILTER_OP_EXT_IN_DST_IP_LEN   16
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_SRC_MAC_OFST   108
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_SRC_MAC_LEN   6
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_SRC_PORT_OFST   114
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_SRC_PORT_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_DST_MAC_OFST   116
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_DST_MAC_LEN   6
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_DST_PORT_OFST   122
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_DST_PORT_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_ETHER_TYPE_OFST   124
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_ETHER_TYPE_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_INNER_VLAN_OFST   126
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_INNER_VLAN_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_OUTER_VLAN_OFST   128
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_OUTER_VLAN_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_IP_PROTO_OFST   130
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_IP_PROTO_LEN   2
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_FWDEF0_OFST   132
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_FWDEF1_OFST   136
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_SRC_IP_OFST   140
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_SRC_IP_LEN   16
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_DST_IP_OFST   156
#define MC_CMD_FILTER_OP_EXT_IN_IFRM_DST_IP_LEN   16
#define MC_CMD_FILTER_OP_OUT_LEN   12
#define MC_CMD_FILTER_OP_OUT_OP_OFST   0
#define MC_CMD_FILTER_OP_OUT_HANDLE_OFST   4
#define MC_CMD_FILTER_OP_OUT_HANDLE_LEN   8
#define MC_CMD_FILTER_OP_OUT_HANDLE_LO_OFST   4
#define MC_CMD_FILTER_OP_OUT_HANDLE_HI_OFST   8
#define MC_CMD_FILTER_OP_OUT_HANDLE_LO_INVALID   0xffffffff
#define MC_CMD_FILTER_OP_OUT_HANDLE_HI_INVALID   0xffffffff
#define MC_CMD_FILTER_OP_EXT_OUT_LEN   12
#define MC_CMD_FILTER_OP_EXT_OUT_OP_OFST   0
#define MC_CMD_FILTER_OP_EXT_OUT_HANDLE_OFST   4
#define MC_CMD_FILTER_OP_EXT_OUT_HANDLE_LEN   8
#define MC_CMD_FILTER_OP_EXT_OUT_HANDLE_LO_OFST   4
#define MC_CMD_FILTER_OP_EXT_OUT_HANDLE_HI_OFST   8
#define MC_CMD_ALLOC_VIS   0x8b
#define MC_CMD_0x8b_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_ALLOC_VIS_IN_LEN   8
#define MC_CMD_ALLOC_VIS_IN_MIN_VI_COUNT_OFST   0
#define MC_CMD_ALLOC_VIS_IN_MAX_VI_COUNT_OFST   4
#define MC_CMD_ALLOC_VIS_OUT_LEN   8
#define MC_CMD_ALLOC_VIS_OUT_VI_COUNT_OFST   0
#define MC_CMD_ALLOC_VIS_OUT_VI_BASE_OFST   4
#define MC_CMD_ALLOC_VIS_EXT_OUT_LEN   12
#define MC_CMD_ALLOC_VIS_EXT_OUT_VI_COUNT_OFST   0
#define MC_CMD_ALLOC_VIS_EXT_OUT_VI_BASE_OFST   4
#define MC_CMD_ALLOC_VIS_EXT_OUT_VI_SHIFT_OFST   8
#define MC_CMD_FREE_VIS   0x8c
#define MC_CMD_0x8c_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_FREE_VIS_IN_LEN   0
#define MC_CMD_FREE_VIS_OUT_LEN   0
#define MC_CMD_GET_PORT_ASSIGNMENT   0xb8
#define MC_CMD_0xb8_PRIVILEGE_CTG   SRIOV_CTG_GENERAL
#define MC_CMD_GET_PORT_ASSIGNMENT_IN_LEN   0
#define MC_CMD_GET_PORT_ASSIGNMENT_OUT_LEN   4
#define MC_CMD_GET_PORT_ASSIGNMENT_OUT_PORT_OFST   0
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS   0x117
#define MC_CMD_0x117_PRIVILEGE_CTG   SRIOV_CTG_ADMIN
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_LENMIN   4
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_LENMAX   68
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_LEN(num)   (4+4*(num))
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_FLAGS_OFST   0
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_FLAGS_LEN   2
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_UNLOADING_LBN   0
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_UNLOADING_WIDTH   1
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_NUM_ENTRIES_OFST   2
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_NUM_ENTRIES_LEN   2
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_ENTRIES_OFST   4
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_ENTRIES_LEN   4
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_ENTRIES_MINNUM   0
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_ENTRIES_MAXNUM   16
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_OUT_LEN   2
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_OUT_FLAGS_OFST   0
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_OUT_FLAGS_LEN   2
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_OUT_RESETTING_LBN   0
#define MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_OUT_RESETTING_WIDTH   1

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Detailed Description

This file is a subset of the MCDI headers generated from the yml files.

Definition in file mc_driver_pcol.h.


Define Documentation

#define MCDI_PCOL_VERSION   1

Definition at line 31 of file mc_driver_pcol.h.

#define MCDI_HEADER_OFST   0

Request/Response structure.

Definition at line 67 of file mc_driver_pcol.h.

#define MCDI_HEADER_CODE_LBN   0

Definition at line 68 of file mc_driver_pcol.h.

#define MCDI_HEADER_CODE_WIDTH   7

Definition at line 69 of file mc_driver_pcol.h.

#define MCDI_HEADER_RESYNC_LBN   7

Definition at line 70 of file mc_driver_pcol.h.

#define MCDI_HEADER_RESYNC_WIDTH   1

Definition at line 71 of file mc_driver_pcol.h.

#define MCDI_HEADER_DATALEN_LBN   8

Definition at line 72 of file mc_driver_pcol.h.

#define MCDI_HEADER_DATALEN_WIDTH   8

Definition at line 73 of file mc_driver_pcol.h.

#define MCDI_HEADER_SEQ_LBN   16

Definition at line 74 of file mc_driver_pcol.h.

#define MCDI_HEADER_SEQ_WIDTH   4

Definition at line 75 of file mc_driver_pcol.h.

#define MCDI_HEADER_RSVD_LBN   20

Definition at line 76 of file mc_driver_pcol.h.

#define MCDI_HEADER_RSVD_WIDTH   1

Definition at line 77 of file mc_driver_pcol.h.

#define MCDI_HEADER_NOT_EPOCH_LBN   21

Definition at line 78 of file mc_driver_pcol.h.

Definition at line 79 of file mc_driver_pcol.h.

#define MCDI_HEADER_ERROR_LBN   22

Definition at line 80 of file mc_driver_pcol.h.

#define MCDI_HEADER_ERROR_WIDTH   1

Definition at line 81 of file mc_driver_pcol.h.

#define MCDI_HEADER_RESPONSE_LBN   23

Definition at line 82 of file mc_driver_pcol.h.

Definition at line 83 of file mc_driver_pcol.h.

#define MCDI_HEADER_XFLAGS_LBN   24

Definition at line 84 of file mc_driver_pcol.h.

#define MCDI_HEADER_XFLAGS_WIDTH   8

Definition at line 85 of file mc_driver_pcol.h.

#define MCDI_HEADER_XFLAGS_EVREQ   0x01

Definition at line 87 of file mc_driver_pcol.h.

#define MCDI_HEADER_XFLAGS_DBRET   0x02

Definition at line 89 of file mc_driver_pcol.h.

#define MCDI_CTL_SDU_LEN_MAX_V1   0xfc

Definition at line 92 of file mc_driver_pcol.h.

#define MCDI_CTL_SDU_LEN_MAX_V2   0x400

Definition at line 93 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_copyin(), and hunt_mcdi_init().

Definition at line 98 of file mc_driver_pcol.h.

Definition at line 142 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EPERM   1

Definition at line 146 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_ENOENT   2

Definition at line 148 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_EINTR   4

Definition at line 150 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_EIO   5

Definition at line 152 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EEXIST   6

Definition at line 154 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EAGAIN   11

Definition at line 156 of file mc_driver_pcol.h.

#define MC_CMD_ERR_ENOMEM   12

Definition at line 158 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EACCES   13

Definition at line 160 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_EBUSY   16

Definition at line 162 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_ENODEV   19

Definition at line 164 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EINVAL   22

Definition at line 166 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_EPIPE   32

Definition at line 168 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EROFS   30

Definition at line 170 of file mc_driver_pcol.h.

#define MC_CMD_ERR_ERANGE   34

Definition at line 172 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EDEADLK   35

Definition at line 174 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_ENOSYS   38

Definition at line 176 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_ETIME   62

Definition at line 178 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_request_poll().

#define MC_CMD_ERR_ENOLINK   67

Definition at line 180 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EPROTO   71

Definition at line 182 of file mc_driver_pcol.h.

#define MC_CMD_ERR_ENOTSUP   95

Definition at line 184 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EADDRNOTAVAIL   99

Definition at line 186 of file mc_driver_pcol.h.

#define MC_CMD_ERR_ENOTCONN   107

Definition at line 188 of file mc_driver_pcol.h.

#define MC_CMD_ERR_EALREADY   114

Definition at line 190 of file mc_driver_pcol.h.

#define MC_CMD_ERR_ALLOC_FAIL   0x1000

Definition at line 193 of file mc_driver_pcol.h.

#define MC_CMD_ERR_NO_VADAPTOR   0x1001

Definition at line 195 of file mc_driver_pcol.h.

#define MC_CMD_ERR_NO_EVB_PORT   0x1002

Definition at line 197 of file mc_driver_pcol.h.

#define MC_CMD_ERR_NO_VSWITCH   0x1003

Definition at line 199 of file mc_driver_pcol.h.

#define MC_CMD_ERR_VLAN_LIMIT   0x1004

Definition at line 201 of file mc_driver_pcol.h.

#define MC_CMD_ERR_BAD_PCI_FUNC   0x1005

Definition at line 203 of file mc_driver_pcol.h.

#define MC_CMD_ERR_BAD_VLAN_MODE   0x1006

Definition at line 205 of file mc_driver_pcol.h.

#define MC_CMD_ERR_BAD_VSWITCH_TYPE   0x1007

Definition at line 207 of file mc_driver_pcol.h.

#define MC_CMD_ERR_BAD_VPORT_TYPE   0x1008

Definition at line 209 of file mc_driver_pcol.h.

#define MC_CMD_ERR_MAC_EXIST   0x1009

Definition at line 211 of file mc_driver_pcol.h.

#define MC_CMD_ERR_SLAVE_NOT_PRESENT   0x100a

Definition at line 213 of file mc_driver_pcol.h.

#define MC_CMD_ERR_DATAPATH_DISABLED   0x100b

Definition at line 215 of file mc_driver_pcol.h.

#define MC_CMD_ERR_CLIENT_NOT_FN   0x100c

Definition at line 217 of file mc_driver_pcol.h.

#define MC_CMD_ERR_TRANSPORT_NOPROXY   0x100d

Definition at line 223 of file mc_driver_pcol.h.

#define MC_CMD_ERR_VLAN_EXIST   0x100e

Definition at line 225 of file mc_driver_pcol.h.

#define MC_CMD_ERR_NO_MAC_ADDR   0x100f

Definition at line 227 of file mc_driver_pcol.h.

#define MC_CMD_ERR_PROXY_PENDING   0x1010

Definition at line 234 of file mc_driver_pcol.h.

Definition at line 235 of file mc_driver_pcol.h.

#define MC_CMD_ERR_PROXY_INPROGRESS   0x1011

Definition at line 240 of file mc_driver_pcol.h.

#define MC_CMD_ERR_PROXY_UNEXPECTED   0x1012

Definition at line 245 of file mc_driver_pcol.h.

#define MC_CMD_ERR_NO_PRIVILEGE   0x1013

Definition at line 253 of file mc_driver_pcol.h.

#define MC_CMD_ERR_FILTERS_PRESENT   0x1014

Definition at line 258 of file mc_driver_pcol.h.

#define MC_CMD_ERR_NO_CLOCK   0x1015

Definition at line 262 of file mc_driver_pcol.h.

#define MC_CMD_ERR_UNREACHABLE   0x1016

Definition at line 266 of file mc_driver_pcol.h.

#define MC_CMD_ERR_QUEUE_FULL   0x1017

Definition at line 270 of file mc_driver_pcol.h.

#define MC_CMD_ERR_CODE_OFST   0

Definition at line 272 of file mc_driver_pcol.h.

#define MCDI_EVENT_LEN   8

Definition at line 289 of file mc_driver_pcol.h.

#define MCDI_EVENT_CONT_LBN   32

Definition at line 290 of file mc_driver_pcol.h.

#define MCDI_EVENT_CONT_WIDTH   1

Definition at line 291 of file mc_driver_pcol.h.

#define MCDI_EVENT_LEVEL_LBN   33

Definition at line 292 of file mc_driver_pcol.h.

#define MCDI_EVENT_LEVEL_WIDTH   3

Definition at line 293 of file mc_driver_pcol.h.

#define MCDI_EVENT_LEVEL_INFO   0x0

Definition at line 295 of file mc_driver_pcol.h.

#define MCDI_EVENT_LEVEL_WARN   0x1

Definition at line 297 of file mc_driver_pcol.h.

#define MCDI_EVENT_LEVEL_ERR   0x2

Definition at line 299 of file mc_driver_pcol.h.

#define MCDI_EVENT_LEVEL_FATAL   0x3

Definition at line 301 of file mc_driver_pcol.h.

#define MCDI_EVENT_DATA_OFST   0

Definition at line 302 of file mc_driver_pcol.h.

Definition at line 303 of file mc_driver_pcol.h.

Definition at line 304 of file mc_driver_pcol.h.

Definition at line 305 of file mc_driver_pcol.h.

Definition at line 306 of file mc_driver_pcol.h.

Definition at line 307 of file mc_driver_pcol.h.

Definition at line 308 of file mc_driver_pcol.h.

Definition at line 309 of file mc_driver_pcol.h.

Definition at line 310 of file mc_driver_pcol.h.

Definition at line 311 of file mc_driver_pcol.h.

Definition at line 312 of file mc_driver_pcol.h.

Definition at line 314 of file mc_driver_pcol.h.

Definition at line 316 of file mc_driver_pcol.h.

Definition at line 318 of file mc_driver_pcol.h.

Definition at line 320 of file mc_driver_pcol.h.

Definition at line 321 of file mc_driver_pcol.h.

Definition at line 322 of file mc_driver_pcol.h.

Definition at line 323 of file mc_driver_pcol.h.

Definition at line 324 of file mc_driver_pcol.h.

Definition at line 325 of file mc_driver_pcol.h.

Definition at line 326 of file mc_driver_pcol.h.

Definition at line 327 of file mc_driver_pcol.h.

Definition at line 328 of file mc_driver_pcol.h.

Definition at line 329 of file mc_driver_pcol.h.

Definition at line 330 of file mc_driver_pcol.h.

Definition at line 331 of file mc_driver_pcol.h.

Definition at line 332 of file mc_driver_pcol.h.

Definition at line 333 of file mc_driver_pcol.h.

Definition at line 334 of file mc_driver_pcol.h.

Definition at line 336 of file mc_driver_pcol.h.

#define MCDI_EVENT_FLR_VF_LBN   0

Definition at line 337 of file mc_driver_pcol.h.

#define MCDI_EVENT_FLR_VF_WIDTH   8

Definition at line 338 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_ERR_TXQ_LBN   0

Definition at line 339 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_ERR_TXQ_WIDTH   12

Definition at line 340 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_ERR_TYPE_LBN   12

Definition at line 341 of file mc_driver_pcol.h.

Definition at line 342 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_ERR_DL_FAIL   0x1

Definition at line 344 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_ERR_NO_EOP   0x2

Definition at line 346 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_ERR_2BIG   0x3

Definition at line 348 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_BAD_OPTDESC   0x5

Definition at line 350 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_OPT_IN_PKT   0x8

Definition at line 352 of file mc_driver_pcol.h.

Definition at line 354 of file mc_driver_pcol.h.

#define MCDI_EVENT_TX_ERR_INFO_LBN   16

Definition at line 355 of file mc_driver_pcol.h.

Definition at line 356 of file mc_driver_pcol.h.

Definition at line 357 of file mc_driver_pcol.h.

Definition at line 358 of file mc_driver_pcol.h.

Definition at line 359 of file mc_driver_pcol.h.

Definition at line 360 of file mc_driver_pcol.h.

Definition at line 361 of file mc_driver_pcol.h.

Definition at line 362 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_ERR_PLL_LOST   0x1

Definition at line 364 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_ERR_FILTER   0x2

Definition at line 366 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_ERR_FIFO   0x3

Definition at line 368 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_ERR_QUEUE   0x4

Definition at line 370 of file mc_driver_pcol.h.

Definition at line 371 of file mc_driver_pcol.h.

Definition at line 372 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_NO_LOAD   0x1

Definition at line 374 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_FC_ASSERT   0x2

Definition at line 376 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_FC_WATCHDOG   0x3

Definition at line 378 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_FC_NO_START   0x4

Definition at line 380 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_FAULT   0x5

Definition at line 384 of file mc_driver_pcol.h.

Definition at line 386 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_LOAD   0x7

Definition at line 388 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_DMA   0x8

Definition at line 390 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_BYTEBLASTER   0x9

Definition at line 394 of file mc_driver_pcol.h.

Definition at line 396 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_PTP_STATUS   0xb

Definition at line 398 of file mc_driver_pcol.h.

Definition at line 400 of file mc_driver_pcol.h.

Definition at line 402 of file mc_driver_pcol.h.

Definition at line 404 of file mc_driver_pcol.h.

Definition at line 406 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_FC_RUN_TIMEDOUT   0x10

Definition at line 408 of file mc_driver_pcol.h.

Definition at line 410 of file mc_driver_pcol.h.

Definition at line 412 of file mc_driver_pcol.h.

Definition at line 414 of file mc_driver_pcol.h.

#define MCDI_EVENT_AOE_FC_RUNNING   0x14

Definition at line 416 of file mc_driver_pcol.h.

Definition at line 417 of file mc_driver_pcol.h.

Definition at line 418 of file mc_driver_pcol.h.

Definition at line 419 of file mc_driver_pcol.h.

Definition at line 420 of file mc_driver_pcol.h.

Definition at line 422 of file mc_driver_pcol.h.

Definition at line 425 of file mc_driver_pcol.h.

Definition at line 426 of file mc_driver_pcol.h.

Definition at line 427 of file mc_driver_pcol.h.

Definition at line 429 of file mc_driver_pcol.h.

Definition at line 431 of file mc_driver_pcol.h.

Definition at line 433 of file mc_driver_pcol.h.

Definition at line 435 of file mc_driver_pcol.h.

Definition at line 437 of file mc_driver_pcol.h.

Definition at line 439 of file mc_driver_pcol.h.

Definition at line 441 of file mc_driver_pcol.h.

Definition at line 443 of file mc_driver_pcol.h.

Definition at line 445 of file mc_driver_pcol.h.

Definition at line 446 of file mc_driver_pcol.h.

Definition at line 447 of file mc_driver_pcol.h.

Definition at line 449 of file mc_driver_pcol.h.

Definition at line 451 of file mc_driver_pcol.h.

Definition at line 452 of file mc_driver_pcol.h.

Definition at line 453 of file mc_driver_pcol.h.

Definition at line 454 of file mc_driver_pcol.h.

Definition at line 455 of file mc_driver_pcol.h.

#define MCDI_EVENT_RX_ERR_RXQ_LBN   0

Definition at line 456 of file mc_driver_pcol.h.

#define MCDI_EVENT_RX_ERR_RXQ_WIDTH   12

Definition at line 457 of file mc_driver_pcol.h.

#define MCDI_EVENT_RX_ERR_TYPE_LBN   12

Definition at line 458 of file mc_driver_pcol.h.

Definition at line 459 of file mc_driver_pcol.h.

#define MCDI_EVENT_RX_ERR_INFO_LBN   16

Definition at line 460 of file mc_driver_pcol.h.

Definition at line 461 of file mc_driver_pcol.h.

Definition at line 462 of file mc_driver_pcol.h.

Definition at line 463 of file mc_driver_pcol.h.

Definition at line 464 of file mc_driver_pcol.h.

Definition at line 465 of file mc_driver_pcol.h.

Definition at line 466 of file mc_driver_pcol.h.

Definition at line 467 of file mc_driver_pcol.h.

Definition at line 468 of file mc_driver_pcol.h.

Definition at line 469 of file mc_driver_pcol.h.

#define MCDI_EVENT_MUM_NO_LOAD   0x1

Definition at line 471 of file mc_driver_pcol.h.

#define MCDI_EVENT_MUM_ASSERT   0x2

Definition at line 473 of file mc_driver_pcol.h.

#define MCDI_EVENT_MUM_WATCHDOG   0x3

Definition at line 475 of file mc_driver_pcol.h.

Definition at line 476 of file mc_driver_pcol.h.

Definition at line 477 of file mc_driver_pcol.h.

#define MCDI_EVENT_DATA_LBN   0

Definition at line 478 of file mc_driver_pcol.h.

#define MCDI_EVENT_DATA_WIDTH   32

Definition at line 479 of file mc_driver_pcol.h.

#define MCDI_EVENT_SRC_LBN   36

Definition at line 480 of file mc_driver_pcol.h.

#define MCDI_EVENT_SRC_WIDTH   8

Definition at line 481 of file mc_driver_pcol.h.

#define MCDI_EVENT_EV_CODE_LBN   60

Definition at line 482 of file mc_driver_pcol.h.

#define MCDI_EVENT_EV_CODE_WIDTH   4

Definition at line 483 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_LBN   44

Definition at line 484 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_WIDTH   8

Definition at line 485 of file mc_driver_pcol.h.

#define MCDI_EVENT_SW_EVENT   0x0

Definition at line 487 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_BADSSERT   0x1

Definition at line 489 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PMNOTICE   0x2

Definition at line 491 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_CMDDONE   0x3

Definition at line 493 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_LINKCHANGE   0x4

Definition at line 495 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_SENSOREVT   0x5

Definition at line 497 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_SCHEDERR   0x6

Definition at line 499 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_REBOOT   0x7

Definition at line 501 of file mc_driver_pcol.h.

Definition at line 503 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_FWALERT   0x9

Definition at line 505 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_FLR   0xa

Definition at line 507 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_TX_ERR   0xb

Definition at line 509 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_TX_FLUSH   0xc

Definition at line 511 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PTP_RX   0xd

Definition at line 513 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PTP_FAULT   0xe

Definition at line 515 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PTP_PPS   0xf

Definition at line 517 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_RX_FLUSH   0x10

Definition at line 519 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_RX_ERR   0x11

Definition at line 521 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_AOE   0x12

Definition at line 523 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_VCAL_FAIL   0x13

Definition at line 525 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_HW_PPS   0x14

Definition at line 527 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_MC_REBOOT   0x15

Definition at line 531 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PAR_ERR   0x16

Definition at line 533 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_ECC_CORR_ERR   0x17

Definition at line 535 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_ECC_FATAL_ERR   0x18

Definition at line 537 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_MC_BIST   0x19

Definition at line 539 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PTP_TIME   0x1a

Definition at line 541 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_MUM   0x1b

Definition at line 543 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PROXY_REQUEST   0x1c

Definition at line 545 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_PROXY_RESPONSE   0x1d

Definition at line 549 of file mc_driver_pcol.h.

#define MCDI_EVENT_CODE_TESTGEN   0xfa

Definition at line 553 of file mc_driver_pcol.h.

Definition at line 554 of file mc_driver_pcol.h.

Definition at line 555 of file mc_driver_pcol.h.

Definition at line 556 of file mc_driver_pcol.h.

Definition at line 557 of file mc_driver_pcol.h.

Definition at line 558 of file mc_driver_pcol.h.

Definition at line 559 of file mc_driver_pcol.h.

Definition at line 560 of file mc_driver_pcol.h.

Definition at line 561 of file mc_driver_pcol.h.

Definition at line 562 of file mc_driver_pcol.h.

Definition at line 563 of file mc_driver_pcol.h.

Definition at line 564 of file mc_driver_pcol.h.

Definition at line 565 of file mc_driver_pcol.h.

Definition at line 566 of file mc_driver_pcol.h.

Definition at line 567 of file mc_driver_pcol.h.

Definition at line 568 of file mc_driver_pcol.h.

Definition at line 572 of file mc_driver_pcol.h.

Definition at line 573 of file mc_driver_pcol.h.

Definition at line 574 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_MAJOR_OFST   0

Definition at line 578 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_MAJOR_LBN   0

Definition at line 579 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_MAJOR_WIDTH   32

Definition at line 580 of file mc_driver_pcol.h.

Definition at line 584 of file mc_driver_pcol.h.

Definition at line 585 of file mc_driver_pcol.h.

Definition at line 586 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_MINOR_OFST   0

Definition at line 590 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_MINOR_LBN   0

Definition at line 591 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_MINOR_WIDTH   32

Definition at line 592 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_UUID_OFST   0

Definition at line 595 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_UUID_LBN   0

Definition at line 596 of file mc_driver_pcol.h.

#define MCDI_EVENT_PTP_UUID_WIDTH   32

Definition at line 597 of file mc_driver_pcol.h.

Definition at line 598 of file mc_driver_pcol.h.

Definition at line 599 of file mc_driver_pcol.h.

Definition at line 600 of file mc_driver_pcol.h.

Definition at line 601 of file mc_driver_pcol.h.

Definition at line 602 of file mc_driver_pcol.h.

Definition at line 603 of file mc_driver_pcol.h.

Definition at line 604 of file mc_driver_pcol.h.

Definition at line 605 of file mc_driver_pcol.h.

Definition at line 606 of file mc_driver_pcol.h.

Definition at line 607 of file mc_driver_pcol.h.

Definition at line 608 of file mc_driver_pcol.h.

Definition at line 609 of file mc_driver_pcol.h.

Definition at line 611 of file mc_driver_pcol.h.

Definition at line 612 of file mc_driver_pcol.h.

Definition at line 613 of file mc_driver_pcol.h.

Definition at line 615 of file mc_driver_pcol.h.

Definition at line 616 of file mc_driver_pcol.h.

Definition at line 620 of file mc_driver_pcol.h.

Definition at line 621 of file mc_driver_pcol.h.

Definition at line 625 of file mc_driver_pcol.h.

Definition at line 626 of file mc_driver_pcol.h.

Definition at line 630 of file mc_driver_pcol.h.

Definition at line 631 of file mc_driver_pcol.h.

Definition at line 632 of file mc_driver_pcol.h.

Definition at line 633 of file mc_driver_pcol.h.

Definition at line 634 of file mc_driver_pcol.h.

Definition at line 635 of file mc_driver_pcol.h.

Definition at line 636 of file mc_driver_pcol.h.

Definition at line 637 of file mc_driver_pcol.h.

Definition at line 642 of file mc_driver_pcol.h.

Definition at line 643 of file mc_driver_pcol.h.

#define EVB_PORT_ID_LEN   4

Definition at line 646 of file mc_driver_pcol.h.

#define EVB_PORT_ID_PORT_ID_OFST   0

Definition at line 647 of file mc_driver_pcol.h.

#define EVB_PORT_ID_NULL   0x0

Definition at line 649 of file mc_driver_pcol.h.

#define EVB_PORT_ID_ASSIGNED   0x1000000

Definition at line 651 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_insert(), hunt_rx_init(), and hunt_tx_init().

#define EVB_PORT_ID_MAC0   0x2000000

Definition at line 653 of file mc_driver_pcol.h.

#define EVB_PORT_ID_MAC1   0x2000001

Definition at line 655 of file mc_driver_pcol.h.

#define EVB_PORT_ID_MAC2   0x2000002

Definition at line 657 of file mc_driver_pcol.h.

#define EVB_PORT_ID_MAC3   0x2000003

Definition at line 659 of file mc_driver_pcol.h.

#define EVB_PORT_ID_PORT_ID_LBN   0

Definition at line 660 of file mc_driver_pcol.h.

#define EVB_PORT_ID_PORT_ID_WIDTH   32

Definition at line 661 of file mc_driver_pcol.h.

#define MC_CMD_DRV_ATTACH   0x1c

Definition at line 673 of file mc_driver_pcol.h.

Referenced by hunt_driver_attach().

#define MC_CMD_0x1c_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 676 of file mc_driver_pcol.h.

#define MC_CMD_DRV_ATTACH_IN_LEN   12

Definition at line 679 of file mc_driver_pcol.h.

Referenced by hunt_driver_attach().

Definition at line 681 of file mc_driver_pcol.h.

#define MC_CMD_DRV_ATTACH_LBN   0

Definition at line 682 of file mc_driver_pcol.h.

#define MC_CMD_DRV_ATTACH_WIDTH   1

Definition at line 683 of file mc_driver_pcol.h.

#define MC_CMD_DRV_PREBOOT_LBN   1

Definition at line 684 of file mc_driver_pcol.h.

Referenced by hunt_driver_attach().

#define MC_CMD_DRV_PREBOOT_WIDTH   1

Definition at line 685 of file mc_driver_pcol.h.

Definition at line 687 of file mc_driver_pcol.h.

Definition at line 689 of file mc_driver_pcol.h.

#define MC_CMD_FW_FULL_FEATURED   0x0

Definition at line 691 of file mc_driver_pcol.h.

#define MC_CMD_FW_LOW_LATENCY   0x1

Definition at line 693 of file mc_driver_pcol.h.

#define MC_CMD_FW_PACKED_STREAM   0x2

Definition at line 695 of file mc_driver_pcol.h.

#define MC_CMD_FW_HIGH_TX_RATE   0x3

Definition at line 699 of file mc_driver_pcol.h.

Definition at line 701 of file mc_driver_pcol.h.

#define MC_CMD_FW_RULES_ENGINE   0x5

Definition at line 705 of file mc_driver_pcol.h.

#define MC_CMD_FW_DONT_CARE   0xffffffff

Definition at line 707 of file mc_driver_pcol.h.

Referenced by hunt_driver_attach().

#define MC_CMD_DRV_ATTACH_OUT_LEN   4

Definition at line 710 of file mc_driver_pcol.h.

Referenced by hunt_driver_attach().

Definition at line 712 of file mc_driver_pcol.h.

Definition at line 715 of file mc_driver_pcol.h.

Referenced by hunt_driver_attach().

Definition at line 717 of file mc_driver_pcol.h.

Definition at line 719 of file mc_driver_pcol.h.

Definition at line 721 of file mc_driver_pcol.h.

Referenced by hunt_nic_is_primary().

Definition at line 725 of file mc_driver_pcol.h.

Definition at line 727 of file mc_driver_pcol.h.

Definition at line 731 of file mc_driver_pcol.h.

Referenced by hunt_probe(), and hunt_remove().

#define MC_CMD_ENTITY_RESET   0x20

Definition at line 740 of file mc_driver_pcol.h.

Referenced by hunt_reset().

Definition at line 744 of file mc_driver_pcol.h.

Referenced by hunt_reset().

Definition at line 748 of file mc_driver_pcol.h.

Definition at line 749 of file mc_driver_pcol.h.

Definition at line 750 of file mc_driver_pcol.h.

Definition at line 753 of file mc_driver_pcol.h.

#define MC_CMD_GET_PHY_CFG   0x24

Definition at line 761 of file mc_driver_pcol.h.

Referenced by hunt_get_phy_cfg().

#define MC_CMD_0x24_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 764 of file mc_driver_pcol.h.

#define MC_CMD_GET_PHY_CFG_IN_LEN   0

Definition at line 767 of file mc_driver_pcol.h.

#define MC_CMD_GET_PHY_CFG_OUT_LEN   72

Definition at line 770 of file mc_driver_pcol.h.

Referenced by hunt_get_phy_cfg().

Definition at line 772 of file mc_driver_pcol.h.

Definition at line 773 of file mc_driver_pcol.h.

Definition at line 774 of file mc_driver_pcol.h.

Definition at line 775 of file mc_driver_pcol.h.

Definition at line 776 of file mc_driver_pcol.h.

Definition at line 777 of file mc_driver_pcol.h.

Definition at line 778 of file mc_driver_pcol.h.

Definition at line 779 of file mc_driver_pcol.h.

Definition at line 780 of file mc_driver_pcol.h.

Definition at line 781 of file mc_driver_pcol.h.

Definition at line 782 of file mc_driver_pcol.h.

Definition at line 783 of file mc_driver_pcol.h.

Definition at line 784 of file mc_driver_pcol.h.

Definition at line 785 of file mc_driver_pcol.h.

Definition at line 786 of file mc_driver_pcol.h.

Definition at line 788 of file mc_driver_pcol.h.

Definition at line 790 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_10HDX_LBN   1

Definition at line 791 of file mc_driver_pcol.h.

Definition at line 792 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_10FDX_LBN   2

Definition at line 793 of file mc_driver_pcol.h.

Definition at line 794 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_100HDX_LBN   3

Definition at line 795 of file mc_driver_pcol.h.

Definition at line 796 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_100FDX_LBN   4

Definition at line 797 of file mc_driver_pcol.h.

Definition at line 798 of file mc_driver_pcol.h.

Definition at line 799 of file mc_driver_pcol.h.

Definition at line 800 of file mc_driver_pcol.h.

Definition at line 801 of file mc_driver_pcol.h.

Definition at line 802 of file mc_driver_pcol.h.

Definition at line 803 of file mc_driver_pcol.h.

Definition at line 804 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_PAUSE_LBN   8

Definition at line 805 of file mc_driver_pcol.h.

Definition at line 806 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_ASYM_LBN   9

Definition at line 807 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_ASYM_WIDTH   1

Definition at line 808 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_AN_LBN   10

Definition at line 809 of file mc_driver_pcol.h.

Referenced by hunt_set_mac().

#define MC_CMD_PHY_CAP_AN_WIDTH   1

Definition at line 810 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_40000FDX_LBN   11

Definition at line 811 of file mc_driver_pcol.h.

Definition at line 812 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_DDM_LBN   12

Definition at line 813 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_DDM_WIDTH   1

Definition at line 814 of file mc_driver_pcol.h.

Definition at line 815 of file mc_driver_pcol.h.

Definition at line 816 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_25000FDX_LBN   14

Definition at line 817 of file mc_driver_pcol.h.

Definition at line 818 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_50000FDX_LBN   15

Definition at line 819 of file mc_driver_pcol.h.

Definition at line 820 of file mc_driver_pcol.h.

Definition at line 821 of file mc_driver_pcol.h.

Definition at line 822 of file mc_driver_pcol.h.

Definition at line 823 of file mc_driver_pcol.h.

Definition at line 824 of file mc_driver_pcol.h.

#define MC_CMD_PHY_CAP_RS_FEC_LBN   17

Definition at line 825 of file mc_driver_pcol.h.

Definition at line 826 of file mc_driver_pcol.h.

Definition at line 827 of file mc_driver_pcol.h.

Definition at line 828 of file mc_driver_pcol.h.

Definition at line 830 of file mc_driver_pcol.h.

Definition at line 832 of file mc_driver_pcol.h.

Definition at line 834 of file mc_driver_pcol.h.

Definition at line 836 of file mc_driver_pcol.h.

Definition at line 837 of file mc_driver_pcol.h.

Definition at line 839 of file mc_driver_pcol.h.

#define MC_CMD_MEDIA_XAUI   0x1

Definition at line 841 of file mc_driver_pcol.h.

#define MC_CMD_MEDIA_CX4   0x2

Definition at line 843 of file mc_driver_pcol.h.

#define MC_CMD_MEDIA_KX4   0x3

Definition at line 845 of file mc_driver_pcol.h.

#define MC_CMD_MEDIA_XFP   0x4

Definition at line 847 of file mc_driver_pcol.h.

#define MC_CMD_MEDIA_SFP_PLUS   0x5

Definition at line 849 of file mc_driver_pcol.h.

#define MC_CMD_MEDIA_BASE_T   0x6

Definition at line 851 of file mc_driver_pcol.h.

#define MC_CMD_MEDIA_QSFP_PLUS   0x7

Definition at line 853 of file mc_driver_pcol.h.

Definition at line 854 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE22   0x0

Definition at line 856 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_PMAPMD   0x1 /* enum */

Definition at line 857 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_WIS   0x2 /* enum */

Definition at line 858 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_PCS   0x3 /* enum */

Definition at line 859 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_PHYXS   0x4 /* enum */

Definition at line 860 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_DTEXS   0x5 /* enum */

Definition at line 861 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_TC   0x6 /* enum */

Definition at line 862 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_AN   0x7 /* enum */

Definition at line 863 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_C22EXT   0x1d

Definition at line 865 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_VEND1   0x1e /* enum */

Definition at line 866 of file mc_driver_pcol.h.

#define MC_CMD_MMD_CLAUSE45_VEND2   0x1f /* enum */

Definition at line 867 of file mc_driver_pcol.h.

Definition at line 868 of file mc_driver_pcol.h.

Definition at line 869 of file mc_driver_pcol.h.

#define MC_CMD_GET_LINK   0x29

Definition at line 877 of file mc_driver_pcol.h.

Referenced by hunt_check_link().

#define MC_CMD_0x29_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 880 of file mc_driver_pcol.h.

#define MC_CMD_GET_LINK_IN_LEN   0

Definition at line 883 of file mc_driver_pcol.h.

#define MC_CMD_GET_LINK_OUT_LEN   28

Definition at line 886 of file mc_driver_pcol.h.

Referenced by hunt_check_link().

Definition at line 888 of file mc_driver_pcol.h.

Definition at line 890 of file mc_driver_pcol.h.

Definition at line 894 of file mc_driver_pcol.h.

Definition at line 896 of file mc_driver_pcol.h.

Definition at line 899 of file mc_driver_pcol.h.

Definition at line 900 of file mc_driver_pcol.h.

Referenced by hunt_check_link().

Definition at line 901 of file mc_driver_pcol.h.

Definition at line 902 of file mc_driver_pcol.h.

Definition at line 903 of file mc_driver_pcol.h.

Definition at line 904 of file mc_driver_pcol.h.

Definition at line 905 of file mc_driver_pcol.h.

Definition at line 906 of file mc_driver_pcol.h.

Definition at line 907 of file mc_driver_pcol.h.

Definition at line 908 of file mc_driver_pcol.h.

Definition at line 909 of file mc_driver_pcol.h.

Definition at line 910 of file mc_driver_pcol.h.

Definition at line 911 of file mc_driver_pcol.h.

Definition at line 913 of file mc_driver_pcol.h.

Definition at line 916 of file mc_driver_pcol.h.

Definition at line 917 of file mc_driver_pcol.h.

Definition at line 918 of file mc_driver_pcol.h.

Definition at line 919 of file mc_driver_pcol.h.

Definition at line 920 of file mc_driver_pcol.h.

Definition at line 921 of file mc_driver_pcol.h.

Definition at line 922 of file mc_driver_pcol.h.

Definition at line 923 of file mc_driver_pcol.h.

Definition at line 924 of file mc_driver_pcol.h.

#define MC_CMD_SET_MAC   0x2c

Definition at line 931 of file mc_driver_pcol.h.

Referenced by hunt_set_mac().

#define MC_CMD_0x2c_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 934 of file mc_driver_pcol.h.

#define MC_CMD_SET_MAC_IN_LEN   28

Definition at line 937 of file mc_driver_pcol.h.

Referenced by hunt_set_mac().

Definition at line 941 of file mc_driver_pcol.h.

Definition at line 942 of file mc_driver_pcol.h.

Definition at line 943 of file mc_driver_pcol.h.

Definition at line 944 of file mc_driver_pcol.h.

Definition at line 945 of file mc_driver_pcol.h.

Definition at line 946 of file mc_driver_pcol.h.

Definition at line 947 of file mc_driver_pcol.h.

Definition at line 948 of file mc_driver_pcol.h.

Definition at line 949 of file mc_driver_pcol.h.

Definition at line 950 of file mc_driver_pcol.h.

Definition at line 951 of file mc_driver_pcol.h.

Definition at line 952 of file mc_driver_pcol.h.

#define MC_CMD_FCNTL_OFF   0x0

Definition at line 954 of file mc_driver_pcol.h.

#define MC_CMD_FCNTL_RESPOND   0x1

Definition at line 956 of file mc_driver_pcol.h.

#define MC_CMD_FCNTL_BIDIR   0x2

Definition at line 958 of file mc_driver_pcol.h.

Referenced by hunt_set_mac().

#define MC_CMD_FCNTL_AUTO   0x3

Definition at line 960 of file mc_driver_pcol.h.

Referenced by hunt_set_mac().

#define MC_CMD_FCNTL_QBB   0x4

Definition at line 962 of file mc_driver_pcol.h.

#define MC_CMD_FCNTL_GENERATE   0x5

Definition at line 964 of file mc_driver_pcol.h.

Definition at line 965 of file mc_driver_pcol.h.

Definition at line 966 of file mc_driver_pcol.h.

Definition at line 967 of file mc_driver_pcol.h.

#define MC_CMD_SET_MAC_EXT_IN_LEN   32

Definition at line 970 of file mc_driver_pcol.h.

Definition at line 974 of file mc_driver_pcol.h.

Definition at line 975 of file mc_driver_pcol.h.

Definition at line 976 of file mc_driver_pcol.h.

Definition at line 977 of file mc_driver_pcol.h.

Definition at line 978 of file mc_driver_pcol.h.

Definition at line 979 of file mc_driver_pcol.h.

Definition at line 980 of file mc_driver_pcol.h.

Definition at line 981 of file mc_driver_pcol.h.

Definition at line 982 of file mc_driver_pcol.h.

Definition at line 983 of file mc_driver_pcol.h.

Definition at line 984 of file mc_driver_pcol.h.

Definition at line 985 of file mc_driver_pcol.h.

Definition at line 998 of file mc_driver_pcol.h.

Definition at line 999 of file mc_driver_pcol.h.

Definition at line 1000 of file mc_driver_pcol.h.

Definition at line 1006 of file mc_driver_pcol.h.

Definition at line 1007 of file mc_driver_pcol.h.

Definition at line 1008 of file mc_driver_pcol.h.

Definition at line 1009 of file mc_driver_pcol.h.

Definition at line 1010 of file mc_driver_pcol.h.

Definition at line 1011 of file mc_driver_pcol.h.

Definition at line 1012 of file mc_driver_pcol.h.

Definition at line 1013 of file mc_driver_pcol.h.

Definition at line 1014 of file mc_driver_pcol.h.

Definition at line 1015 of file mc_driver_pcol.h.

Definition at line 1016 of file mc_driver_pcol.h.

#define MC_CMD_SET_MAC_OUT_LEN   0

Definition at line 1019 of file mc_driver_pcol.h.

#define MC_CMD_SET_MAC_V2_OUT_LEN   4

Definition at line 1022 of file mc_driver_pcol.h.

Definition at line 1027 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT   0x3d

Definition at line 1048 of file mc_driver_pcol.h.

#define MC_CMD_0x3d_PRIVILEGE_CTG   SRIOV_CTG_ADMIN

Definition at line 1051 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_IN_LEN   4

Definition at line 1054 of file mc_driver_pcol.h.

Definition at line 1055 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION   0x1 /* enum */

Definition at line 1056 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_OUT_LEN   0

Definition at line 1059 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_MODE   0x3f

Definition at line 1067 of file mc_driver_pcol.h.

#define MC_CMD_0x3f_PRIVILEGE_CTG   SRIOV_CTG_ADMIN

Definition at line 1070 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_MODE_IN_LEN   4

Definition at line 1073 of file mc_driver_pcol.h.

Definition at line 1074 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_MODE_NORMAL   0x0

Definition at line 1076 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_MODE_POR   0x2

Definition at line 1078 of file mc_driver_pcol.h.

#define MC_CMD_REBOOT_MODE_SNAPPER   0x3

Definition at line 1080 of file mc_driver_pcol.h.

Definition at line 1082 of file mc_driver_pcol.h.

Definition at line 1083 of file mc_driver_pcol.h.

Definition at line 1084 of file mc_driver_pcol.h.

Definition at line 1087 of file mc_driver_pcol.h.

Definition at line 1088 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND   0x4a

Definition at line 1099 of file mc_driver_pcol.h.

Referenced by hunt_enable_workaround_35388().

#define MC_CMD_0x4a_PRIVILEGE_CTG   SRIOV_CTG_ADMIN

Definition at line 1102 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_IN_LEN   8

Definition at line 1105 of file mc_driver_pcol.h.

Referenced by hunt_enable_workaround_35388().

Definition at line 1107 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_BUG17230   0x1

Definition at line 1109 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_BUG35388   0x2

Definition at line 1111 of file mc_driver_pcol.h.

Referenced by hunt_enable_workaround_35388().

#define MC_CMD_WORKAROUND_BUG35017   0x3

Definition at line 1113 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_BUG41750   0x4

Definition at line 1115 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_BUG42008   0x5

Definition at line 1121 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_BUG26807   0x6

Definition at line 1129 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_BUG61265   0x7

Definition at line 1131 of file mc_driver_pcol.h.

Definition at line 1135 of file mc_driver_pcol.h.

#define MC_CMD_WORKAROUND_OUT_LEN   0

Definition at line 1138 of file mc_driver_pcol.h.

Definition at line 1143 of file mc_driver_pcol.h.

Definition at line 1144 of file mc_driver_pcol.h.

Definition at line 1145 of file mc_driver_pcol.h.

Definition at line 1146 of file mc_driver_pcol.h.

#define MC_CMD_GET_MAC_ADDRESSES   0x55

Definition at line 1153 of file mc_driver_pcol.h.

Referenced by hunt_get_mac(), and hunt_mac_addr().

#define MC_CMD_0x55_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1156 of file mc_driver_pcol.h.

Definition at line 1159 of file mc_driver_pcol.h.

Definition at line 1162 of file mc_driver_pcol.h.

Referenced by hunt_get_mac(), and hunt_mac_addr().

Definition at line 1164 of file mc_driver_pcol.h.

Definition at line 1165 of file mc_driver_pcol.h.

Definition at line 1167 of file mc_driver_pcol.h.

Definition at line 1168 of file mc_driver_pcol.h.

Definition at line 1170 of file mc_driver_pcol.h.

Definition at line 1172 of file mc_driver_pcol.h.

#define MC_CMD_GET_WORKAROUNDS   0x59

Definition at line 1180 of file mc_driver_pcol.h.

Referenced by hunt_get_workarounds().

#define MC_CMD_0x59_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1183 of file mc_driver_pcol.h.

Definition at line 1186 of file mc_driver_pcol.h.

Referenced by hunt_get_workarounds().

Definition at line 1189 of file mc_driver_pcol.h.

Definition at line 1190 of file mc_driver_pcol.h.

Definition at line 1192 of file mc_driver_pcol.h.

Definition at line 1194 of file mc_driver_pcol.h.

Referenced by hunt_workaround_35388().

Definition at line 1196 of file mc_driver_pcol.h.

Definition at line 1198 of file mc_driver_pcol.h.

Definition at line 1204 of file mc_driver_pcol.h.

Definition at line 1206 of file mc_driver_pcol.h.

Definition at line 1208 of file mc_driver_pcol.h.

#define MC_CMD_V2_EXTN   0x7f

Definition at line 1215 of file mc_driver_pcol.h.

Referenced by hunt_mcdi_copyin().

#define MC_CMD_V2_EXTN_IN_LEN   4

Definition at line 1218 of file mc_driver_pcol.h.

Definition at line 1220 of file mc_driver_pcol.h.

Definition at line 1221 of file mc_driver_pcol.h.

Definition at line 1222 of file mc_driver_pcol.h.

Definition at line 1223 of file mc_driver_pcol.h.

Definition at line 1227 of file mc_driver_pcol.h.

Definition at line 1228 of file mc_driver_pcol.h.

Definition at line 1229 of file mc_driver_pcol.h.

Definition at line 1230 of file mc_driver_pcol.h.

Definition at line 1232 of file mc_driver_pcol.h.

Definition at line 1233 of file mc_driver_pcol.h.

Definition at line 1235 of file mc_driver_pcol.h.

Definition at line 1239 of file mc_driver_pcol.h.

#define MC_CMD_INIT_EVQ   0x80

Definition at line 1247 of file mc_driver_pcol.h.

Referenced by hunt_ev_init().

#define MC_CMD_0x80_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1250 of file mc_driver_pcol.h.

#define MC_CMD_INIT_EVQ_IN_LENMIN   44

Definition at line 1253 of file mc_driver_pcol.h.

#define MC_CMD_INIT_EVQ_IN_LENMAX   548

Definition at line 1254 of file mc_driver_pcol.h.

#define MC_CMD_INIT_EVQ_IN_LEN (   num)    (36+8*(num))

Definition at line 1255 of file mc_driver_pcol.h.

Referenced by hunt_ev_init().

Definition at line 1257 of file mc_driver_pcol.h.

Definition at line 1261 of file mc_driver_pcol.h.

Definition at line 1264 of file mc_driver_pcol.h.

Definition at line 1266 of file mc_driver_pcol.h.

Definition at line 1268 of file mc_driver_pcol.h.

Definition at line 1269 of file mc_driver_pcol.h.

Definition at line 1270 of file mc_driver_pcol.h.

Definition at line 1271 of file mc_driver_pcol.h.

Definition at line 1272 of file mc_driver_pcol.h.

Definition at line 1273 of file mc_driver_pcol.h.

Definition at line 1274 of file mc_driver_pcol.h.

Definition at line 1275 of file mc_driver_pcol.h.

Definition at line 1276 of file mc_driver_pcol.h.

Definition at line 1277 of file mc_driver_pcol.h.

Definition at line 1278 of file mc_driver_pcol.h.

Definition at line 1279 of file mc_driver_pcol.h.

Definition at line 1280 of file mc_driver_pcol.h.

Definition at line 1281 of file mc_driver_pcol.h.

Definition at line 1282 of file mc_driver_pcol.h.

Definition at line 1283 of file mc_driver_pcol.h.

Definition at line 1285 of file mc_driver_pcol.h.

Referenced by hunt_ev_init().

Definition at line 1287 of file mc_driver_pcol.h.

Definition at line 1289 of file mc_driver_pcol.h.

Definition at line 1291 of file mc_driver_pcol.h.

Definition at line 1293 of file mc_driver_pcol.h.

Definition at line 1298 of file mc_driver_pcol.h.

Definition at line 1300 of file mc_driver_pcol.h.

Definition at line 1302 of file mc_driver_pcol.h.

Referenced by hunt_ev_init().

Definition at line 1304 of file mc_driver_pcol.h.

Definition at line 1306 of file mc_driver_pcol.h.

Definition at line 1308 of file mc_driver_pcol.h.

Definition at line 1310 of file mc_driver_pcol.h.

Definition at line 1312 of file mc_driver_pcol.h.

Definition at line 1313 of file mc_driver_pcol.h.

Definition at line 1314 of file mc_driver_pcol.h.

Definition at line 1315 of file mc_driver_pcol.h.

Definition at line 1316 of file mc_driver_pcol.h.

Definition at line 1317 of file mc_driver_pcol.h.

#define MC_CMD_INIT_EVQ_OUT_LEN   4

Definition at line 1320 of file mc_driver_pcol.h.

Referenced by hunt_ev_init(), and hunt_get_mac().

Definition at line 1322 of file mc_driver_pcol.h.

Definition at line 1325 of file mc_driver_pcol.h.

#define MC_CMD_INIT_EVQ_V2_IN_LENMAX   548

Definition at line 1326 of file mc_driver_pcol.h.

#define MC_CMD_INIT_EVQ_V2_IN_LEN (   num)    (36+8*(num))

Definition at line 1327 of file mc_driver_pcol.h.

Definition at line 1329 of file mc_driver_pcol.h.

Definition at line 1333 of file mc_driver_pcol.h.

Definition at line 1336 of file mc_driver_pcol.h.

Definition at line 1338 of file mc_driver_pcol.h.

Definition at line 1340 of file mc_driver_pcol.h.

Definition at line 1341 of file mc_driver_pcol.h.

Definition at line 1342 of file mc_driver_pcol.h.

Definition at line 1343 of file mc_driver_pcol.h.

Definition at line 1344 of file mc_driver_pcol.h.

Definition at line 1345 of file mc_driver_pcol.h.

Definition at line 1346 of file mc_driver_pcol.h.

Definition at line 1347 of file mc_driver_pcol.h.

Definition at line 1348 of file mc_driver_pcol.h.

Definition at line 1349 of file mc_driver_pcol.h.

Definition at line 1350 of file mc_driver_pcol.h.

Definition at line 1351 of file mc_driver_pcol.h.

Definition at line 1352 of file mc_driver_pcol.h.

Definition at line 1353 of file mc_driver_pcol.h.

Definition at line 1354 of file mc_driver_pcol.h.

Definition at line 1355 of file mc_driver_pcol.h.

Definition at line 1356 of file mc_driver_pcol.h.

Definition at line 1358 of file mc_driver_pcol.h.

Definition at line 1364 of file mc_driver_pcol.h.

Definition at line 1370 of file mc_driver_pcol.h.

Definition at line 1375 of file mc_driver_pcol.h.

Definition at line 1376 of file mc_driver_pcol.h.

Definition at line 1378 of file mc_driver_pcol.h.

Definition at line 1380 of file mc_driver_pcol.h.

Definition at line 1382 of file mc_driver_pcol.h.

Definition at line 1384 of file mc_driver_pcol.h.

Definition at line 1386 of file mc_driver_pcol.h.

Definition at line 1391 of file mc_driver_pcol.h.

Definition at line 1393 of file mc_driver_pcol.h.

Definition at line 1395 of file mc_driver_pcol.h.

Definition at line 1397 of file mc_driver_pcol.h.

Definition at line 1399 of file mc_driver_pcol.h.

Definition at line 1401 of file mc_driver_pcol.h.

Definition at line 1403 of file mc_driver_pcol.h.

Definition at line 1405 of file mc_driver_pcol.h.

Definition at line 1406 of file mc_driver_pcol.h.

Definition at line 1407 of file mc_driver_pcol.h.

Definition at line 1408 of file mc_driver_pcol.h.

Definition at line 1409 of file mc_driver_pcol.h.

Definition at line 1410 of file mc_driver_pcol.h.

Definition at line 1413 of file mc_driver_pcol.h.

Definition at line 1415 of file mc_driver_pcol.h.

Definition at line 1417 of file mc_driver_pcol.h.

Definition at line 1418 of file mc_driver_pcol.h.

Definition at line 1419 of file mc_driver_pcol.h.

Definition at line 1420 of file mc_driver_pcol.h.

Definition at line 1421 of file mc_driver_pcol.h.

Definition at line 1422 of file mc_driver_pcol.h.

Definition at line 1423 of file mc_driver_pcol.h.

Definition at line 1424 of file mc_driver_pcol.h.

Definition at line 1425 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_LEN   1

Definition at line 1428 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_MODE_LBN   0

Definition at line 1429 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_MODE_WIDTH   4

Definition at line 1430 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_NONE   0x0

Definition at line 1432 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_FCOE   0x1

Definition at line 1434 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_ISCSI_HDR   0x2

Definition at line 1436 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_ISCSI   0x3

Definition at line 1438 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_FCOIPOE   0x4

Definition at line 1440 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_MPA   0x5

Definition at line 1442 of file mc_driver_pcol.h.

#define QUEUE_CRC_MODE_SPARE_LBN   4

Definition at line 1443 of file mc_driver_pcol.h.

Definition at line 1444 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ   0x81

Definition at line 1453 of file mc_driver_pcol.h.

Referenced by hunt_rx_init().

#define MC_CMD_0x81_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1456 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_IN_LENMIN   36

Definition at line 1461 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_IN_LENMAX   252

Definition at line 1462 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_IN_LEN (   num)    (28+8*(num))

Definition at line 1463 of file mc_driver_pcol.h.

Referenced by hunt_rx_init().

Definition at line 1465 of file mc_driver_pcol.h.

Definition at line 1468 of file mc_driver_pcol.h.

Definition at line 1470 of file mc_driver_pcol.h.

Definition at line 1474 of file mc_driver_pcol.h.

Definition at line 1476 of file mc_driver_pcol.h.

Definition at line 1477 of file mc_driver_pcol.h.

Definition at line 1478 of file mc_driver_pcol.h.

Definition at line 1479 of file mc_driver_pcol.h.

Definition at line 1480 of file mc_driver_pcol.h.

Definition at line 1481 of file mc_driver_pcol.h.

Definition at line 1482 of file mc_driver_pcol.h.

Definition at line 1483 of file mc_driver_pcol.h.

Definition at line 1484 of file mc_driver_pcol.h.

Definition at line 1485 of file mc_driver_pcol.h.

Definition at line 1486 of file mc_driver_pcol.h.

Definition at line 1487 of file mc_driver_pcol.h.

Definition at line 1488 of file mc_driver_pcol.h.

Definition at line 1489 of file mc_driver_pcol.h.

Definition at line 1490 of file mc_driver_pcol.h.

Definition at line 1491 of file mc_driver_pcol.h.

Definition at line 1492 of file mc_driver_pcol.h.

Definition at line 1494 of file mc_driver_pcol.h.

Definition at line 1496 of file mc_driver_pcol.h.

Definition at line 1498 of file mc_driver_pcol.h.

Definition at line 1499 of file mc_driver_pcol.h.

Definition at line 1500 of file mc_driver_pcol.h.

Definition at line 1501 of file mc_driver_pcol.h.

Definition at line 1502 of file mc_driver_pcol.h.

Definition at line 1503 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_EXT_IN_LEN   544

Definition at line 1508 of file mc_driver_pcol.h.

Definition at line 1510 of file mc_driver_pcol.h.

Definition at line 1513 of file mc_driver_pcol.h.

Definition at line 1515 of file mc_driver_pcol.h.

Definition at line 1519 of file mc_driver_pcol.h.

Definition at line 1521 of file mc_driver_pcol.h.

Definition at line 1522 of file mc_driver_pcol.h.

Definition at line 1523 of file mc_driver_pcol.h.

Definition at line 1524 of file mc_driver_pcol.h.

Definition at line 1525 of file mc_driver_pcol.h.

Definition at line 1526 of file mc_driver_pcol.h.

Definition at line 1527 of file mc_driver_pcol.h.

Definition at line 1528 of file mc_driver_pcol.h.

Definition at line 1529 of file mc_driver_pcol.h.

Definition at line 1530 of file mc_driver_pcol.h.

Definition at line 1531 of file mc_driver_pcol.h.

Definition at line 1532 of file mc_driver_pcol.h.

Definition at line 1533 of file mc_driver_pcol.h.

Definition at line 1534 of file mc_driver_pcol.h.

Definition at line 1535 of file mc_driver_pcol.h.

Definition at line 1536 of file mc_driver_pcol.h.

Definition at line 1537 of file mc_driver_pcol.h.

Definition at line 1539 of file mc_driver_pcol.h.

Definition at line 1541 of file mc_driver_pcol.h.

Definition at line 1542 of file mc_driver_pcol.h.

Definition at line 1543 of file mc_driver_pcol.h.

Definition at line 1544 of file mc_driver_pcol.h.

Definition at line 1545 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_1M   0x0 /* enum */

Definition at line 1546 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_512K   0x1 /* enum */

Definition at line 1547 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_256K   0x2 /* enum */

Definition at line 1548 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_128K   0x3 /* enum */

Definition at line 1549 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_64K   0x4 /* enum */

Definition at line 1550 of file mc_driver_pcol.h.

Definition at line 1551 of file mc_driver_pcol.h.

Definition at line 1552 of file mc_driver_pcol.h.

Definition at line 1553 of file mc_driver_pcol.h.

Definition at line 1554 of file mc_driver_pcol.h.

Definition at line 1556 of file mc_driver_pcol.h.

Definition at line 1558 of file mc_driver_pcol.h.

Definition at line 1560 of file mc_driver_pcol.h.

Definition at line 1561 of file mc_driver_pcol.h.

Definition at line 1562 of file mc_driver_pcol.h.

Definition at line 1563 of file mc_driver_pcol.h.

Definition at line 1564 of file mc_driver_pcol.h.

Definition at line 1566 of file mc_driver_pcol.h.

#define MC_CMD_INIT_RXQ_OUT_LEN   0

Definition at line 1569 of file mc_driver_pcol.h.

Definition at line 1572 of file mc_driver_pcol.h.

#define MC_CMD_INIT_TXQ   0x82

Definition at line 1578 of file mc_driver_pcol.h.

Referenced by hunt_tx_init().

#define MC_CMD_0x82_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1581 of file mc_driver_pcol.h.

#define MC_CMD_INIT_TXQ_IN_LENMIN   36

Definition at line 1586 of file mc_driver_pcol.h.

#define MC_CMD_INIT_TXQ_IN_LENMAX   252

Definition at line 1587 of file mc_driver_pcol.h.

#define MC_CMD_INIT_TXQ_IN_LEN (   num)    (28+8*(num))

Definition at line 1588 of file mc_driver_pcol.h.

Referenced by hunt_tx_init().

Definition at line 1590 of file mc_driver_pcol.h.

Definition at line 1594 of file mc_driver_pcol.h.

Definition at line 1596 of file mc_driver_pcol.h.

Definition at line 1600 of file mc_driver_pcol.h.

Definition at line 1602 of file mc_driver_pcol.h.

Definition at line 1603 of file mc_driver_pcol.h.

Definition at line 1604 of file mc_driver_pcol.h.

Definition at line 1605 of file mc_driver_pcol.h.

Definition at line 1606 of file mc_driver_pcol.h.

Definition at line 1607 of file mc_driver_pcol.h.

Definition at line 1608 of file mc_driver_pcol.h.

Definition at line 1609 of file mc_driver_pcol.h.

Definition at line 1610 of file mc_driver_pcol.h.

Definition at line 1611 of file mc_driver_pcol.h.

Definition at line 1612 of file mc_driver_pcol.h.

Definition at line 1613 of file mc_driver_pcol.h.

Definition at line 1614 of file mc_driver_pcol.h.

Definition at line 1615 of file mc_driver_pcol.h.

Definition at line 1616 of file mc_driver_pcol.h.

Definition at line 1617 of file mc_driver_pcol.h.

Definition at line 1618 of file mc_driver_pcol.h.

Definition at line 1619 of file mc_driver_pcol.h.

Definition at line 1620 of file mc_driver_pcol.h.

Definition at line 1622 of file mc_driver_pcol.h.

Definition at line 1624 of file mc_driver_pcol.h.

Definition at line 1626 of file mc_driver_pcol.h.

Definition at line 1627 of file mc_driver_pcol.h.

Definition at line 1628 of file mc_driver_pcol.h.

Definition at line 1629 of file mc_driver_pcol.h.

Definition at line 1630 of file mc_driver_pcol.h.

Definition at line 1631 of file mc_driver_pcol.h.

#define MC_CMD_INIT_TXQ_EXT_IN_LEN   544

Definition at line 1636 of file mc_driver_pcol.h.

Definition at line 1638 of file mc_driver_pcol.h.

Definition at line 1642 of file mc_driver_pcol.h.

Definition at line 1644 of file mc_driver_pcol.h.

Definition at line 1648 of file mc_driver_pcol.h.

Definition at line 1650 of file mc_driver_pcol.h.

Definition at line 1651 of file mc_driver_pcol.h.

Definition at line 1652 of file mc_driver_pcol.h.

Definition at line 1653 of file mc_driver_pcol.h.

Definition at line 1654 of file mc_driver_pcol.h.

Definition at line 1655 of file mc_driver_pcol.h.

Definition at line 1656 of file mc_driver_pcol.h.

Definition at line 1657 of file mc_driver_pcol.h.

Definition at line 1658 of file mc_driver_pcol.h.

Definition at line 1659 of file mc_driver_pcol.h.

Definition at line 1660 of file mc_driver_pcol.h.

Definition at line 1661 of file mc_driver_pcol.h.

Definition at line 1662 of file mc_driver_pcol.h.

Definition at line 1663 of file mc_driver_pcol.h.

Definition at line 1664 of file mc_driver_pcol.h.

Definition at line 1665 of file mc_driver_pcol.h.

Definition at line 1666 of file mc_driver_pcol.h.

Definition at line 1667 of file mc_driver_pcol.h.

Definition at line 1668 of file mc_driver_pcol.h.

Definition at line 1669 of file mc_driver_pcol.h.

Definition at line 1670 of file mc_driver_pcol.h.

Definition at line 1671 of file mc_driver_pcol.h.

Definition at line 1672 of file mc_driver_pcol.h.

Definition at line 1674 of file mc_driver_pcol.h.

Definition at line 1676 of file mc_driver_pcol.h.

Definition at line 1678 of file mc_driver_pcol.h.

Definition at line 1679 of file mc_driver_pcol.h.

Definition at line 1680 of file mc_driver_pcol.h.

Definition at line 1681 of file mc_driver_pcol.h.

Definition at line 1682 of file mc_driver_pcol.h.

Definition at line 1683 of file mc_driver_pcol.h.

Definition at line 1685 of file mc_driver_pcol.h.

Definition at line 1686 of file mc_driver_pcol.h.

Definition at line 1687 of file mc_driver_pcol.h.

Definition at line 1688 of file mc_driver_pcol.h.

Definition at line 1689 of file mc_driver_pcol.h.

#define MC_CMD_INIT_TXQ_OUT_LEN   0

Definition at line 1692 of file mc_driver_pcol.h.

#define MC_CMD_FINI_EVQ   0x83

Definition at line 1702 of file mc_driver_pcol.h.

Referenced by hunt_ev_fini().

#define MC_CMD_0x83_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1705 of file mc_driver_pcol.h.

#define MC_CMD_FINI_EVQ_IN_LEN   4

Definition at line 1708 of file mc_driver_pcol.h.

Referenced by hunt_ev_fini().

Definition at line 1712 of file mc_driver_pcol.h.

#define MC_CMD_FINI_EVQ_OUT_LEN   0

Definition at line 1715 of file mc_driver_pcol.h.

#define MC_CMD_FINI_RXQ   0x84

Definition at line 1722 of file mc_driver_pcol.h.

Referenced by hunt_rx_fini().

#define MC_CMD_0x84_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1725 of file mc_driver_pcol.h.

#define MC_CMD_FINI_RXQ_IN_LEN   4

Definition at line 1728 of file mc_driver_pcol.h.

Referenced by hunt_rx_fini().

Definition at line 1730 of file mc_driver_pcol.h.

#define MC_CMD_FINI_RXQ_OUT_LEN   0

Definition at line 1733 of file mc_driver_pcol.h.

#define MC_CMD_FINI_TXQ   0x85

Definition at line 1740 of file mc_driver_pcol.h.

Referenced by hunt_tx_fini().

#define MC_CMD_0x85_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1743 of file mc_driver_pcol.h.

#define MC_CMD_FINI_TXQ_IN_LEN   4

Definition at line 1746 of file mc_driver_pcol.h.

Referenced by hunt_tx_fini().

Definition at line 1748 of file mc_driver_pcol.h.

#define MC_CMD_FINI_TXQ_OUT_LEN   0

Definition at line 1751 of file mc_driver_pcol.h.

#define MC_CMD_FILTER_OP   0x8a

Definition at line 1758 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_insert(), and hunt_rx_filter_remove().

#define MC_CMD_0x8a_PRIVILEGE_CTG   SRIOV_CTG_GENERAL

Definition at line 1761 of file mc_driver_pcol.h.

#define MC_CMD_FILTER_OP_IN_LEN   108

Definition at line 1764 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_insert(), and hunt_rx_filter_remove().

Definition at line 1766 of file mc_driver_pcol.h.

Definition at line 1768 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_insert().

Definition at line 1770 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_remove().

Definition at line 1772 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_insert().

Definition at line 1774 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_remove().

Definition at line 1778 of file mc_driver_pcol.h.

Definition at line 1780 of file mc_driver_pcol.h.

Definition at line 1781 of file mc_driver_pcol.h.

Definition at line 1782 of file mc_driver_pcol.h.

Definition at line 1783 of file mc_driver_pcol.h.

Definition at line 1786 of file mc_driver_pcol.h.

Definition at line 1788 of file mc_driver_pcol.h.

Definition at line 1789 of file mc_driver_pcol.h.

Definition at line 1790 of file mc_driver_pcol.h.

Definition at line 1791 of file mc_driver_pcol.h.

Definition at line 1792 of file mc_driver_pcol.h.

Definition at line 1793 of file mc_driver_pcol.h.

Definition at line 1794 of file mc_driver_pcol.h.

Definition at line 1795 of file mc_driver_pcol.h.

Definition at line 1796 of file mc_driver_pcol.h.

Definition at line 1797 of file mc_driver_pcol.h.

Definition at line 1798 of file mc_driver_pcol.h.

Definition at line 1799 of file mc_driver_pcol.h.

Definition at line 1800 of file mc_driver_pcol.h.

Definition at line 1801 of file mc_driver_pcol.h.

Definition at line 1802 of file mc_driver_pcol.h.

Definition at line 1803 of file mc_driver_pcol.h.

Definition at line 1804 of file mc_driver_pcol.h.

Definition at line 1805 of file mc_driver_pcol.h.

Definition at line 1806 of file mc_driver_pcol.h.

Definition at line 1807 of file mc_driver_pcol.h.

Definition at line 1808 of file mc_driver_pcol.h.

Definition at line 1809 of file mc_driver_pcol.h.

Definition at line 1810 of file mc_driver_pcol.h.

Definition at line 1811 of file mc_driver_pcol.h.

Definition at line 1812 of file mc_driver_pcol.h.

Definition at line 1813 of file mc_driver_pcol.h.

Definition at line 1814 of file mc_driver_pcol.h.

Definition at line 1815 of file mc_driver_pcol.h.

Definition at line 1816 of file mc_driver_pcol.h.

Definition at line 1818 of file mc_driver_pcol.h.

Definition at line 1820 of file mc_driver_pcol.h.

Definition at line 1822 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_insert().

Definition at line 1824 of file mc_driver_pcol.h.

Definition at line 1826 of file mc_driver_pcol.h.

Definition at line 1828 of file mc_driver_pcol.h.

Definition at line 1830 of file mc_driver_pcol.h.

Definition at line 1832 of file mc_driver_pcol.h.

Definition at line 1834 of file mc_driver_pcol.h.

Definition at line 1836 of file mc_driver_pcol.h.

Definition at line 1838 of file mc_driver_pcol.h.

Definition at line 1841 of file mc_driver_pcol.h.

Definition at line 1846 of file mc_driver_pcol.h.

Definition at line 1848 of file mc_driver_pcol.h.

Definition at line 1853 of file mc_driver_pcol.h.

#define MC_CMD_FILTER_OP_IN_TX_DEST_DEFAULT   0xffffffff

Definition at line 1855 of file mc_driver_pcol.h.

Referenced by hunt_rx_filter_insert().

Definition at line 1856 of file mc_driver_pcol.h.

Definition at line 1857 of file mc_driver_pcol.h.

Definition at line 1858 of file mc_driver_pcol.h.

Definition at line 1859 of file mc_driver_pcol.h.

Definition at line 1861 of file mc_driver_pcol.h.

Definition at line 1862 of file mc_driver_pcol.h.

Definition at line 1864 of file mc_driver_pcol.h.

Definition at line 1865 of file mc_driver_pcol.h.

Definition at line 1867 of file mc_driver_pcol.h.

Definition at line 1868 of file mc_driver_pcol.h.

Definition at line 1870 of file mc_driver_pcol.h.

Definition at line 1871 of file mc_driver_pcol.h.

Definition at line 1873 of file mc_driver_pcol.h.

Definition at line 1874 of file mc_driver_pcol.h.

Definition at line 1876 of file mc_driver_pcol.h.

Definition at line 1877 of file mc_driver_pcol.h.

Definition at line 1879 of file mc_driver_pcol.h.

Definition at line 1880 of file mc_driver_pcol.h.

Definition at line 1882 of file mc_driver_pcol.h.

Definition at line 1883 of file mc_driver_pcol.h.

Definition at line 1885 of file mc_driver_pcol.h.

Definition at line 1887 of file mc_driver_pcol.h.

Definition at line 1891 of file mc_driver_pcol.h.

Definition at line 1892 of file mc_driver_pcol.h.

Definition at line 1896 of file mc_driver_pcol.h.

Definition at line 1897 of file mc_driver_pcol.h.

#define MC_CMD_FILTER_OP_EXT_IN_LEN   172

Definition at line 1903 of file mc_driver_pcol.h.

Definition at line 1905 of file mc_driver_pcol.h.

Definition at line 1909 of file mc_driver_pcol.h.

Definition at line 1910 of file mc_driver_pcol.h.

Definition at line 1911 of file mc_driver_pcol.h.

Definition at line 1912 of file mc_driver_pcol.h.

Definition at line 1915 of file mc_driver_pcol.h.

Definition at line 1917 of file mc_driver_pcol.h.

Definition at line 1918 of file mc_driver_pcol.h.

Definition at line 1919 of file mc_driver_pcol.h.

Definition at line 1920 of file mc_driver_pcol.h.

Definition at line 1921 of file mc_driver_pcol.h.

Definition at line 1922 of file mc_driver_pcol.h.

Definition at line 1923 of file mc_driver_pcol.h.

Definition at line 1924 of file mc_driver_pcol.h.

Definition at line 1925 of file mc_driver_pcol.h.

Definition at line 1926 of file mc_driver_pcol.h.

Definition at line 1927 of file mc_driver_pcol.h.

Definition at line 1928 of file mc_driver_pcol.h.

Definition at line 1929 of file mc_driver_pcol.h.

Definition at line 1930 of file mc_driver_pcol.h.

Definition at line 1931 of file mc_driver_pcol.h.

Definition at line 1932 of file mc_driver_pcol.h.

Definition at line 1933 of file mc_driver_pcol.h.

Definition at line 1934 of file mc_driver_pcol.h.

Definition at line 1935 of file mc_driver_pcol.h.

Definition at line 1936 of file mc_driver_pcol.h.

Definition at line 1937 of file mc_driver_pcol.h.

Definition at line 1938 of file mc_driver_pcol.h.

Definition at line 1939 of file mc_driver_pcol.h.

Definition at line 1940 of file mc_driver_pcol.h.

Definition at line 1941 of file mc_driver_pcol.h.

Definition at line 1942 of file mc_driver_pcol.h.

Definition at line 1943 of file mc_driver_pcol.h.

Definition at line 1944 of file mc_driver_pcol.h.

Definition at line 1945 of file mc_driver_pcol.h.

Definition at line 1946 of file mc_driver_pcol.h.

Definition at line 1947 of file mc_driver_pcol.h.

Definition at line 1948 of file mc_driver_pcol.h.

Definition at line 1949 of file mc_driver_pcol.h.

Definition at line 1950 of file mc_driver_pcol.h.

Definition at line 1951 of file mc_driver_pcol.h.

Definition at line 1952 of file mc_driver_pcol.h.

Definition at line 1953 of file mc_driver_pcol.h.

Definition at line 1954 of file mc_driver_pcol.h.

Definition at line 1955 of file mc_driver_pcol.h.

Definition at line 1956 of file mc_driver_pcol.h.

Definition at line 1957 of file mc_driver_pcol.h.

Definition at line 1958 of file mc_driver_pcol.h.

Definition at line 1959 of file mc_driver_pcol.h.

Definition at line 1960 of file mc_driver_pcol.h.

Definition at line 1961 of file mc_driver_pcol.h.

Definition at line 1962 of file mc_driver_pcol.h.

Definition at line 1963 of file mc_driver_pcol.h.

Definition at line 1964 of file mc_driver_pcol.h.

Definition at line 1965 of file mc_driver_pcol.h.

Definition at line 1966 of file mc_driver_pcol.h.

Definition at line 1967 of file mc_driver_pcol.h.

Definition at line 1968 of file mc_driver_pcol.h.

Definition at line 1969 of file mc_driver_pcol.h.

Definition at line 1970 of file mc_driver_pcol.h.

Definition at line 1971 of file mc_driver_pcol.h.

Definition at line 1972 of file mc_driver_pcol.h.

Definition at line 1973 of file mc_driver_pcol.h.

Definition at line 1975 of file mc_driver_pcol.h.

Definition at line 1977 of file mc_driver_pcol.h.

Definition at line 1979 of file mc_driver_pcol.h.

Definition at line 1981 of file mc_driver_pcol.h.

Definition at line 1983 of file mc_driver_pcol.h.

Definition at line 1985 of file mc_driver_pcol.h.

Definition at line 1987 of file mc_driver_pcol.h.

Definition at line 1989 of file mc_driver_pcol.h.

Definition at line 1991 of file mc_driver_pcol.h.

Definition at line 1993 of file mc_driver_pcol.h.

Definition at line 1995 of file mc_driver_pcol.h.

Definition at line 1998 of file mc_driver_pcol.h.

Definition at line 2003 of file mc_driver_pcol.h.