Lines Matching full:enum

405 /* enum: Info. */
407 /* enum: Warning. */
409 /* enum: Error. */
411 /* enum: Fatal. */
425 /* enum: Link is down or link speed could not be determined */
427 /* enum: 100Mbs */
429 /* enum: 1Gbs */
431 /* enum: 10Gbs */
433 /* enum: 40Gbs */
435 /* enum: 25Gbs */
437 /* enum: 50Gbs */
439 /* enum: 100Gbs */
455 /* enum: SRAM Access. */
463 /* enum: Descriptor loader reported failure */
465 /* enum: Descriptor ring empty and no EOP seen for packet */
467 /* enum: Overlength packet */
469 /* enum: Malformed option descriptor */
471 /* enum: Option descriptor part way through a packet */
473 /* enum: DMA or PIO data access error */
483 /* enum: PLL lost lock */
485 /* enum: Filter overflow (PDMA) */
487 /* enum: FIFO overflow (FPGA) */
489 /* enum: Merge queue overflow */
493 /* enum: AOE failed to load - no valid image? */
495 /* enum: AOE FC reported an exception */
497 /* enum: AOE FC watchdogged */
499 /* enum: AOE FC failed to start */
501 /* enum: Generic AOE fault - likely to have been reported via other means too
505 /* enum: Results of reprogramming the CPLD (status in AOE_ERR_DATA) */
507 /* enum: AOE loaded successfully */
509 /* enum: AOE DMA operation completed (LSB of HOST_HANDLE in AOE_ERR_DATA) */
511 /* enum: AOE byteblaster connected/disconnected (Connection status in
515 /* enum: DDR ECC status update */
517 /* enum: PTP status update */
519 /* enum: FPGA header incorrect */
521 /* enum: FPGA Powered Off due to error in powering up FPGA */
523 /* enum: AOE FPGA load failed due to MC to MUM communication failure */
525 /* enum: Notify that invalid flash type detected */
527 /* enum: Notify that the attempt to run FPGA Controller firmware timedout */
529 /* enum: Failure to probe one or more FPGA boot flash chips */
531 /* enum: FPGA boot-flash contains an invalid image header */
533 /* enum: Failed to program clocks required by the FPGA */
535 /* enum: Notify that FPGA Controller is alive to serve MCDI requests */
541 /* enum: FC Assert happened, but the register information is not available */
543 /* enum: The register information for FC Assert is ready for readinng by driver
548 /* enum: Reading from NV failed */
550 /* enum: Invalid Magic Number if FPGA header */
552 /* enum: Invalid Silicon type detected in header */
554 /* enum: Unsupported VRatio */
556 /* enum: Unsupported DDR Type */
558 /* enum: DDR Voltage out of supported range */
560 /* enum: Unsupported DDR speed */
562 /* enum: Unsupported DDR size */
564 /* enum: Unsupported DDR rank */
568 /* enum: Primary boot flash */
570 /* enum: Secondary boot flash */
590 /* enum: MUM failed to load - no valid image? */
592 /* enum: MUM f/w reported an exception */
594 /* enum: MUM not kicking watchdog */
602 /* enum: Corrupted or bad SUC application. */
604 /* enum: SUC application reported an assert. */
606 /* enum: SUC application reported an exception. */
608 /* enum: SUC watchdog timer expired. */
622 /* enum: Event generated by host software */
624 /* enum: Bad assert. */
626 /* enum: PM Notice. */
628 /* enum: Command done. */
630 /* enum: Link change. */
632 /* enum: Sensor Event. */
634 /* enum: Schedule error. */
636 /* enum: Reboot. */
638 /* enum: Mac stats DMA. */
640 /* enum: Firmware alert. */
642 /* enum: Function level reset. */
644 /* enum: Transmit error */
646 /* enum: Tx flush has completed */
648 /* enum: PTP packet received timestamp */
650 /* enum: PTP NIC failure */
652 /* enum: PTP PPS event */
654 /* enum: Rx flush has completed */
656 /* enum: Receive error */
658 /* enum: AOE fault */
660 /* enum: Network port calibration failed (VCAL). */
662 /* enum: HW PPS event */
664 /* enum: The MC has rebooted (huntington and later, siena uses CODE_REBOOT and
668 /* enum: the MC has detected a parity error */
670 /* enum: the MC has detected a correctable error */
672 /* enum: the MC has detected an uncorrectable error */
674 /* enum: The MC has entered offline BIST mode */
676 /* enum: PTP tick event providing current NIC time */
678 /* enum: MUM fault */
680 /* enum: notify the designated PF of a new authorization request */
682 /* enum: notify a function that awaits an authorization that its request has
686 /* enum: MCDI command accepted. New commands can be issued but this command is
690 /* enum: The MC has detected a fault on the SUC */
692 /* enum: Artificial event generated by host and posted via MC for test
824 /* enum: Info. */
826 /* enum: Warning. */
828 /* enum: Error. */
830 /* enum: Fatal. */
836 #define FCDI_EVENT_LINK_DOWN 0x0 /* enum */
837 #define FCDI_EVENT_LINK_UP 0x1 /* enum */
846 /* enum: The FC was rebooted. */
848 /* enum: Bad assert. */
850 /* enum: DDR3 test result. */
852 /* enum: Link status. */
854 /* enum: A timed read is ready to be serviced. */
856 /* enum: One or more PPS IN events */
858 /* enum: Tick event from PTP clock */
860 /* enum: ECC error counters */
862 /* enum: Current status of PTP */
864 /* enum: Port id config to map MC-FC port idx */
866 /* enum: Boot result or error code */
870 #define FCDI_EVENT_REBOOT_FC_FW 0x0 /* enum */
871 #define FCDI_EVENT_REBOOT_FC_BOOTLOADER 0x1 /* enum */
890 #define FCDI_EVENT_PTP_UNDEFINED 0x0 /* enum */
891 #define FCDI_EVENT_PTP_SETUP_FAILED 0x1 /* enum */
892 #define FCDI_EVENT_PTP_OPERATIONAL 0x2 /* enum */
911 /* Enum values, see field(s): */
956 /* enum: Info. */
958 /* enum: Warning. */
960 /* enum: Error. */
962 /* enum: Fatal. */
968 /* Enum values, see field(s): */
994 /* enum: The MUM was rebooted. */
996 /* enum: Bad assert. */
998 /* enum: Sensor failure. */
1000 /* enum: Link fault has been asserted, or has cleared. */
1020 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_UNKNOWN 0x0 /* enum */
1021 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_OPTICAL 0x1 /* enum */
1022 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_COPPER_PASSIVE 0x2 /* enum */
1023 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_COPPER_PASSIVE_EQUALIZED 0x3 /* enum */
1024 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_COPPER_ACTIVE_LIMITING 0x4 /* enum */
1025 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_COPPER_ACTIVE_LINEAR 0x5 /* enum */
1026 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_BASE_T 0x6 /* enum */
1027 #define MUM_EVENT_PORT_PHY_STATE_QSFP_MODULE_TECH_LOOPBACK_PASSIVE 0x7 /* enum */
1032 #define MUM_EVENT_PORT_PHY_SRC_DATA_ID_FLAGS 0x0 /* enum */
1033 #define MUM_EVENT_PORT_PHY_SRC_DATA_ID_COPPER_LEN 0x1 /* enum */
1034 #define MUM_EVENT_PORT_PHY_SRC_DATA_ID_CAPS 0x2 /* enum */
1035 #define MUM_EVENT_PORT_PHY_SRC_DATA_ID_TECH 0x3 /* enum */
1036 #define MUM_EVENT_PORT_PHY_SRC_DATA_ID_MAX 0x4 /* enum */
1111 /* enum: Deprecated; equivalent to setting BOOT_MAGIC_PRESENT (see below) */
1113 /* enum: Deprecated; equivalent to setting BOOT_MAGIC_PRESENT and
1117 /* enum: Deprecated; equivalent to setting BOOT_MAGIC_PRESENT,
1142 /* enum: Control should return to the caller rather than jumping */
1183 /* enum: indicates that the MC wasn't flash booted */
1216 /* enum: No assertions have failed. */
1218 /* enum: A system-level assertion has failed. */
1220 /* enum: A thread-level assertion has failed. */
1222 /* enum: The system was reset by the watchdog. */
1224 /* enum: An illegal address trap stopped the system (huntington and later) */
1233 /* enum: A magic value hinting that the value in this register at the time of
1258 /* enum: UART. */
1260 /* enum: Event queue. */
1291 /* enum: Reserved version number to indicate "any" version. */
1293 /* enum: Bootrom version value for Siena. */
1295 /* enum: Bootrom version value for Huntington. */
1297 /* enum: Bootrom version value for Medford2. */
1304 /* Enum values, see field(s): */
1320 /* Enum values, see field(s): */
1349 /* enum: Enable PTP packet timestamping operation. */
1351 /* enum: Disable PTP packet timestamping operation. */
1353 /* enum: Send a PTP packet. This operation is used on Siena and Huntington.
1358 /* enum: Read the current NIC time. */
1360 /* enum: Get the current PTP status. Note that the clock frequency returned (in
1364 /* enum: Adjust the PTP NIC's time. */
1366 /* enum: Synchronize host and NIC time. */
1368 /* enum: Basic manufacturing tests. Siena PTP adapters only. */
1370 /* enum: Packet based manufacturing tests. Siena PTP adapters only. */
1372 /* enum: Reset some of the PTP related statistics */
1374 /* enum: Debug operations to MC. */
1376 /* enum: Read an FPGA register. Siena PTP adapters only. */
1378 /* enum: Write an FPGA register. Siena PTP adapters only. */
1380 /* enum: Apply an offset to the NIC clock */
1382 /* enum: Change the frequency correction applied to the NIC clock */
1384 /* enum: Set the MC packet filter VLAN tags for received PTP packets.
1388 /* enum: Set the MC packet filter UUID for received PTP packets. Deprecated for
1392 /* enum: Set the MC packet filter Domain for received PTP packets. Deprecated
1396 /* enum: Set the clock source. Required for snapper tests on Huntington and
1400 /* enum: Reset value of Timer Reg. Not implemented. */
1402 /* enum: Enable the forwarding of PPS events to the host */
1404 /* enum: Get the time format used by this NIC for PTP operations */
1406 /* enum: Get the clock attributes. NOTE- extended version of
1410 /* enum: Get corrections that should be applied to the various different
1414 /* enum: Subscribe to receive periodic time events indicating the current NIC
1418 /* enum: Unsubscribe to stop receiving time events */
1420 /* enum: PPS based manfacturing tests. Requires PPS output to be looped to PPS
1424 /* enum: Set the PTP sync status. Status is used by firmware to report to event
1428 /* enum: Above this for future use. */
1443 /* enum: PTP, version 1 */
1445 /* enum: PTP, version 1, with VLAN headers - deprecated */
1447 /* enum: PTP, version 2 */
1449 /* enum: PTP, version 2, with VLAN headers - deprecated */
1451 /* enum: PTP, version 2, with improved UUID filtering */
1453 /* enum: FCoE (seconds and microseconds) */
1512 /* enum: Number of fractional bits in frequency adjustment */
1514 /* enum: Number of fractional bits in frequency adjustment when FP44_FREQ_ADJ
1543 /* enum: Number of fractional bits in frequency adjustment */
1545 /* enum: Number of fractional bits in frequency adjustment when FP44_FREQ_ADJ
1695 /* Enum values, see field(s): */
1749 /* enum: Internal. */
1751 /* enum: External. */
1768 /* enum: Enable */
1770 /* enum: Disable */
1820 /* enum: Unsubscribe a single queue */
1822 /* enum: Unsubscribe all queues */
1847 /* enum: Host System clock and NIC clock are not in sync */
1849 /* enum: Host System clock and NIC clock are synchronized */
2005 /* enum: Successful test */
2007 /* enum: FPGA load failed */
2009 /* enum: FPGA version invalid */
2011 /* enum: FPGA registers incorrect */
2013 /* enum: Oscillator possibly not working? */
2015 /* enum: Timestamps not increasing */
2017 /* enum: Mismatched packet count */
2019 /* enum: Mismatched packet count (Siena filter and FPGA) */
2021 /* enum: Not enough packets to perform timestamp check */
2023 /* enum: Timestamp trigger GPIO not working */
2025 /* enum: Insufficient PPS events to perform checks */
2027 /* enum: PPS time event period not sufficiently close to 1s. */
2029 /* enum: PPS time event nS reading not sufficiently close to zero. */
2031 /* enum: PTP peripheral registers incorrect */
2033 /* enum: Failed to read time from PTP peripheral */
2065 * be assumed. Note this enum is deprecated. Do not add to it- use the
2070 /* enum: Times are in seconds and nanoseconds */
2072 /* enum: Major register has units of 16 second per tick, minor 8 ns per tick */
2074 /* enum: Major register has units of seconds, minor 2^-27s per tick */
2086 /* enum: Times are in seconds and nanoseconds */
2088 /* enum: Major register has units of 16 second per tick, minor 8 ns per tick */
2090 /* enum: Major register has units of seconds, minor 2^-27s per tick */
2092 /* enum: Major register units are seconds, minor units are quarter nanoseconds
2163 /* Enum values, see field(s): */
2246 /* enum: OCSD (Option Card Sensor Data) sub-command. */
2248 /* enum: Last known valid HP sub-command. */
2266 /* enum: OCSD stopped for this card. */
2268 /* enum: OCSD was successfully started with the address provided. */
2270 /* enum: OCSD was already started for this card. */
2311 /* enum: Internal. */
2313 /* enum: External. */
2321 /* enum: By default all the MCDI MDIO operations perform clause45 mode. If you
2339 /* enum: Good. */
2358 /* enum: Internal. */
2360 /* enum: External. */
2368 /* enum: By default all the MCDI MDIO operations perform clause45 mode. If you
2386 /* enum: Good. */
2741 /* enum: Prefer to use full featured firmware */
2743 /* enum: Prefer to use firmware with fewer features but lower latency */
2745 /* enum: Prefer to use firmware for SolarCapture packed stream mode */
2747 /* enum: Prefer to use firmware with fewer features and simpler TX event
2751 /* enum: Reserved value */
2753 /* enum: Prefer to use firmware with additional "rules engine" filtering
2757 /* enum: Prefer to use firmware with additional DPDK support */
2759 /* enum: Prefer to use "l3xudp" custom datapath firmware (see SF-119495-PD and
2763 /* enum: Requests that the MC keep whatever datapath firmware is currently
2769 /* enum: Only this option is allowed for non-admin functions */
2786 /* enum: Labels the lowest-numbered function visible to the OS */
2788 /* enum: The function can control the link state of the physical port it is
2792 /* enum: The function can perform privileged operations */
2794 /* enum: The function does not have an active port associated with it. The port
2798 /* enum: If set, indicates that VI spreading is currently enabled. Will always
3074 /* enum: Xaui. */
3076 /* enum: CX4. */
3078 /* enum: KX4. */
3080 /* enum: XFP Far. */
3082 /* enum: SFP+. */
3084 /* enum: 10GBaseT. */
3086 /* enum: QSFP+. */
3090 /* enum: Native clause 22 */
3092 #define MC_CMD_MMD_CLAUSE45_PMAPMD 0x1 /* enum */
3093 #define MC_CMD_MMD_CLAUSE45_WIS 0x2 /* enum */
3094 #define MC_CMD_MMD_CLAUSE45_PCS 0x3 /* enum */
3095 #define MC_CMD_MMD_CLAUSE45_PHYXS 0x4 /* enum */
3096 #define MC_CMD_MMD_CLAUSE45_DTEXS 0x5 /* enum */
3097 #define MC_CMD_MMD_CLAUSE45_TC 0x6 /* enum */
3098 #define MC_CMD_MMD_CLAUSE45_AN 0x7 /* enum */
3099 /* enum: Clause22 proxied over clause45 by PHY. */
3101 #define MC_CMD_MMD_CLAUSE45_VEND1 0x1e /* enum */
3102 #define MC_CMD_MMD_CLAUSE45_VEND2 0x1f /* enum */
3121 /* enum: Run the PHY's short cable BIST. */
3123 /* enum: Run the PHY's long cable BIST. */
3125 /* enum: Run BIST on the currently selected BPX Serdes (XAUI or XFI) . */
3127 /* enum: Run the MC loopback tests. */
3129 /* enum: Run the PHY's standard BIST. */
3131 /* enum: Run MC RAM test. */
3133 /* enum: Run Port RAM test. */
3135 /* enum: Run register test. */
3163 /* enum: Running. */
3165 /* enum: Passed. */
3167 /* enum: Failed. */
3169 /* enum: Timed-out. */
3179 /* Enum values, see field(s): */
3192 /* enum: Ok. */
3194 /* enum: Open. */
3196 /* enum: Intra-pair short. */
3198 /* enum: Inter-pair short. */
3200 /* enum: Busy. */
3205 /* Enum values, see field(s): */
3210 /* Enum values, see field(s): */
3215 /* Enum values, see field(s): */
3223 /* Enum values, see field(s): */
3227 /* enum: Complete. */
3229 /* enum: Bus switch off I2C write. */
3231 /* enum: Bus switch off I2C no access IO exp. */
3233 /* enum: Bus switch off I2C no access module. */
3235 /* enum: IO exp I2C configure. */
3237 /* enum: Bus switch I2C no cross talk. */
3239 /* enum: Module presence. */
3241 /* enum: Module ID I2C access. */
3243 /* enum: Module ID sane value. */
3251 /* Enum values, see field(s): */
3255 /* enum: Test has completed. */
3257 /* enum: RAM test - walk ones. */
3259 /* enum: RAM test - walk zeros. */
3261 /* enum: RAM test - walking inversions zeros/ones. */
3263 /* enum: RAM test - walking inversions checkerboard. */
3265 /* enum: Register test - set / clear individual bits. */
3267 /* enum: ECC error detected. */
3275 /* enum: MC MIPS bus. */
3277 /* enum: CSR IREG bus. */
3279 /* enum: RX0 DPCPU bus. */
3281 /* enum: TX0 DPCPU bus. */
3283 /* enum: TX1 DPCPU bus. */
3285 /* enum: RX0 DICPU bus. */
3287 /* enum: TX DICPU bus. */
3289 /* enum: RX1 DPCPU bus. */
3291 /* enum: RX1 DICPU bus. */
3351 /* enum: None. */
3353 /* enum: Data. */
3355 /* enum: GMAC. */
3357 /* enum: XGMII. */
3359 /* enum: XGXS. */
3361 /* enum: XAUI. */
3363 /* enum: GMII. */
3365 /* enum: SGMII. */
3367 /* enum: XGBR. */
3369 /* enum: XFI. */
3371 /* enum: XAUI Far. */
3373 /* enum: GMII Far. */
3375 /* enum: SGMII Far. */
3377 /* enum: XFI Far. */
3379 /* enum: GPhy. */
3381 /* enum: PhyXS. */
3383 /* enum: PCS. */
3385 /* enum: PMA-PMD. */
3387 /* enum: Cross-Port. */
3389 /* enum: XGMII-Wireside. */
3391 /* enum: XAUI Wireside. */
3393 /* enum: XAUI Wireside Far. */
3395 /* enum: XAUI Wireside near. */
3397 /* enum: GMII Wireside. */
3399 /* enum: XFI Wireside. */
3401 /* enum: XFI Wireside Far. */
3403 /* enum: PhyXS Wireside. */
3405 /* enum: PMA lanes MAC-Serdes. */
3407 /* enum: KR Serdes Parallel (Encoder). */
3409 /* enum: KR Serdes Serial. */
3411 /* enum: PMA lanes MAC-Serdes Wireside. */
3413 /* enum: KR Serdes Parallel Wireside (Full PCS). */
3415 /* enum: KR Serdes Parallel Wireside (Sym Aligner to TX). */
3417 /* enum: KR Serdes Parallel Wireside (Deserializer to Serializer). */
3419 /* enum: KR Serdes Serial Wireside. */
3421 /* enum: Near side of AOE Siena side port */
3423 /* enum: Medford Wireside datapath loopback */
3425 /* enum: Force link up without setting up any physical loopback (snapper use
3434 /* Enum values, see field(s): */
3441 /* Enum values, see field(s): */
3448 /* Enum values, see field(s): */
3455 /* Enum values, see field(s): */
3467 /* enum: None. */
3469 /* enum: Data. */
3471 /* enum: GMAC. */
3473 /* enum: XGMII. */
3475 /* enum: XGXS. */
3477 /* enum: XAUI. */
3479 /* enum: GMII. */
3481 /* enum: SGMII. */
3483 /* enum: XGBR. */
3485 /* enum: XFI. */
3487 /* enum: XAUI Far. */
3489 /* enum: GMII Far. */
3491 /* enum: SGMII Far. */
3493 /* enum: XFI Far. */
3495 /* enum: GPhy. */
3497 /* enum: PhyXS. */
3499 /* enum: PCS. */
3501 /* enum: PMA-PMD. */
3503 /* enum: Cross-Port. */
3505 /* enum: XGMII-Wireside. */
3507 /* enum: XAUI Wireside. */
3509 /* enum: XAUI Wireside Far. */
3511 /* enum: XAUI Wireside near. */
3513 /* enum: GMII Wireside. */
3515 /* enum: XFI Wireside. */
3517 /* enum: XFI Wireside Far. */
3519 /* enum: PhyXS Wireside. */
3521 /* enum: PMA lanes MAC-Serdes. */
3523 /* enum: KR Serdes Parallel (Encoder). */
3525 /* enum: KR Serdes Serial. */
3527 /* enum: PMA lanes MAC-Serdes Wireside. */
3529 /* enum: KR Serdes Parallel Wireside (Full PCS). */
3531 /* enum: KR Serdes Parallel Wireside (Sym Aligner to TX). */
3533 /* enum: KR Serdes Parallel Wireside (Deserializer to Serializer). */
3535 /* enum: KR Serdes Serial Wireside. */
3537 /* enum: Near side of AOE Siena side port */
3539 /* enum: Medford Wireside datapath loopback */
3541 /* enum: Force link up without setting up any physical loopback (snapper use
3550 /* Enum values, see field(s): */
3557 /* Enum values, see field(s): */
3564 /* Enum values, see field(s): */
3571 /* Enum values, see field(s): */
3578 /* Enum values, see field(s): */
3585 /* Enum values, see field(s): */
3592 /* Enum values, see field(s): */
3599 /* enum: None, AN disabled or not supported */
3601 /* enum: Clause 28 - BASE-T */
3603 /* enum: Clause 37 - BASE-X */
3605 /* enum: Clause 73 - BASE-R startup protocol for backplane and copper cable
3617 /* enum: No FEC */
3619 /* enum: Clause 74 BASE-R FEC (a.k.a Firecode) */
3621 /* enum: Clause 91/Clause 108 Reed-Solomon FEC */
3659 /* Enum values, see field(s): */
3678 /* Enum values, see field(s): */
3711 /* Enum values, see field(s): */
3730 /* Enum values, see field(s): */
3754 /* Enum values, see field(s): */
3759 /* Enum values, see field(s): */
3811 /* Enum values, see field(s): */
3836 #define MC_CMD_LED_OFF 0x0 /* enum */
3837 #define MC_CMD_LED_ON 0x1 /* enum */
3838 #define MC_CMD_LED_DEFAULT 0x2 /* enum */
3873 /* enum: Flow control is off. */
3875 /* enum: Respond to flow control. */
3877 /* enum: Respond to and Issue flow control. */
3879 /* enum: Auto neg flow control. */
3881 /* enum: Priority flow control (eftest builds only). */
3883 /* enum: Issue flow control. */
3911 /* enum: Flow control is off. */
3913 /* enum: Respond to flow control. */
3915 /* enum: Respond to and Issue flow control. */
3917 /* enum: Auto neg flow control. */
3919 /* enum: Priority flow control (eftest builds only). */
3921 /* enum: Issue flow control. */
3987 /* enum: OUI. */
3989 /* enum: PMA-PMD Link Up. */
3991 /* enum: PMA-PMD RX Fault. */
3993 /* enum: PMA-PMD TX Fault. */
3995 /* enum: PMA-PMD Signal */
3997 /* enum: PMA-PMD SNR A. */
3999 /* enum: PMA-PMD SNR B. */
4001 /* enum: PMA-PMD SNR C. */
4003 /* enum: PMA-PMD SNR D. */
4005 /* enum: PCS Link Up. */
4007 /* enum: PCS RX Fault. */
4009 /* enum: PCS TX Fault. */
4011 /* enum: PCS BER. */
4013 /* enum: PCS Block Errors. */
4015 /* enum: PhyXS Link Up. */
4017 /* enum: PhyXS RX Fault. */
4019 /* enum: PhyXS TX Fault. */
4021 /* enum: PhyXS Align. */
4023 /* enum: PhyXS Sync. */
4025 /* enum: AN link-up. */
4027 /* enum: AN Complete. */
4029 /* enum: AN 10GBaseT Status. */
4031 /* enum: Clause 22 Link-Up. */
4033 /* enum: (Last entry) */
4096 #define MC_CMD_MAC_GENERATION_START 0x0 /* enum */
4097 #define MC_CMD_MAC_DMABUF_START 0x1 /* enum */
4098 #define MC_CMD_MAC_TX_PKTS 0x1 /* enum */
4099 #define MC_CMD_MAC_TX_PAUSE_PKTS 0x2 /* enum */
4100 #define MC_CMD_MAC_TX_CONTROL_PKTS 0x3 /* enum */
4101 #define MC_CMD_MAC_TX_UNICAST_PKTS 0x4 /* enum */
4102 #define MC_CMD_MAC_TX_MULTICAST_PKTS 0x5 /* enum */
4103 #define MC_CMD_MAC_TX_BROADCAST_PKTS 0x6 /* enum */
4104 #define MC_CMD_MAC_TX_BYTES 0x7 /* enum */
4105 #define MC_CMD_MAC_TX_BAD_BYTES 0x8 /* enum */
4106 #define MC_CMD_MAC_TX_LT64_PKTS 0x9 /* enum */
4107 #define MC_CMD_MAC_TX_64_PKTS 0xa /* enum */
4108 #define MC_CMD_MAC_TX_65_TO_127_PKTS 0xb /* enum */
4109 #define MC_CMD_MAC_TX_128_TO_255_PKTS 0xc /* enum */
4110 #define MC_CMD_MAC_TX_256_TO_511_PKTS 0xd /* enum */
4111 #define MC_CMD_MAC_TX_512_TO_1023_PKTS 0xe /* enum */
4112 #define MC_CMD_MAC_TX_1024_TO_15XX_PKTS 0xf /* enum */
4113 #define MC_CMD_MAC_TX_15XX_TO_JUMBO_PKTS 0x10 /* enum */
4114 #define MC_CMD_MAC_TX_GTJUMBO_PKTS 0x11 /* enum */
4115 #define MC_CMD_MAC_TX_BAD_FCS_PKTS 0x12 /* enum */
4116 #define MC_CMD_MAC_TX_SINGLE_COLLISION_PKTS 0x13 /* enum */
4117 #define MC_CMD_MAC_TX_MULTIPLE_COLLISION_PKTS 0x14 /* enum */
4118 #define MC_CMD_MAC_TX_EXCESSIVE_COLLISION_PKTS 0x15 /* enum */
4119 #define MC_CMD_MAC_TX_LATE_COLLISION_PKTS 0x16 /* enum */
4120 #define MC_CMD_MAC_TX_DEFERRED_PKTS 0x17 /* enum */
4121 #define MC_CMD_MAC_TX_EXCESSIVE_DEFERRED_PKTS 0x18 /* enum */
4122 #define MC_CMD_MAC_TX_NON_TCPUDP_PKTS 0x19 /* enum */
4123 #define MC_CMD_MAC_TX_MAC_SRC_ERR_PKTS 0x1a /* enum */
4124 #define MC_CMD_MAC_TX_IP_SRC_ERR_PKTS 0x1b /* enum */
4125 #define MC_CMD_MAC_RX_PKTS 0x1c /* enum */
4126 #define MC_CMD_MAC_RX_PAUSE_PKTS 0x1d /* enum */
4127 #define MC_CMD_MAC_RX_GOOD_PKTS 0x1e /* enum */
4128 #define MC_CMD_MAC_RX_CONTROL_PKTS 0x1f /* enum */
4129 #define MC_CMD_MAC_RX_UNICAST_PKTS 0x20 /* enum */
4130 #define MC_CMD_MAC_RX_MULTICAST_PKTS 0x21 /* enum */
4131 #define MC_CMD_MAC_RX_BROADCAST_PKTS 0x22 /* enum */
4132 #define MC_CMD_MAC_RX_BYTES 0x23 /* enum */
4133 #define MC_CMD_MAC_RX_BAD_BYTES 0x24 /* enum */
4134 #define MC_CMD_MAC_RX_64_PKTS 0x25 /* enum */
4135 #define MC_CMD_MAC_RX_65_TO_127_PKTS 0x26 /* enum */
4136 #define MC_CMD_MAC_RX_128_TO_255_PKTS 0x27 /* enum */
4137 #define MC_CMD_MAC_RX_256_TO_511_PKTS 0x28 /* enum */
4138 #define MC_CMD_MAC_RX_512_TO_1023_PKTS 0x29 /* enum */
4139 #define MC_CMD_MAC_RX_1024_TO_15XX_PKTS 0x2a /* enum */
4140 #define MC_CMD_MAC_RX_15XX_TO_JUMBO_PKTS 0x2b /* enum */
4141 #define MC_CMD_MAC_RX_GTJUMBO_PKTS 0x2c /* enum */
4142 #define MC_CMD_MAC_RX_UNDERSIZE_PKTS 0x2d /* enum */
4143 #define MC_CMD_MAC_RX_BAD_FCS_PKTS 0x2e /* enum */
4144 #define MC_CMD_MAC_RX_OVERFLOW_PKTS 0x2f /* enum */
4145 #define MC_CMD_MAC_RX_FALSE_CARRIER_PKTS 0x30 /* enum */
4146 #define MC_CMD_MAC_RX_SYMBOL_ERROR_PKTS 0x31 /* enum */
4147 #define MC_CMD_MAC_RX_ALIGN_ERROR_PKTS 0x32 /* enum */
4148 #define MC_CMD_MAC_RX_LENGTH_ERROR_PKTS 0x33 /* enum */
4149 #define MC_CMD_MAC_RX_INTERNAL_ERROR_PKTS 0x34 /* enum */
4150 #define MC_CMD_MAC_RX_JABBER_PKTS 0x35 /* enum */
4151 #define MC_CMD_MAC_RX_NODESC_DROPS 0x36 /* enum */
4152 #define MC_CMD_MAC_RX_LANES01_CHAR_ERR 0x37 /* enum */
4153 #define MC_CMD_MAC_RX_LANES23_CHAR_ERR 0x38 /* enum */
4154 #define MC_CMD_MAC_RX_LANES01_DISP_ERR 0x39 /* enum */
4155 #define MC_CMD_MAC_RX_LANES23_DISP_ERR 0x3a /* enum */
4156 #define MC_CMD_MAC_RX_MATCH_FAULT 0x3b /* enum */
4157 /* enum: PM trunc_bb_overflow counter. Valid for EF10 with PM_AND_RXDP_COUNTERS
4161 /* enum: PM discard_bb_overflow counter. Valid for EF10 with
4165 /* enum: PM trunc_vfifo_full counter. Valid for EF10 with PM_AND_RXDP_COUNTERS
4169 /* enum: PM discard_vfifo_full counter. Valid for EF10 with
4173 /* enum: PM trunc_qbb counter. Valid for EF10 with PM_AND_RXDP_COUNTERS
4177 /* enum: PM discard_qbb counter. Valid for EF10 with PM_AND_RXDP_COUNTERS
4181 /* enum: PM discard_mapping counter. Valid for EF10 with PM_AND_RXDP_COUNTERS
4185 /* enum: RXDP counter: Number of packets dropped due to the queue being
4189 /* enum: RXDP counter: Number of packets dropped by the DICPU. Valid for EF10
4193 /* enum: RXDP counter: Number of non-host packets. Valid for EF10 with
4197 /* enum: RXDP counter: Number of times an hlb descriptor fetch was performed.
4201 /* enum: RXDP counter: Number of times the DPCPU waited for an existing
4205 #define MC_CMD_MAC_VADAPTER_RX_DMABUF_START 0x4c /* enum */
4206 #define MC_CMD_MAC_VADAPTER_RX_UNICAST_PACKETS 0x4c /* enum */
4207 #define MC_CMD_MAC_VADAPTER_RX_UNICAST_BYTES 0x4d /* enum */
4208 #define MC_CMD_MAC_VADAPTER_RX_MULTICAST_PACKETS 0x4e /* enum */
4209 #define MC_CMD_MAC_VADAPTER_RX_MULTICAST_BYTES 0x4f /* enum */
4210 #define MC_CMD_MAC_VADAPTER_RX_BROADCAST_PACKETS 0x50 /* enum */
4211 #define MC_CMD_MAC_VADAPTER_RX_BROADCAST_BYTES 0x51 /* enum */
4212 #define MC_CMD_MAC_VADAPTER_RX_BAD_PACKETS 0x52 /* enum */
4213 #define MC_CMD_MAC_VADAPTER_RX_BAD_BYTES 0x53 /* enum */
4214 #define MC_CMD_MAC_VADAPTER_RX_OVERFLOW 0x54 /* enum */
4215 #define MC_CMD_MAC_VADAPTER_TX_DMABUF_START 0x57 /* enum */
4216 #define MC_CMD_MAC_VADAPTER_TX_UNICAST_PACKETS 0x57 /* enum */
4217 #define MC_CMD_MAC_VADAPTER_TX_UNICAST_BYTES 0x58 /* enum */
4218 #define MC_CMD_MAC_VADAPTER_TX_MULTICAST_PACKETS 0x59 /* enum */
4219 #define MC_CMD_MAC_VADAPTER_TX_MULTICAST_BYTES 0x5a /* enum */
4220 #define MC_CMD_MAC_VADAPTER_TX_BROADCAST_PACKETS 0x5b /* enum */
4221 #define MC_CMD_MAC_VADAPTER_TX_BROADCAST_BYTES 0x5c /* enum */
4222 #define MC_CMD_MAC_VADAPTER_TX_BAD_PACKETS 0x5d /* enum */
4223 #define MC_CMD_MAC_VADAPTER_TX_BAD_BYTES 0x5e /* enum */
4224 #define MC_CMD_MAC_VADAPTER_TX_OVERFLOW 0x5f /* enum */
4225 /* enum: Start of GMAC stats buffer space, for Siena only. */
4227 /* enum: End of GMAC stats buffer space, for Siena only. */
4229 /* enum: GENERATION_END value, used together with GENERATION_START to verify
4240 #define MC_CMD_MAC_NSTATS 0x61 /* enum */
4252 /* enum: Start of FEC stats buffer space, Medford2 and up */
4254 /* enum: Number of uncorrected FEC codewords on link (RS-FEC only for Medford2)
4257 /* enum: Number of corrected FEC codewords on link (RS-FEC only for Medford2)
4260 /* enum: Number of corrected 10-bit symbol errors, lane 0 (RS-FEC only) */
4262 /* enum: Number of corrected 10-bit symbol errors, lane 1 (RS-FEC only) */
4264 /* enum: Number of corrected 10-bit symbol errors, lane 2 (RS-FEC only) */
4266 /* enum: Number of corrected 10-bit symbol errors, lane 3 (RS-FEC only) */
4268 /* enum: This includes the space at offset 103 which is the final
4272 /* Other enum values, see field(s): */
4285 /* enum: Start of CTPIO stats buffer space, Medford2 and up */
4287 /* enum: Number of CTPIO fallbacks because a DMA packet was in progress on the
4291 /* enum: Number of times a CTPIO send wrote beyond frame end (informational
4295 /* enum: Number of CTPIO failures because the TX doorbell was written before
4299 /* enum: Number of CTPIO failures because the internal FIFO overflowed */
4301 /* enum: Number of CTPIO failures because the host did not deliver data fast
4305 /* enum: Number of CTPIO failures because the host did not deliver all the
4309 /* enum: Number of CTPIO failures because the frame data arrived out of order
4313 /* enum: Number of CTPIO failures because the host started a new frame before
4317 /* enum: Number of CTPIO failures because a write was not a multiple of 32 bits
4321 /* enum: Number of CTPIO fallbacks because another VI on the same port was
4325 /* enum: Number of CTPIO fallbacks because target VI did not have CTPIO enabled
4328 /* enum: Number of CTPIO fallbacks because length in header was less than 29
4332 /* enum: Total number of successful CTPIO sends on this port */
4334 /* enum: Total number of CTPIO fallbacks on this port */
4336 /* enum: Total number of CTPIO poisoned frames on this port, whether erased or
4340 /* enum: Total number of CTPIO erased frames on this port */
4342 /* enum: This includes the space at offset 120 which is the final
4346 /* Other enum values, see field(s): */
4359 /* enum: Start of V4 stats buffer space */
4361 /* enum: RXDP counter: Number of packets truncated because scattering was
4365 /* enum: RXDP counter: Number of times the RXDP head of line blocked waiting
4369 /* enum: RXDP counter: Number of times the RXDP timed out while head of line
4373 /* enum: This includes the space at offset 124 which is the final
4377 /* Other enum values, see field(s): */
4421 #define MC_CMD_MEMCPY_RECORD_TYPEDEF_RID_INLINE 0x100 /* enum */
4483 #define MC_CMD_FILTER_MODE_SIMPLE 0x0 /* enum */
4484 #define MC_CMD_FILTER_MODE_STRUCTURED 0xffffffff /* enum */
4488 /* enum: Magic */
4490 /* enum: MS Windows Magic */
4492 /* enum: IPv4 Syn */
4494 /* enum: IPv6 Syn */
4496 /* enum: Bitmap */
4498 /* enum: Link */
4500 /* enum: (Above this for future use) */
4613 #define MC_CMD_WOL_FILTER_RESET_IN_WAKE_FILTERS 0x1 /* enum */
4614 #define MC_CMD_WOL_FILTER_RESET_IN_LIGHTSOUT_OFFLOADS 0x2 /* enum */
4653 /* enum: Disabled callisto. */
4655 /* enum: MC firmware. */
4657 /* enum: MC backup firmware. */
4659 /* enum: Static configuration Port0. */
4661 /* enum: Static configuration Port1. */
4663 /* enum: Dynamic configuration Port0. */
4665 /* enum: Dynamic configuration Port1. */
4667 /* enum: Expansion Rom. */
4669 /* enum: Expansion Rom Configuration Port0. */
4671 /* enum: Expansion Rom Configuration Port1. */
4673 /* enum: Phy Configuration Port0. */
4675 /* enum: Phy Configuration Port1. */
4677 /* enum: Log. */
4679 /* enum: FPGA image. */
4681 /* enum: FPGA backup image */
4683 /* enum: FC firmware. */
4685 /* enum: FC backup firmware. */
4687 /* enum: CPLD image. */
4689 /* enum: Licensing information. */
4691 /* enum: FC Log. */
4693 /* enum: Additional flash on FPGA. */
4710 /* Enum values, see field(s): */
4717 /* Enum values, see field(s): */
4746 /* Enum values, see field(s): */
4794 /* Enum values, see field(s): */
4805 /* Enum values, see field(s): */
4830 /* Enum values, see field(s): */
4842 /* Enum values, see field(s): */
4859 /* enum: Same as omitting MODE: caller sees data in current partition unless it
4864 /* enum: Read from the current partition of an A/B pair, even if holding the
4868 /* enum: Read from the non-current (i.e. to be updated) partition of an A/B
4899 /* Enum values, see field(s): */
4928 /* Enum values, see field(s): */
4959 /* Enum values, see field(s): */
4972 /* Enum values, see field(s): */
5005 /* enum: Invalid return code; only non-zero values are defined. Defined as
5009 /* enum: Verify succeeded without any errors. */
5011 /* enum: CMS format verification failed due to an internal error. */
5013 /* enum: Invalid CMS format in image metadata. */
5015 /* enum: Message digest verification failed due to an internal error. */
5017 /* enum: Error in message digest calculated over the reflash-header, payload
5021 /* enum: Signature verification failed due to an internal error. */
5023 /* enum: There are no valid signatures in the image. */
5025 /* enum: Trusted approvers verification failed due to an internal error. */
5027 /* enum: The Trusted approver's list is empty. */
5029 /* enum: Signature chain verification failed due to an internal error. */
5031 /* enum: The signers of the signatures in the image are not listed in the
5035 /* enum: The image contains a test-signed certificate, but the adapter accepts
5039 /* enum: The image has a lower security level than the current firmware. */
5069 #define MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION 0x1 /* enum */
5111 /* enum: Normal. */
5113 /* enum: Power-on Reset. */
5115 /* enum: Snapper. */
5117 /* enum: snapper fake POR */
5183 /* enum: Controller temperature: degC */
5185 /* enum: Phy common temperature: degC */
5187 /* enum: Controller cooling: bool */
5189 /* enum: Phy 0 temperature: degC */
5191 /* enum: Phy 0 cooling: bool */
5193 /* enum: Phy 1 temperature: degC */
5195 /* enum: Phy 1 cooling: bool */
5197 /* enum: 1.0v power: mV */
5199 /* enum: 1.2v power: mV */
5201 /* enum: 1.8v power: mV */
5203 /* enum: 2.5v power: mV */
5205 /* enum: 3.3v power: mV */
5207 /* enum: 12v power: mV */
5209 /* enum: 1.2v analogue power: mV */
5211 /* enum: reference voltage: mV */
5213 /* enum: AOE FPGA power: mV */
5215 /* enum: AOE FPGA temperature: degC */
5217 /* enum: AOE FPGA PSU temperature: degC */
5219 /* enum: AOE PSU temperature: degC */
5221 /* enum: Fan 0 speed: RPM */
5223 /* enum: Fan 1 speed: RPM */
5225 /* enum: Fan 2 speed: RPM */
5227 /* enum: Fan 3 speed: RPM */
5229 /* enum: Fan 4 speed: RPM */
5231 /* enum: AOE FPGA input power: mV */
5233 /* enum: AOE FPGA current: mA */
5235 /* enum: AOE FPGA input current: mA */
5237 /* enum: NIC power consumption: W */
5239 /* enum: 0.9v power voltage: mV */
5241 /* enum: 0.9v power current: mA */
5243 /* enum: 1.2v power current: mA */
5245 /* enum: Not a sensor: reserved for the next page flag */
5247 /* enum: 0.9v power voltage (at ADC): mV */
5249 /* enum: Controller temperature 2: degC */
5251 /* enum: Voltage regulator internal temperature: degC */
5253 /* enum: 0.9V voltage regulator temperature: degC */
5255 /* enum: 1.2V voltage regulator temperature: degC */
5257 /* enum: controller internal temperature sensor voltage (internal ADC): mV */
5259 /* enum: controller internal temperature (internal ADC): degC */
5261 /* enum: controller internal temperature sensor voltage (external ADC): mV */
5263 /* enum: controller internal temperature (external ADC): degC */
5265 /* enum: ambient temperature: degC */
5267 /* enum: air flow: bool */
5269 /* enum: voltage between VSS08D and VSS08D at CSR: mV */
5271 /* enum: voltage between VSS08D and VSS08D at CSR (external ADC): mV */
5273 /* enum: Hotpoint temperature: degC */
5275 /* enum: Port 0 PHY power switch over-current: bool */
5277 /* enum: Port 1 PHY power switch over-current: bool */
5279 /* enum: Mop-up microcontroller reference voltage: mV */
5281 /* enum: 0.9v power phase A voltage: mV */
5283 /* enum: 0.9v power phase A current: mA */
5285 /* enum: 0.9V voltage regulator phase A temperature: degC */
5287 /* enum: 0.9v power phase B voltage: mV */
5289 /* enum: 0.9v power phase B current: mA */
5291 /* enum: 0.9V voltage regulator phase B temperature: degC */
5293 /* enum: CCOM AVREG 1v2 supply (interval ADC): mV */
5295 /* enum: CCOM AVREG 1v2 supply (external ADC): mV */
5297 /* enum: CCOM AVREG 1v8 supply (interval ADC): mV */
5299 /* enum: CCOM AVREG 1v8 supply (external ADC): mV */
5301 /* enum: CCOM RTS temperature: degC */
5303 /* enum: Not a sensor: reserved for the next page flag */
5305 /* enum: controller internal temperature sensor voltage on master core
5309 /* enum: controller internal temperature on master core (internal ADC): degC */
5311 /* enum: controller internal temperature sensor voltage on master core
5315 /* enum: controller internal temperature on master core (external ADC): degC */
5317 /* enum: controller internal temperature on slave core sensor voltage (internal
5321 /* enum: controller internal temperature on slave core (internal ADC): degC */
5323 /* enum: controller internal temperature on slave core sensor voltage (external
5327 /* enum: controller internal temperature on slave core (external ADC): degC */
5329 /* enum: Voltage supplied to the SODIMMs from their power supply: mV */
5331 /* enum: Temperature of SODIMM 0 (if installed): degC */
5333 /* enum: Temperature of SODIMM 1 (if installed): degC */
5335 /* enum: Voltage supplied to the QSFP #0 from their power supply: mV */
5337 /* enum: Voltage supplied to the QSFP #1 from their power supply: mV */
5339 /* enum: Controller die temperature (TDIODE): degC */
5341 /* enum: Board temperature (front): degC */
5343 /* enum: Board temperature (back): degC */
5345 /* enum: 1.8v power current: mA */
5347 /* enum: 2.5v power current: mA */
5349 /* enum: 3.3v power current: mA */
5351 /* enum: 12v power current: mA */
5353 /* enum: 1.3v power: mV */
5355 /* enum: 1.3v power current: mA */
5357 /* enum: Not a sensor: reserved for the next page flag */
5373 /* Enum values, see field(s): */
5459 /* enum: Ok. */
5461 /* enum: Breached warning threshold. */
5463 /* enum: Breached fatal threshold. */
5465 /* enum: Fault with sensor. */
5467 /* enum: Sensor is working but does not currently have a reading. */
5469 /* enum: Sensor initialisation failed. */
5475 /* Enum values, see field(s): */
5498 /* enum: Ok. */
5500 /* enum: Faulty. */
5551 #define MC_CMD_LIGHTSOUT_OFFLOAD_PROTOCOL_ARP 0x1 /* enum */
5552 #define MC_CMD_LIGHTSOUT_OFFLOAD_PROTOCOL_NS 0x2 /* enum */
5637 /* enum: Assert using the FAIL_ASSERTION_WITH_USEFUL_VALUES macro. Unless
5641 /* enum: Assert using assert(0); */
5643 /* enum: Deliberately trigger a watchdog */
5645 /* enum: Deliberately trigger a trap by loading from an invalid address */
5647 /* enum: Deliberately trigger a trap by storing to an invalid address */
5649 /* enum: Jump to an invalid address */
5673 /* enum: Bug 17230 work around. */
5675 /* enum: Bug 35388 work around (unsafe EVQ writes). */
5677 /* enum: Bug35017 workaround (A64 tables must be identity map) */
5679 /* enum: Bug 41750 present (MC_CMD_TRIGGER_INTERRUPT won't work) */
5681 /* enum: Bug 42008 present (Interrupts can overtake associated events). Caution
5687 /* enum: Bug 26807 features present in firmware (multicast filter chaining)
5695 /* enum: Bug 61265 work around (broken EVQ TMR writes). */
5760 /* Enum values, see field(s): */
5767 /* enum: Passed. */
5769 /* enum: Failed. */
5771 /* enum: Not supported. */
5811 /* enum: Out. */
5813 /* enum: In. */
5831 /* Enum values, see field(s): */
5987 /* enum: Return to factory default settings */
5989 /* enum: Set MAC address */
5991 /* enum: Get MAC address */
5993 /* enum: Set UEFI/GPXE boot mode */
5995 /* enum: Get UEFI/GPXE boot mode */
6077 /* enum: NULL MCDI command to MUM */
6079 /* enum: Get MUM version */
6081 /* enum: Issue raw I2C command to MUM */
6083 /* enum: Read from registers on devices connected to MUM. */
6085 /* enum: Write to registers on devices connected to MUM. */
6087 /* enum: Control UART logging. */
6089 /* enum: Operations on MUM GPIO lines */
6091 /* enum: Get sensor readings from MUM */
6093 /* enum: Initiate clock programming on the MUM */
6095 /* enum: Initiate FPGA load from flash on the MUM */
6097 /* enum: Request sensor reading from MUM ADC resulting from earlier request via
6101 /* enum: Send commands relating to the QSFP ports via the MUM for PHY
6105 /* enum: Request discrete and SODIMM DDR info (type, size, speed grade, voltage
6130 /* enum: Hittite HMC1035 clock generator on Sorrento board */
6132 /* enum: Hittite HMC1035 clock generator for NIC-side on Sorrento board */
6151 /* enum: Hittite HMC1035 clock generator on Sorrento board */
6191 #define MC_CMD_MUM_IN_LOG_OP_UART 0x1 /* enum */
6212 #define MC_CMD_MUM_IN_GPIO_IN_READ 0x0 /* enum */
6213 #define MC_CMD_MUM_IN_GPIO_OUT_WRITE 0x1 /* enum */
6214 #define MC_CMD_MUM_IN_GPIO_OUT_READ 0x2 /* enum */
6215 #define MC_CMD_MUM_IN_GPIO_OUT_ENABLE_WRITE 0x3 /* enum */
6216 #define MC_CMD_MUM_IN_GPIO_OUT_ENABLE_READ 0x4 /* enum */
6217 #define MC_CMD_MUM_IN_GPIO_OP 0x5 /* enum */
6274 #define MC_CMD_MUM_IN_GPIO_OP_OUT_READ 0x0 /* enum */
6275 #define MC_CMD_MUM_IN_GPIO_OP_OUT_WRITE 0x1 /* enum */
6276 #define MC_CMD_MUM_IN_GPIO_OP_OUT_CONFIG 0x2 /* enum */
6277 #define MC_CMD_MUM_IN_GPIO_OP_OUT_ENABLE 0x3 /* enum */
6335 #define MC_CMD_MUM_CLOCK_ID_FPGA 0x0 /* enum */
6336 #define MC_CMD_MUM_CLOCK_ID_DDR 0x1 /* enum */
6337 #define MC_CMD_MUM_CLOCK_ID_NIC 0x2 /* enum */
6372 #define MC_CMD_MUM_IN_QSFP_INIT 0x0 /* enum */
6373 #define MC_CMD_MUM_IN_QSFP_RECONFIGURE 0x1 /* enum */
6374 #define MC_CMD_MUM_IN_QSFP_GET_SUPPORTED_CAP 0x2 /* enum */
6375 #define MC_CMD_MUM_IN_QSFP_GET_MEDIA_INFO 0x3 /* enum */
6376 #define MC_CMD_MUM_IN_QSFP_FILL_STATS 0x4 /* enum */
6377 #define MC_CMD_MUM_IN_QSFP_POLL_BIST 0x5 /* enum */
6633 /* enum: SODIMM bank 1 (Top SODIMM for Sorrento) */
6635 /* enum: SODIMM bank 2 (Bottom SODDIMM for Sorrento) */
6637 /* enum: Total number of SODIMM banks */
6645 #define MC_CMD_MUM_OUT_READ_DDR_INFO_NOT_POWERED 0x0 /* enum */
6646 #define MC_CMD_MUM_OUT_READ_DDR_INFO_1V25 0x1 /* enum */
6647 #define MC_CMD_MUM_OUT_READ_DDR_INFO_1V35 0x2 /* enum */
6648 #define MC_CMD_MUM_OUT_READ_DDR_INFO_1V5 0x3 /* enum */
6649 /* enum: Values 5-15 are reserved for future usage */
6657 /* enum: No module present */
6659 /* enum: Module present supported and powered on */
6661 /* enum: Module present but bad type */
6663 /* enum: Module present but incompatible voltage */
6665 /* enum: Module present but unknown SPD */
6667 /* enum: Module present but slot cannot support it */
6669 /* enum: Modules may or may not be present, but cannot establish contact by I2C
6675 /* MC_CMD_RESOURCE_SPECIFIER enum */
6676 /* enum: Any */
6678 /* enum: None */
6685 /* enum: An invalid port handle. */
6687 /* enum: The port assigned to this function.. */
6689 /* enum: External network port 0 */
6691 /* enum: External network port 1 */
6693 /* enum: External network port 2 */
6695 /* enum: External network port 3 */
6707 /* enum: Insert the VLAN. */
6709 /* enum: Replace the VLAN if already present. */
6736 /* enum: Primary MC firmware partition */
6738 /* enum: Secondary MC firmware partition */
6740 /* enum: Expansion ROM partition */
6742 /* enum: Static configuration TLV partition */
6744 /* enum: Dynamic configuration TLV partition */
6746 /* enum: Expansion ROM configuration data for port 0 */
6748 /* enum: Synonym for EXPROM_CONFIG_PORT0 as used in pmap files */
6750 /* enum: Expansion ROM configuration data for port 1 */
6752 /* enum: Expansion ROM configuration data for port 2 */
6754 /* enum: Expansion ROM configuration data for port 3 */
6756 /* enum: Non-volatile log output partition */
6758 /* enum: Non-volatile log output of second core on dual-core device */
6760 /* enum: Device state dump output partition */
6762 /* enum: Application license key storage partition */
6764 /* enum: Start of range used for PHY partitions (low 8 bits are the PHY ID) */
6766 /* enum: End of range used for PHY partitions (low 8 bits are the PHY ID) */
6768 /* enum: Primary FPGA partition */
6770 /* enum: Secondary FPGA partition */
6772 /* enum: FC firmware partition */
6774 /* enum: FC License partition */
6776 /* enum: Non-volatile log output partition for FC */
6778 /* enum: MUM firmware partition */
6780 /* enum: SUC firmware partition (this is intentionally an alias of
6784 /* enum: MUM Non-volatile log output partition. */
6786 /* enum: MUM Application table partition. */
6788 /* enum: MUM boot rom partition. */
6790 /* enum: MUM production signatures & calibration rom partition. */
6792 /* enum: MUM user signatures & calibration rom partition. */
6794 /* enum: MUM fuses and lockbits partition. */
6796 /* enum: UEFI expansion ROM if separate from PXE */
6798 /* enum: Used by the expansion ROM for logging */
6800 /* enum: Used for XIP code of shmbooted images */
6802 /* enum: Spare partition 2 */
6804 /* enum: Manufacturing partition. Used during manufacture to pass information
6808 /* enum: Spare partition 4 */
6810 /* enum: Spare partition 5 */
6812 /* enum: Partition for reporting MC status. See mc_flash_layout.h
6816 /* enum: Spare partition 13 */
6818 /* enum: Spare partition 14 */
6820 /* enum: Spare partition 15 */
6822 /* enum: Spare partition 16 */
6824 /* enum: Factory defaults for dynamic configuration */
6826 /* enum: Factory defaults for expansion ROM configuration */
6828 /* enum: Field Replaceable Unit inventory information for use on IPMI
6833 /* enum: Start of reserved value range (firmware may use for any purpose) */
6835 /* enum: End of reserved value range (firmware may use for any purpose) */
6837 /* enum: Recovery partition map (provided if real map is missing or corrupt) */
6839 /* enum: Partition map (real map as stored in flash) */
6848 /* enum: OpenOnload */
6850 /* enum: PTP timestamping */
6852 /* enum: SolarCapture Pro */
6854 /* enum: SolarSecure filter engine */
6856 /* enum: Performance monitor */
6858 /* enum: SolarCapture Live */
6860 /* enum: Capture SolarSystem */
6862 /* enum: Network Access Control */
6864 /* enum: TCP Direct */
6866 /* enum: Low Latency */
6868 /* enum: SolarCapture Tap */
6870 /* enum: Capture SolarSystem 40G */
6872 /* enum: Capture SolarSystem 1G */
6874 /* enum: ScaleOut Onload */
6876 /* enum: SCS Network Analytics Dashboard */
6878 /* enum: SolarCapture Trading Analytics */
6996 /* enum: This is a TX completion event, not a timestamp */
6998 /* enum: This is a TX completion event for a CTPIO transmit. The event format
7002 /* enum: This is the low part of a TX timestamp for a CTPIO transmission. The
7006 /* enum: This is the high part of a TX timestamp for a CTPIO transmission. The
7010 /* enum: This is the low part of a TX timestamp event */
7012 /* enum: This is the high part of a TX timestamp event */
7067 #define MESSAGE_TYPE_UNUSED 0x0 /* enum */
7068 /* enum: Message type value for the response to a
7075 /* enum: Message type value for the response to a
7082 /* enum: Message type value for the response to a
7083 * MC_CMD_SECURE_NIC_INFO_IN_STATUS message. This enum value is not sequential
7086 * global enum.
7164 /* enum: Disabled */
7166 /* enum: Immediate */
7168 /* enum: Triggered */
7170 /* enum: Hold-off */
7184 /* enum: Disabled */
7186 /* enum: Disabled */
7188 /* enum: Disabled */
7190 /* enum: Disabled */
7247 /* enum: All initialisation flags specified by host. */
7249 /* enum: MEDFORD only. Certain initialisation flags specified by host may be
7255 /* enum: MEDFORD only. Certain initialisation flags specified by host may be
7261 /* enum: MEDFORD only. Certain initialisation flags may be over-ridden by
7268 /* enum: Disabled */
7270 /* enum: Immediate */
7272 /* enum: Triggered */
7274 /* enum: Hold-off */
7288 /* enum: Disabled */
7290 /* enum: Disabled */
7292 /* enum: Disabled */
7294 /* enum: Disabled */
7328 /* enum: No CRC. */
7330 /* enum: CRC Fiber channel over ethernet. */
7332 /* enum: CRC (digest) iSCSI header only. */
7334 /* enum: CRC (digest) iSCSI header and payload. */
7336 /* enum: CRC Fiber channel over IP over ethernet. */
7338 /* enum: CRC MPA. */
7450 /* enum: One packet per descriptor (for normal networking) */
7452 /* enum: Pack multiple packets into large descriptors (for SolarCapture) */
7454 /* enum: Pack multiple packets into large descriptors using the format designed
7461 /* enum: Deprecated name for EQUAL_STRIDE_SUPER_BUFFER. */
7467 #define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_1M 0x0 /* enum */
7468 #define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_512K 0x1 /* enum */
7469 #define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_256K 0x2 /* enum */
7470 #define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_128K 0x3 /* enum */
7471 #define MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_64K 0x4 /* enum */
7532 /* enum: One packet per descriptor (for normal networking) */
7534 /* enum: Pack multiple packets into large descriptors (for SolarCapture) */
7536 /* enum: Pack multiple packets into large descriptors using the format designed
7543 /* enum: Deprecated name for EQUAL_STRIDE_SUPER_BUFFER. */
7549 #define MC_CMD_INIT_RXQ_V3_IN_PS_BUFF_1M 0x0 /* enum */
7550 #define MC_CMD_INIT_RXQ_V3_IN_PS_BUFF_512K 0x1 /* enum */
7551 #define MC_CMD_INIT_RXQ_V3_IN_PS_BUFF_256K 0x2 /* enum */
7552 #define MC_CMD_INIT_RXQ_V3_IN_PS_BUFF_128K 0x3 /* enum */
7553 #define MC_CMD_INIT_RXQ_V3_IN_PS_BUFF_64K 0x4 /* enum */
7849 #define MC_CMD_PROXY_CMD_IN_VF_NULL 0xffff /* enum */
7861 /* enum: An invalid handle. */
8016 /* enum: The operation has been completed by using MC_CMD_PROXY_CMD, the reply
8020 /* enum: The operation has been authorized. The originating function may now
8024 /* enum: The operation has been declined. */
8026 /* enum: The authorization failed because the relevant application did not
8130 /* enum: single-recipient filter insert */
8132 /* enum: single-recipient filter remove */
8134 /* enum: multi-recipient filter subscribe */
8136 /* enum: multi-recipient filter unsubscribe */
8138 /* enum: replace one recipient with another (warning - the filter handle may
8185 /* enum: drop packets */
8187 /* enum: receive to host */
8189 /* enum: receive to MC */
8191 /* enum: loop back to TXDP 0 */
8193 /* enum: loop back to TXDP 1 */
8201 /* enum: receive to just the specified queue */
8203 /* enum: receive to multiple queues using RSS context */
8205 /* enum: receive to multiple queues using .1p mapping */
8207 /* enum: install a filter entry that will never match; for test purposes only
8225 /* enum: request default behaviour (based on filter type) */
8280 /* Enum values, see field(s): */
8353 /* enum: drop packets */
8355 /* enum: receive to host */
8357 /* enum: receive to MC */
8359 /* enum: loop back to TXDP 0 */
8361 /* enum: loop back to TXDP 1 */
8369 /* enum: receive to just the specified queue */
8371 /* enum: receive to multiple queues using RSS context */
8373 /* enum: receive to multiple queues using .1p mapping */
8375 /* enum: install a filter entry that will never match; for test purposes only
8393 /* enum: request default behaviour (based on filter type) */
8436 /* enum: Match VXLAN traffic with this VNI */
8438 /* enum: Match Geneve traffic with this VNI */
8440 /* enum: Reserved for experimental development use */
8446 /* enum: Match NVGRE traffic with this VSID */
8524 /* Enum values, see field(s): */
8597 /* enum: drop packets */
8599 /* enum: receive to host */
8601 /* enum: receive to MC */
8603 /* enum: loop back to TXDP 0 */
8605 /* enum: loop back to TXDP 1 */
8613 /* enum: receive to just the specified queue */
8615 /* enum: receive to multiple queues using RSS context */
8617 /* enum: receive to multiple queues using .1p mapping */
8619 /* enum: install a filter entry that will never match; for test purposes only
8637 /* enum: request default behaviour (based on filter type) */
8680 /* enum: Match VXLAN traffic with this VNI */
8682 /* enum: Match Geneve traffic with this VNI */
8684 /* enum: Reserved for experimental development use */
8690 /* enum: Match NVGRE traffic with this VSID */
8765 /* enum: do nothing extra */
8767 /* enum: Set the match flag in the packet prefix for packets matching the
8772 /* enum: Insert MATCH_MARK_VALUE into the packet prefix for packets matching
8789 /* Enum values, see field(s): */
8799 /* enum: guaranteed invalid filter handle (low 32 bits) */
8801 /* enum: guaranteed invalid filter handle (high 32 bits) */
8809 /* Enum values, see field(s): */
8819 /* Enum values, see field(s): */
8836 /* enum: read the list of supported RX filter matches */
8838 /* enum: read flags indicating restrictions on filter insertion for the calling
8842 /* enum: read properties relating to security rules (Medford-only; for use by
8846 /* enum: read the list of supported RX filter matches for VXLAN/NVGRE
8859 /* Enum values, see field(s): */
8877 /* Enum values, see field(s): */
8896 /* Enum values, see field(s): */
8903 /* enum: implements lookup sequences described in SF-114946-SW draft C */
8946 /* enum: RX dispatcher CPU */
8948 /* enum: TX dispatcher CPU */
8950 /* enum: Lookup engine (with original metadata format). Deprecated; used only
8956 /* enum: Lookup engine (with requested metadata format) */
8958 /* enum: RX0 dispatcher CPU (alias for RX_DICPU; Medford has 2 RX DICPUs) */
8960 /* enum: RX1 dispatcher CPU (only valid for Medford) */
8962 /* enum: Miscellaneous other state (only valid for Medford) */
8967 /* enum: Read a word of DICPU DMEM or a LUE entry */
8969 /* enum: Write a word of DICPU DMEM or a LUE entry. Not permitted on
8973 /* enum: Read-modify-write a word of DICPU DMEM (not valid for LUE). Not
8983 /* enum: Port to datapath mapping */
9018 #define MC_CMD_PARSER_DISP_RW_OUT_DP0 0x1 /* enum */
9019 #define MC_CMD_PARSER_DISP_RW_OUT_DP1 0x2 /* enum */
9482 /* enum: MISC. */
9484 /* enum: IDO. */
9486 /* enum: RO. */
9488 /* enum: TPH Type. */
9495 /* Enum values, see field(s): */
9548 /* Enum values, see field(s): */
9620 #define MC_CMD_SATELLITE_DOWNLOAD_IN_PHASE_IDLE 0x0 /* enum */
9621 #define MC_CMD_SATELLITE_DOWNLOAD_IN_PHASE_RESET 0x1 /* enum */
9622 #define MC_CMD_SATELLITE_DOWNLOAD_IN_PHASE_IMEMS 0x2 /* enum */
9623 #define MC_CMD_SATELLITE_DOWNLOAD_IN_PHASE_VECTORS 0x3 /* enum */
9624 #define MC_CMD_SATELLITE_DOWNLOAD_IN_PHASE_READY 0x4 /* enum */
9630 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9632 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9634 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9636 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9638 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9640 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9642 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9644 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9646 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9648 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9650 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9652 /* enum: Valid in phase 2 (PHASE_IMEMS) only */
9654 /* enum: Valid in phase 3 (PHASE_VECTORS) only */
9656 /* enum: Valid in phase 3 (PHASE_VECTORS) only */
9658 /* enum: Valid in phase 3 (PHASE_VECTORS) only */
9660 /* enum: Valid in phase 3 (PHASE_VECTORS) only */
9662 /* enum: Valid in phases 1 (PHASE_RESET) and 4 (PHASE_READY) only */
9667 /* enum: Last chunk, containing checksum rather than data */
9669 /* enum: Abort download of this item */
9688 /* enum: Code download OK, completed. */
9690 /* enum: Code download aborted as requested. */
9692 /* enum: Code download OK so far, send next chunk. */
9694 /* enum: Download phases out of sequence */
9696 /* enum: Bad target for this phase */
9698 /* enum: Chunk ID out of sequence */
9700 /* enum: Chunk length zero or too large */
9702 /* enum: Checksum was incorrect */
9786 /* enum: Standard RXDP firmware */
9788 /* enum: Low latency RXDP firmware */
9790 /* enum: Packed stream RXDP firmware */
9792 /* enum: Rules engine RXDP firmware */
9794 /* enum: DPDK RXDP firmware */
9796 /* enum: BIST RXDP firmware */
9798 /* enum: RXDP Test firmware image 1 */
9800 /* enum: RXDP Test firmware image 2 */
9802 /* enum: RXDP Test firmware image 3 */
9804 /* enum: RXDP Test firmware image 4 */
9806 /* enum: RXDP Test firmware image 5 */
9808 /* enum: RXDP Test firmware image 6 */
9810 /* enum: RXDP Test firmware image 7 */
9812 /* enum: RXDP Test firmware image 8 */
9814 /* enum: RXDP Test firmware image 9 */
9816 /* enum: RXDP Test firmware image 10 */
9821 /* enum: Standard TXDP firmware */
9823 /* enum: Low latency TXDP firmware */
9825 /* enum: High packet rate TXDP firmware */
9827 /* enum: Rules engine TXDP firmware */
9829 /* enum: DPDK TXDP firmware */
9831 /* enum: BIST TXDP firmware */
9833 /* enum: TXDP Test firmware image 1 */
9835 /* enum: TXDP Test firmware image 2 */
9837 /* enum: TXDP CSR bus test firmware */
9845 /* enum: reserved value - do not use (may indicate alternative interpretation
9849 /* enum: Trivial RX PD firmware for early Huntington development (Huntington
9853 /* enum: RX PD firmware with approximately Siena-compatible behaviour
9857 /* enum: Full featured RX PD production firmware */
9859 /* enum: (deprecated original name for the FULL_FEATURED variant) */
9861 /* enum: siena_compat variant RX PD firmware using PM rather than MAC
9865 /* enum: Low latency RX PD production firmware */
9867 /* enum: Packed stream RX PD production firmware */
9869 /* enum: RX PD firmware handling layer 2 only for high packet rate performance
9873 /* enum: Rules engine RX PD production firmware */
9875 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
9877 /* enum: DPDK RX PD production firmware */
9879 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
9881 /* enum: RX PD firmware parsing but not filtering network overlay tunnel
9891 /* enum: reserved value - do not use (may indicate alternative interpretation
9895 /* enum: Trivial TX PD firmware for early Huntington development (Huntington
9899 /* enum: TX PD firmware with approximately Siena-compatible behaviour
9903 /* enum: Full featured TX PD production firmware */
9905 /* enum: (deprecated original name for the FULL_FEATURED variant) */
9907 /* enum: siena_compat variant TX PD firmware using PM rather than MAC
9911 #define MC_CMD_GET_CAPABILITIES_OUT_TXPD_FW_TYPE_LOW_LATENCY 0x5 /* enum */
9912 /* enum: TX PD firmware handling layer 2 only for high packet rate performance
9916 /* enum: Rules engine TX PD production firmware */
9918 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
9920 /* enum: DPDK TX PD production firmware */
9922 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
10000 /* enum: Standard RXDP firmware */
10002 /* enum: Low latency RXDP firmware */
10004 /* enum: Packed stream RXDP firmware */
10006 /* enum: Rules engine RXDP firmware */
10008 /* enum: DPDK RXDP firmware */
10010 /* enum: BIST RXDP firmware */
10012 /* enum: RXDP Test firmware image 1 */
10014 /* enum: RXDP Test firmware image 2 */
10016 /* enum: RXDP Test firmware image 3 */
10018 /* enum: RXDP Test firmware image 4 */
10020 /* enum: RXDP Test firmware image 5 */
10022 /* enum: RXDP Test firmware image 6 */
10024 /* enum: RXDP Test firmware image 7 */
10026 /* enum: RXDP Test firmware image 8 */
10028 /* enum: RXDP Test firmware image 9 */
10030 /* enum: RXDP Test firmware image 10 */
10035 /* enum: Standard TXDP firmware */
10037 /* enum: Low latency TXDP firmware */
10039 /* enum: High packet rate TXDP firmware */
10041 /* enum: Rules engine TXDP firmware */
10043 /* enum: DPDK TXDP firmware */
10045 /* enum: BIST TXDP firmware */
10047 /* enum: TXDP Test firmware image 1 */
10049 /* enum: TXDP Test firmware image 2 */
10051 /* enum: TXDP CSR bus test firmware */
10059 /* enum: reserved value - do not use (may indicate alternative interpretation
10063 /* enum: Trivial RX PD firmware for early Huntington development (Huntington
10067 /* enum: RX PD firmware with approximately Siena-compatible behaviour
10071 /* enum: Full featured RX PD production firmware */
10073 /* enum: (deprecated original name for the FULL_FEATURED variant) */
10075 /* enum: siena_compat variant RX PD firmware using PM rather than MAC
10079 /* enum: Low latency RX PD production firmware */
10081 /* enum: Packed stream RX PD production firmware */
10083 /* enum: RX PD firmware handling layer 2 only for high packet rate performance
10087 /* enum: Rules engine RX PD production firmware */
10089 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
10091 /* enum: DPDK RX PD production firmware */
10093 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
10095 /* enum: RX PD firmware parsing but not filtering network overlay tunnel
10105 /* enum: reserved value - do not use (may indicate alternative interpretation
10109 /* enum: Trivial TX PD firmware for early Huntington development (Huntington
10113 /* enum: TX PD firmware with approximately Siena-compatible behaviour
10117 /* enum: Full featured TX PD production firmware */
10119 /* enum: (deprecated original name for the FULL_FEATURED variant) */
10121 /* enum: siena_compat variant TX PD firmware using PM rather than MAC
10125 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TXPD_FW_TYPE_LOW_LATENCY 0x5 /* enum */
10126 /* enum: TX PD firmware handling layer 2 only for high packet rate performance
10130 /* enum: Rules engine TX PD production firmware */
10132 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
10134 /* enum: DPDK TX PD production firmware */
10136 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
10213 /* enum: The caller is not permitted to access information on this PF. */
10215 /* enum: PF does not exist. */
10217 /* enum: PF does exist but is not assigned to any external port. */
10219 /* enum: This value indicates that PF is assigned, but it cannot be expressed
10232 /* enum: The caller is not permitted to access information on this PF. */
10234 /* enum: PF does not exist. */
10323 /* enum: Standard RXDP firmware */
10325 /* enum: Low latency RXDP firmware */
10327 /* enum: Packed stream RXDP firmware */
10329 /* enum: Rules engine RXDP firmware */
10331 /* enum: DPDK RXDP firmware */
10333 /* enum: BIST RXDP firmware */
10335 /* enum: RXDP Test firmware image 1 */
10337 /* enum: RXDP Test firmware image 2 */
10339 /* enum: RXDP Test firmware image 3 */
10341 /* enum: RXDP Test firmware image 4 */
10343 /* enum: RXDP Test firmware image 5 */
10345 /* enum: RXDP Test firmware image 6 */
10347 /* enum: RXDP Test firmware image 7 */
10349 /* enum: RXDP Test firmware image 8 */
10351 /* enum: RXDP Test firmware image 9 */
10353 /* enum: RXDP Test firmware image 10 */
10358 /* enum: Standard TXDP firmware */
10360 /* enum: Low latency TXDP firmware */
10362 /* enum: High packet rate TXDP firmware */
10364 /* enum: Rules engine TXDP firmware */
10366 /* enum: DPDK TXDP firmware */
10368 /* enum: BIST TXDP firmware */
10370 /* enum: TXDP Test firmware image 1 */
10372 /* enum: TXDP Test firmware image 2 */
10374 /* enum: TXDP CSR bus test firmware */
10382 /* enum: reserved value - do not use (may indicate alternative interpretation
10386 /* enum: Trivial RX PD firmware for early Huntington development (Huntington
10390 /* enum: RX PD firmware with approximately Siena-compatible behaviour
10394 /* enum: Full featured RX PD production firmware */
10396 /* enum: (deprecated original name for the FULL_FEATURED variant) */
10398 /* enum: siena_compat variant RX PD firmware using PM rather than MAC
10402 /* enum: Low latency RX PD production firmware */
10404 /* enum: Packed stream RX PD production firmware */
10406 /* enum: RX PD firmware handling layer 2 only for high packet rate performance
10410 /* enum: Rules engine RX PD production firmware */
10412 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
10414 /* enum: DPDK RX PD production firmware */
10416 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
10418 /* enum: RX PD firmware parsing but not filtering network overlay tunnel
10428 /* enum: reserved value - do not use (may indicate alternative interpretation
10432 /* enum: Trivial TX PD firmware for early Huntington development (Huntington
10436 /* enum: TX PD firmware with approximately Siena-compatible behaviour
10440 /* enum: Full featured TX PD production firmware */
10442 /* enum: (deprecated original name for the FULL_FEATURED variant) */
10444 /* enum: siena_compat variant TX PD firmware using PM rather than MAC
10448 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TXPD_FW_TYPE_LOW_LATENCY 0x5 /* enum */
10449 /* enum: TX PD firmware handling layer 2 only for high packet rate performance
10453 /* enum: Rules engine TX PD production firmware */
10455 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
10457 /* enum: DPDK TX PD production firmware */
10459 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
10536 /* enum: The caller is not permitted to access information on this PF. */
10538 /* enum: PF does not exist. */
10540 /* enum: PF does exist but is not assigned to any external port. */
10542 /* enum: This value indicates that PF is assigned, but it cannot be expressed
10555 /* enum: The caller is not permitted to access information on this PF. */
10557 /* enum: PF does not exist. */
10586 /* enum: Each VI occupies 8k as on Huntington and Medford. PIO is at offset 4k.
10590 /* enum: Each VI occupies 16k. PIO is at offset 4k. CTPIO is at offset 12k. */
10592 /* enum: Each VI occupies 64k. PIO is at offset 4k. CTPIO is at offset 12k. */
10671 /* enum: Standard RXDP firmware */
10673 /* enum: Low latency RXDP firmware */
10675 /* enum: Packed stream RXDP firmware */
10677 /* enum: Rules engine RXDP firmware */
10679 /* enum: DPDK RXDP firmware */
10681 /* enum: BIST RXDP firmware */
10683 /* enum: RXDP Test firmware image 1 */
10685 /* enum: RXDP Test firmware image 2 */
10687 /* enum: RXDP Test firmware image 3 */
10689 /* enum: RXDP Test firmware image 4 */
10691 /* enum: RXDP Test firmware image 5 */
10693 /* enum: RXDP Test firmware image 6 */
10695 /* enum: RXDP Test firmware image 7 */
10697 /* enum: RXDP Test firmware image 8 */
10699 /* enum: RXDP Test firmware image 9 */
10701 /* enum: RXDP Test firmware image 10 */
10706 /* enum: Standard TXDP firmware */
10708 /* enum: Low latency TXDP firmware */
10710 /* enum: High packet rate TXDP firmware */
10712 /* enum: Rules engine TXDP firmware */
10714 /* enum: DPDK TXDP firmware */
10716 /* enum: BIST TXDP firmware */
10718 /* enum: TXDP Test firmware image 1 */
10720 /* enum: TXDP Test firmware image 2 */
10722 /* enum: TXDP CSR bus test firmware */
10730 /* enum: reserved value - do not use (may indicate alternative interpretation
10734 /* enum: Trivial RX PD firmware for early Huntington development (Huntington
10738 /* enum: RX PD firmware with approximately Siena-compatible behaviour
10742 /* enum: Full featured RX PD production firmware */
10744 /* enum: (deprecated original name for the FULL_FEATURED variant) */
10746 /* enum: siena_compat variant RX PD firmware using PM rather than MAC
10750 /* enum: Low latency RX PD production firmware */
10752 /* enum: Packed stream RX PD production firmware */
10754 /* enum: RX PD firmware handling layer 2 only for high packet rate performance
10758 /* enum: Rules engine RX PD production firmware */
10760 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
10762 /* enum: DPDK RX PD production firmware */
10764 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
10766 /* enum: RX PD firmware parsing but not filtering network overlay tunnel
10776 /* enum: reserved value - do not use (may indicate alternative interpretation
10780 /* enum: Trivial TX PD firmware for early Huntington development (Huntington
10784 /* enum: TX PD firmware with approximately Siena-compatible behaviour
10788 /* enum: Full featured TX PD production firmware */
10790 /* enum: (deprecated original name for the FULL_FEATURED variant) */
10792 /* enum: siena_compat variant TX PD firmware using PM rather than MAC
10796 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TXPD_FW_TYPE_LOW_LATENCY 0x5 /* enum */
10797 /* enum: TX PD firmware handling layer 2 only for high packet rate performance
10801 /* enum: Rules engine TX PD production firmware */
10803 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
10805 /* enum: DPDK TX PD production firmware */
10807 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
10884 /* enum: The caller is not permitted to access information on this PF. */
10886 /* enum: PF does not exist. */
10888 /* enum: PF does exist but is not assigned to any external port. */
10890 /* enum: This value indicates that PF is assigned, but it cannot be expressed
10903 /* enum: The caller is not permitted to access information on this PF. */
10905 /* enum: PF does not exist. */
10934 /* enum: Each VI occupies 8k as on Huntington and Medford. PIO is at offset 4k.
10938 /* enum: Each VI occupies 16k. PIO is at offset 4k. CTPIO is at offset 12k. */
10940 /* enum: Each VI occupies 64k. PIO is at offset 4k. CTPIO is at offset 12k. */
11027 /* enum: Standard RXDP firmware */
11029 /* enum: Low latency RXDP firmware */
11031 /* enum: Packed stream RXDP firmware */
11033 /* enum: Rules engine RXDP firmware */
11035 /* enum: DPDK RXDP firmware */
11037 /* enum: BIST RXDP firmware */
11039 /* enum: RXDP Test firmware image 1 */
11041 /* enum: RXDP Test firmware image 2 */
11043 /* enum: RXDP Test firmware image 3 */
11045 /* enum: RXDP Test firmware image 4 */
11047 /* enum: RXDP Test firmware image 5 */
11049 /* enum: RXDP Test firmware image 6 */
11051 /* enum: RXDP Test firmware image 7 */
11053 /* enum: RXDP Test firmware image 8 */
11055 /* enum: RXDP Test firmware image 9 */
11057 /* enum: RXDP Test firmware image 10 */
11062 /* enum: Standard TXDP firmware */
11064 /* enum: Low latency TXDP firmware */
11066 /* enum: High packet rate TXDP firmware */
11068 /* enum: Rules engine TXDP firmware */
11070 /* enum: DPDK TXDP firmware */
11072 /* enum: BIST TXDP firmware */
11074 /* enum: TXDP Test firmware image 1 */
11076 /* enum: TXDP Test firmware image 2 */
11078 /* enum: TXDP CSR bus test firmware */
11086 /* enum: reserved value - do not use (may indicate alternative interpretation
11090 /* enum: Trivial RX PD firmware for early Huntington development (Huntington
11094 /* enum: RX PD firmware with approximately Siena-compatible behaviour
11098 /* enum: Full featured RX PD production firmware */
11100 /* enum: (deprecated original name for the FULL_FEATURED variant) */
11102 /* enum: siena_compat variant RX PD firmware using PM rather than MAC
11106 /* enum: Low latency RX PD production firmware */
11108 /* enum: Packed stream RX PD production firmware */
11110 /* enum: RX PD firmware handling layer 2 only for high packet rate performance
11114 /* enum: Rules engine RX PD production firmware */
11116 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
11118 /* enum: DPDK RX PD production firmware */
11120 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
11122 /* enum: RX PD firmware parsing but not filtering network overlay tunnel
11132 /* enum: reserved value - do not use (may indicate alternative interpretation
11136 /* enum: Trivial TX PD firmware for early Huntington development (Huntington
11140 /* enum: TX PD firmware with approximately Siena-compatible behaviour
11144 /* enum: Full featured TX PD production firmware */
11146 /* enum: (deprecated original name for the FULL_FEATURED variant) */
11148 /* enum: siena_compat variant TX PD firmware using PM rather than MAC
11152 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TXPD_FW_TYPE_LOW_LATENCY 0x5 /* enum */
11153 /* enum: TX PD firmware handling layer 2 only for high packet rate performance
11157 /* enum: Rules engine TX PD production firmware */
11159 /* enum: Custom firmware variant (see SF-119495-PD and bug69716) */
11161 /* enum: DPDK TX PD production firmware */
11163 /* enum: RX PD firmware for GUE parsing prototype (Medford development only) */
11240 /* enum: The caller is not permitted to access information on this PF. */
11242 /* enum: PF does not exist. */
11244 /* enum: PF does exist but is not assigned to any external port. */
11246 /* enum: This value indicates that PF is assigned, but it cannot be expressed
11259 /* enum: The caller is not permitted to access information on this PF. */
11261 /* enum: PF does not exist. */
11290 /* enum: Each VI occupies 8k as on Huntington and Medford. PIO is at offset 4k.
11294 /* enum: Each VI occupies 16k. PIO is at offset 4k. CTPIO is at offset 12k. */
11296 /* enum: Each VI occupies 64k. PIO is at offset 4k. CTPIO is at offset 12k. */
11345 /* enum: MCDI command directed to or response originating from the MC. */
11347 /* enum: MCDI command directed to a TSA controller. MCDI responses of this type
11560 /* enum: VLAN */
11562 /* enum: VEB */
11564 /* enum: VEPA (obsolete) */
11566 /* enum: MUX */
11568 /* enum: Snapper specific; semantics TBD */
11643 /* enum: VLAN (obsolete) */
11645 /* enum: VEB (obsolete) */
11647 /* enum: VEPA (obsolete) */
11649 /* enum: A normal v-port receives packets which match a specified MAC and/or
11653 /* enum: An expansion v-port packets traffic which don't match any other
11657 /* enum: An test v-port receives packets which match any filters installed by
11743 /* enum: Derive the MAC address from the upstream port */
11955 /* enum: Allocate a context for exclusive use. The key and indirection table
11959 /* enum: Allocate a context for shared use; this will spread across a range of
11978 /* enum: guaranteed invalid RSS context handle value */
12221 /* enum: guaranteed invalid .1p mapping handle value */
12533 /* enum: pad to 64 bytes */
12535 /* enum: pad to 128 bytes (Medford only) */
12537 /* enum: pad to 256 bytes (Medford only) */
12563 /* Enum values, see field(s): */
12601 /* enum: Leave the system clock domain frequency unchanged */
12606 /* enum: Leave the inter-core clock domain frequency unchanged */
12611 /* enum: Leave the DPCPU clock domain frequency unchanged */
12616 /* enum: Leave the PCS clock domain frequency unchanged */
12621 /* enum: Leave the MC clock domain frequency unchanged */
12626 /* enum: Leave the rmon clock domain frequency unchanged */
12631 /* enum: Leave the vswitch clock domain frequency unchanged */
12639 /* enum: The system clock domain doesn't exist */
12644 /* enum: The inter-core clock domain doesn't exist / isn't used */
12649 /* enum: The dpcpu clock domain doesn't exist */
12654 /* enum: The PCS clock domain doesn't exist / isn't controlled */
12659 /* enum: The MC clock domain doesn't exist / isn't controlled */
12664 /* enum: The rmon clock domain doesn't exist / isn't controlled */
12669 /* enum: The vswitch clock domain doesn't exist / isn't controlled */
12685 /* enum: RxDPCPU0 */
12687 /* enum: TxDPCPU0 */
12689 /* enum: TxDPCPU1 */
12691 /* enum: RxDPCPU1 (Medford only) */
12693 /* enum: RxDPCPU (will be for the calling function; for now, just an alias of
12697 /* enum: TxDPCPU (will be for the calling function; for now, just an alias of
12708 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_TXDPCPU_READ 0x6 /* enum */
12709 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_TXDPCPU_WRITE 0x7 /* enum */
12710 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_TXDPCPU_SELF_TEST 0xc /* enum */
12711 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_TXDPCPU_CSR_ACCESS 0xe /* enum */
12712 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_RXDPCPU_READ 0x46 /* enum */
12713 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_RXDPCPU_WRITE 0x47 /* enum */
12714 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_RXDPCPU_SELF_TEST 0x4a /* enum */
12715 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_RXDPCPU_CSR_ACCESS 0x4c /* enum */
12716 #define MC_CMD_DPCPU_RPC_IN_CMDNUM_RXDPCPU_SET_MC_REPLAY_CNTXT 0x4d /* enum */
12727 #define MC_CMD_DPCPU_RPC_IN_CSR_ACCESS_CMD_STOP_RETURN_RESULT 0x0 /* enum */
12728 #define MC_CMD_DPCPU_RPC_IN_CSR_ACCESS_CMD_START_READ 0x1 /* enum */
12729 #define MC_CMD_DPCPU_RPC_IN_CSR_ACCESS_CMD_START_WRITE 0x2 /* enum */
12730 #define MC_CMD_DPCPU_RPC_IN_CSR_ACCESS_CMD_START_WRITE_READ 0x3 /* enum */
12731 #define MC_CMD_DPCPU_RPC_IN_CSR_ACCESS_CMD_START_PIPELINED_READ 0x4 /* enum */
12740 #define MC_CMD_DPCPU_RPC_IN_MC_REPLAY_MODE_CUT_THROUGH 0x1 /* enum */
12741 #define MC_CMD_DPCPU_RPC_IN_MC_REPLAY_MODE_STORE_FORWARD 0x2 /* enum */
12742 #define MC_CMD_DPCPU_RPC_IN_MC_REPLAY_MODE_STORE_FORWARD_FIRST 0x3 /* enum */
12808 /* enum: Copy slave_data section to the slave core. (Greenport only) */
12858 #define MC_CMD_DUMP_DO_IN_DUMPSPEC_SRC_CUSTOM 0x0 /* enum */
12859 #define MC_CMD_DUMP_DO_IN_DUMPSPEC_SRC_DEFAULT 0x1 /* enum */
12862 #define MC_CMD_DUMP_DO_IN_DUMP_LOCATION_NVRAM 0x1 /* enum */
12863 #define MC_CMD_DUMP_DO_IN_DUMP_LOCATION_HOST_MEMORY 0x2 /* enum */
12864 #define MC_CMD_DUMP_DO_IN_DUMP_LOCATION_HOST_MEMORY_MLI 0x3 /* enum */
12865 #define MC_CMD_DUMP_DO_IN_DUMP_LOCATION_UART 0x4 /* enum */
12876 #define MC_CMD_DUMP_DO_IN_HOST_MEMORY_MLI_PAGE_SIZE 0x1000 /* enum */
12881 #define MC_CMD_DUMP_DO_IN_HOST_MEMORY_MLI_MAX_DEPTH 0x2 /* enum */
12884 /* enum: The uart port this command was received over (if using a uart
12892 #define MC_CMD_DUMP_DO_IN_DUMPFILE_DST_CUSTOM 0x0 /* enum */
12893 #define MC_CMD_DUMP_DO_IN_DUMPFILE_DST_NVRAM_DUMP_PARTITION 0x1 /* enum */
12896 /* Enum values, see field(s): */
12937 /* Enum values, see field(s): */
12941 /* Enum values, see field(s): */
12963 /* Enum values, see field(s): */
12967 /* Enum values, see field(s): */
13003 #define MC_CMD_SET_PSU_IN_PARAM_SUPPLY_VOLTAGE 0x0 /* enum */
13006 #define MC_CMD_SET_PSU_IN_RAIL_0V9 0x0 /* enum */
13007 #define MC_CMD_SET_PSU_IN_RAIL_1V2 0x1 /* enum */
13179 /* enum: Get current RXEQ settings */
13181 /* enum: Override RXEQ settings */
13183 /* enum: Get current TX Driver settings */
13185 /* enum: Override TX Driver settings */
13187 /* enum: Force KR Serdes reset / recalibration */
13189 /* enum: Start KR Serdes Eye diagram plot on a given lane. Lane must have valid
13193 /* enum: Poll KR Serdes Eye diagram plot. Returns one row of BER data. The
13198 /* enum: Read Figure Of Merit (eye quality, higher is better). */
13200 /* enum: Start/stop link training frames */
13202 /* enum: Issue KR link training command (control training coefficients) */
13236 /* enum: Attenuation (0-15, Huntington) */
13238 /* enum: CTLE Boost (0-15, Huntington) */
13240 /* enum: Edge DFE Tap1 (Huntington - 0 - max negative, 64 - zero, 127 - max
13244 /* enum: Edge DFE Tap2 (Huntington - 0 - max negative, 32 - zero, 63 - max
13248 /* enum: Edge DFE Tap3 (Huntington - 0 - max negative, 32 - zero, 63 - max
13252 /* enum: Edge DFE Tap4 (Huntington - 0 - max negative, 32 - zero, 63 - max
13256 /* enum: Edge DFE Tap5 (Huntington - 0 - max negative, 32 - zero, 63 - max
13260 /* enum: Edge DFE DLEV (0-128 for Medford) */
13262 /* enum: Variable Gain Amplifier (0-15, Medford) */
13264 /* enum: CTLE EQ Capacitor (0-15, Medford) */
13266 /* enum: CTLE EQ Resistor (0-7, Medford) */
13268 /* enum: CTLE gain (0-31, Medford2) */
13270 /* enum: CTLE pole (0-31, Medford2) */
13272 /* enum: CTLE peaking (0-31, Medford2) */
13274 /* enum: DFE Tap1 - even path (Medford2 - 6 bit signed (-29 - +29)) */
13276 /* enum: DFE Tap1 - odd path (Medford2 - 6 bit signed (-29 - +29)) */
13278 /* enum: DFE Tap2 (Medford2 - 6 bit signed (-20 - +20)) */
13280 /* enum: DFE Tap3 (Medford2 - 6 bit signed (-20 - +20)) */
13282 /* enum: DFE Tap4 (Medford2 - 6 bit signed (-20 - +20)) */
13284 /* enum: DFE Tap5 (Medford2 - 6 bit signed (-24 - +24)) */
13286 /* enum: DFE Tap6 (Medford2 - 6 bit signed (-24 - +24)) */
13288 /* enum: DFE Tap7 (Medford2 - 6 bit signed (-24 - +24)) */
13290 /* enum: DFE Tap8 (Medford2 - 6 bit signed (-24 - +24)) */
13292 /* enum: DFE Tap9 (Medford2 - 6 bit signed (-24 - +24)) */
13294 /* enum: DFE Tap10 (Medford2 - 6 bit signed (-24 - +24)) */
13296 /* enum: DFE Tap11 (Medford2 - 6 bit signed (-24 - +24)) */
13298 /* enum: DFE Tap12 (Medford2 - 6 bit signed (-24 - +24)) */
13300 /* enum: I/Q clk offset (Medford2 - 4 bit signed (-5 - +5))) */
13302 /* enum: Negative h1 polarity data sampler offset calibration code, even path
13306 /* enum: Negative h1 polarity data sampler offset calibration code, odd path
13310 /* enum: Positive h1 polarity data sampler offset calibration code, even path
13314 /* enum: Positive h1 polarity data sampler offset calibration code, odd path
13318 /* enum: CDR calibration loop code (Medford2) */
13320 /* enum: CDR integral loop code (Medford2) */
13324 #define MC_CMD_KR_TUNE_RXEQ_GET_OUT_LANE_0 0x0 /* enum */
13325 #define MC_CMD_KR_TUNE_RXEQ_GET_OUT_LANE_1 0x1 /* enum */
13326 #define MC_CMD_KR_TUNE_RXEQ_GET_OUT_LANE_2 0x2 /* enum */
13327 #define MC_CMD_KR_TUNE_RXEQ_GET_OUT_LANE_3 0x3 /* enum */
13328 #define MC_CMD_KR_TUNE_RXEQ_GET_OUT_LANE_ALL 0x4 /* enum */
13355 /* Enum values, see field(s): */
13359 /* Enum values, see field(s): */
13393 /* enum: TX Amplitude (Huntington, Medford, Medford2) */
13395 /* enum: De-Emphasis Tap1 Magnitude (0-7) (Huntington) */
13397 /* enum: De-Emphasis Tap1 Fine */
13399 /* enum: De-Emphasis Tap2 Magnitude (0-6) (Huntington) */
13401 /* enum: De-Emphasis Tap2 Fine (Huntington) */
13403 /* enum: Pre-Emphasis Magnitude (Huntington) */
13405 /* enum: Pre-Emphasis Fine (Huntington) */
13407 /* enum: TX Slew Rate Coarse control (Huntington) */
13409 /* enum: TX Slew Rate Fine control (Huntington) */
13411 /* enum: TX Termination Impedance control (Huntington) */
13413 /* enum: TX Amplitude Fine control (Medford) */
13415 /* enum: Pre-shoot Tap (Medford, Medford2) */
13417 /* enum: De-emphasis Tap (Medford, Medford2) */
13421 #define MC_CMD_KR_TUNE_TXEQ_GET_OUT_LANE_0 0x0 /* enum */
13422 #define MC_CMD_KR_TUNE_TXEQ_GET_OUT_LANE_1 0x1 /* enum */
13423 #define MC_CMD_KR_TUNE_TXEQ_GET_OUT_LANE_2 0x2 /* enum */
13424 #define MC_CMD_KR_TUNE_TXEQ_GET_OUT_LANE_3 0x3 /* enum */
13425 #define MC_CMD_KR_TUNE_TXEQ_GET_OUT_LANE_ALL 0x4 /* enum */
13450 /* Enum values, see field(s): */
13454 /* Enum values, see field(s): */
13559 #define MC_CMD_KR_TUNE_LINK_TRAIN_RUN_IN_STOP 0x0 /* enum */
13560 #define MC_CMD_KR_TUNE_LINK_TRAIN_RUN_IN_START 0x1 /* enum */
13581 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_IN_REQ_HOLD 0x0 /* enum */
13582 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_IN_REQ_INCREMENT 0x1 /* enum */
13583 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_IN_REQ_DECREMENT 0x2 /* enum */
13587 /* Enum values, see field(s): */
13592 /* Enum values, see field(s): */
13600 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_OUT_STATUS_NOT_UPDATED 0x0 /* enum */
13601 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_OUT_STATUS_UPDATED 0x1 /* enum */
13602 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_OUT_STATUS_MINIMUM 0x2 /* enum */
13603 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_OUT_STATUS_MAXIMUM 0x3 /* enum */
13607 /* Enum values, see field(s): */
13612 /* Enum values, see field(s): */
13640 /* enum: Get current RXEQ settings */
13642 /* enum: Override RXEQ settings */
13644 /* enum: Get current TX Driver settings */
13646 /* enum: Override TX Driver settings */
13648 /* enum: Start PCIe Serdes Eye diagram plot on a given lane. */
13650 /* enum: Poll PCIe Serdes Eye diagram plot. Returns one row of BER data. The
13655 /* enum: Enable the SERDES BIST and set it to generate a 200MHz square wave */
13689 /* enum: Attenuation (0-15) */
13691 /* enum: CTLE Boost (0-15) */
13693 /* enum: DFE Tap1 (0 - max negative, 64 - zero, 127 - max positive) */
13695 /* enum: DFE Tap2 (0 - max negative, 32 - zero, 63 - max positive) */
13697 /* enum: DFE Tap3 (0 - max negative, 32 - zero, 63 - max positive) */
13699 /* enum: DFE Tap4 (0 - max negative, 32 - zero, 63 - max positive) */
13701 /* enum: DFE Tap5 (0 - max negative, 32 - zero, 63 - max positive) */
13703 /* enum: DFE DLev */
13705 /* enum: Figure of Merit */
13707 /* enum: CTLE EQ Capacitor (HF Gain) */
13709 /* enum: CTLE EQ Resistor (DC Gain) */
13713 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_0 0x0 /* enum */
13714 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_1 0x1 /* enum */
13715 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_2 0x2 /* enum */
13716 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_3 0x3 /* enum */
13717 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_4 0x4 /* enum */
13718 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_5 0x5 /* enum */
13719 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_6 0x6 /* enum */
13720 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_7 0x7 /* enum */
13721 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_8 0x8 /* enum */
13722 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_9 0x9 /* enum */
13723 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_10 0xa /* enum */
13724 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_11 0xb /* enum */
13725 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_12 0xc /* enum */
13726 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_13 0xd /* enum */
13727 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_14 0xe /* enum */
13728 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_15 0xf /* enum */
13729 #define MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LANE_ALL 0x10 /* enum */
13754 /* Enum values, see field(s): */
13758 /* Enum values, see field(s): */
13792 /* enum: TxMargin (PIPE) */
13794 /* enum: TxSwing (PIPE) */
13796 /* enum: De-emphasis coefficient C(-1) (PIPE) */
13798 /* enum: De-emphasis coefficient C(0) (PIPE) */
13800 /* enum: De-emphasis coefficient C(+1) (PIPE) */
13804 /* Enum values, see field(s): */
13864 /* enum: re-read and apply licenses after a license key partition update; note
13868 /* enum: report counts of installed licenses */
13899 /* enum: licensing subsystem self-test failed */
13901 /* enum: licensing subsystem self-test passed */
13919 /* enum: re-read and apply licenses after a license key partition update; note
13923 /* enum: report counts of installed licenses Returns EAGAIN if license
13952 /* enum: licensing subsystem self-test failed */
13954 /* enum: licensing subsystem self-test passed */
14040 /* enum: no (or invalid) license is present for the application */
14042 /* enum: a valid license is present for the application */
14071 /* enum: no (or invalid) license is present for the application */
14073 /* enum: a valid license is present for the application */
14125 /* enum: validate application */
14127 /* enum: mask application */
14218 /* enum: expiry units are accounting units */
14220 /* enum: expiry units are calendar days */
14253 /* enum: turn the features off */
14255 /* enum: turn the features back on */
14279 /* enum: install a new license, overwriting any existing temporary license.
14284 /* enum: clear the license immediately rather than waiting for the next power
14288 /* enum: get the status of the asynchronous MC_CMD_LICENSING_V3_TEMPORARY_SET
14316 /* enum: finished validating and installing license */
14318 /* enum: license validation and installation in progress */
14320 /* enum: licensing error. More specific error messages are not provided to
14358 /* enum: receive to just the specified queue */
14360 /* enum: receive to multiple queues using RSS context */
14401 /* enum: receiving to just the specified queue */
14403 /* enum: receiving to multiple queues using RSS context */
14425 /* enum: Per-TXQ enable for multicast UDP destination lookup for possible
14429 /* enum: Per-v-adaptor enable for suppression of self-transmissions on the
14464 /* Enum values, see field(s): */
14512 /* enum: receive to just the specified queue */
14514 /* enum: receive to multiple queues using RSS context */
14553 /* enum: receiving to just the specified queue */
14555 /* enum: receiving to multiple queues using RSS context */
14666 #define MC_CMD_READ_ATB_IN_BUS_CCOM 0x0 /* enum */
14667 #define MC_CMD_READ_ATB_IN_BUS_CKR 0x1 /* enum */
14668 #define MC_CMD_READ_ATB_IN_BUS_CPCIE 0x8 /* enum */
14699 /* enum: Bug 17230 work around. */
14701 /* enum: Bug 35388 work around (unsafe EVQ writes). */
14703 /* enum: Bug35017 workaround (A64 tables must be identity map) */
14705 /* enum: Bug 41750 present (MC_CMD_TRIGGER_INTERRUPT won't work) */
14707 /* enum: Bug 42008 present (Interrupts can overtake associated events). Caution
14713 /* enum: Bug 26807 features present in firmware (multicast filter chaining) */
14715 /* enum: Bug 61265 work around (broken EVQ TMR writes). */
14738 #define MC_CMD_PRIVILEGE_MASK_IN_VF_NULL 0xffff /* enum */
14744 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_ADMIN 0x1 /* enum */
14745 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_LINK 0x2 /* enum */
14746 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_ONLOAD 0x4 /* enum */
14747 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_PTP 0x8 /* enum */
14748 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_INSECURE_FILTERS 0x10 /* enum */
14749 /* enum: Deprecated. Equivalent to MAC_SPOOFING_TX combined with CHANGE_MAC. */
14751 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_UNICAST 0x40 /* enum */
14752 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_MULTICAST 0x80 /* enum */
14753 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_BROADCAST 0x100 /* enum */
14754 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_ALL_MULTICAST 0x200 /* enum */
14755 #define MC_CMD_PRIVILEGE_MASK_IN_GRP_PROMISCUOUS 0x400 /* enum */
14756 /* enum: Allows to set the TX packets' source MAC address to any arbitrary MAC
14760 /* enum: Privilege that allows a Function to change the MAC address configured
14764 /* enum: Privilege that allows a Function to install filters that specify VLANs
14770 /* enum: Privilege for insecure commands. Commands that belong to this group
14774 /* enum: Trusted Server Adapter (TSA) / ServerLock. Privilege for
14780 /* enum: Set this bit to indicate that a new privilege mask is to be set,
14814 #define MC_CMD_LINK_STATE_MODE_IN_LINK_STATE_AUTO 0x0 /* enum */
14815 #define MC_CMD_LINK_STATE_MODE_IN_LINK_STATE_UP 0x1 /* enum */
14816 #define MC_CMD_LINK_STATE_MODE_IN_LINK_STATE_DOWN 0x2 /* enum */
14817 /* enum: Use this value to just read the existing setting without modifying it.
14915 #define MC_CMD_PRIVILEGE_MODIFY_IN_NONE 0x0 /* enum */
14916 #define MC_CMD_PRIVILEGE_MODIFY_IN_ALL 0x1 /* enum */
14917 #define MC_CMD_PRIVILEGE_MODIFY_IN_PFS_ONLY 0x2 /* enum */
14918 #define MC_CMD_PRIVILEGE_MODIFY_IN_VFS_ONLY 0x3 /* enum */
14919 #define MC_CMD_PRIVILEGE_MODIFY_IN_VFS_OF_PF 0x4 /* enum */
14920 #define MC_CMD_PRIVILEGE_MODIFY_IN_ONE 0x5 /* enum */
15023 #define MC_CMD_XPM_READ_SECTOR_OUT_BLANK 0x0 /* enum */
15024 #define MC_CMD_XPM_READ_SECTOR_OUT_CRYPTO_KEY_128 0x1 /* enum */
15025 #define MC_CMD_XPM_READ_SECTOR_OUT_CRYPTO_KEY_256 0x2 /* enum */
15026 #define MC_CMD_XPM_READ_SECTOR_OUT_CRYPTO_DATA 0x3 /* enum */
15027 #define MC_CMD_XPM_READ_SECTOR_OUT_INVALID 0xff /* enum */
15059 /* Enum values, see field(s): */
15347 /* enum: make no decision */
15349 /* enum: decide to accept the packet */
15351 /* enum: decide to drop the packet */
15353 /* enum: inform the TSA controller about some sample of packets matching this
15358 /* enum: do not change the current TX action */
15363 /* enum: make no decision */
15365 /* enum: decide to accept the packet */
15367 /* enum: decide to drop the packet */
15369 /* enum: inform the TSA controller about some sample of packets matching this
15374 /* enum: do not change the current RX action */
15381 /* enum: special value for the null counter ID */
15383 /* enum: special value to tell the MC to allocate an available counter */
15385 /* enum: special value to request use of hardware counter (Medford2 only) */
15427 /* enum: special value to reset all physical ports */
15565 #define PORTRANGE_TREE_ENTRY_LEAF_NODE_KEY 0xffff /* enum */
15639 /* enum: the IANA allocated UDP port for VXLAN */
15641 /* enum: the IANA allocated UDP port for Geneve */
15648 /* enum: This port will be used for VXLAN on both IPv4 and IPv6 */
15650 /* enum: This port will be used for Geneve on both IPv4 and IPv6 */
15740 /* enum: Obsolete. Use MC_CMD_SECURE_NIC_INFO_IN_STATUS. */
15742 /* enum: Get a binding ticket from the TSAN. The binding ticket is used as part
15748 /* enum: Opcode associated with the propagation of a private key that TSAN uses
15757 /* enum: Request an insecure unbinding operation. This sub-command is available
15761 /* enum: Obsolete. Use MC_CMD_TSA_BIND_OP_SECURE_UNBIND. */
15763 /* enum: Opcode associated with the propagation of the unbinding secret token.
15769 /* enum: Obsolete. Use MC_CMD_TSA_BIND_OP_SECURE_DECOMMISSION. */
15771 /* enum: Obsolete. Use MC_CMD_GET_CERTIFICATE. */
15773 /* enum: Request a secure unbinding operation using unbinding token. This sub-
15777 /* enum: Request a secure decommissioning operation. This sub-command is
15781 /* enum: Test facility that allows an adapter to be configured to behave as if
15890 /* enum: There are situations when the binding process does not complete
15952 #define MC_CMD_TSA_BIND_IN_GET_CERTIFICATE_UNUSED 0x0 /* enum */
15953 /* enum: Adapter Authentication Certificate (AAC). The AAC is used by the
15957 /* enum: Adapter Authentication Signing Certificate (AASC). The AASC is used by
16035 /* enum: There are situations when the binding process does not complete
16060 #define MC_CMD_TSA_BIND_IN_TEST_MCDI_DISABLE 0x0 /* enum */
16061 #define MC_CMD_TSA_BIND_IN_TEST_MCDI_ENABLE 0x1 /* enum */
16081 /* enum: Hardware rules engine. */
16083 /* enum: Nic emulator rules engine. */
16085 /* enum: SSFE. */
16135 /* enum: Unbind successful. */
16137 /* enum: TSANID mismatch */
16139 /* enum: Unable to remove the binding ticket from persistent storage. */
16141 /* enum: TSAN is not bound to a binding ticket. */
16154 /* enum: Unbind successful. */
16156 /* enum: TSANID mismatch */
16158 /* enum: Unable to remove the binding ticket from persistent storage. */
16160 /* enum: TSAN is not bound to a binding ticket. */
16162 /* enum: Invalid unbind token */
16164 /* enum: Invalid signature */
16197 /* Enum values, see field(s): */
16214 /* enum: Unbind successful. */
16216 /* enum: TSANID mismatch */
16218 /* enum: Unable to remove the binding ticket from persistent storage. */
16220 /* enum: TSAN is not bound to a domain. */
16222 /* enum: Invalid unbind token */
16224 /* enum: Invalid signature */
16236 /* enum: Unbind successful. */
16238 /* enum: TSANID mismatch */
16240 /* enum: Unable to remove the binding ticket from persistent storage. */
16242 /* enum: TSAN is not bound to a domain. */
16244 /* enum: Invalid unbind token */
16246 /* enum: Invalid signature */
16281 /* enum: reports the ruleset version that is cached in persistent storage but
16285 /* enum: rolls back the active state to the cached version. (May fail with
16289 /* enum: commits the active state to the persistent cache */
16291 /* enum: invalidates the persistent cache without affecting the active state */
16303 /* enum: persistent cache is invalid (the VERSION field will be empty in this
16307 /* enum: persistent cache is valid */
16411 #define MC_CMD_SET_EVQ_TMR_IN_TIMER_MODE_DIS 0x0 /* enum */
16412 #define MC_CMD_SET_EVQ_TMR_IN_TIMER_MODE_IMMED_START 0x1 /* enum */
16413 #define MC_CMD_SET_EVQ_TMR_IN_TIMER_MODE_TRIG_START 0x2 /* enum */
16414 #define MC_CMD_SET_EVQ_TMR_IN_TIMER_MODE_INT_HLDOFF 0x3 /* enum */
16512 #define MC_CMD_ALLOCATE_TX_VFIFO_CP_IN_ENABLED 0x1 /* enum */
16513 /* enum: Using this interface without TX_vFIFO_ULL is not supported for now */
16521 /* enum: Extracts information from function */
16526 /* enum: Extracts information from function */
16528 #define MC_CMD_ALLOCATE_TX_VFIFO_CP_IN_PORT0 0x0 /* enum */
16529 #define MC_CMD_ALLOCATE_TX_VFIFO_CP_IN_PORT1 0x1 /* enum */
16530 #define MC_CMD_ALLOCATE_TX_VFIFO_CP_IN_PORT2 0x2 /* enum */
16531 #define MC_CMD_ALLOCATE_TX_VFIFO_CP_IN_PORT3 0x3 /* enum */
16532 /* enum: To enable Switch loopback with Rx engine 0 */
16534 /* enum: To enable Switch loopback with Rx engine 1 */
16562 /* enum: Extracts information from common pool */
16564 #define MC_CMD_ALLOCATE_TX_VFIFO_VFIFO_IN_PORT0 0x0 /* enum */
16565 #define MC_CMD_ALLOCATE_TX_VFIFO_VFIFO_IN_PORT1 0x1 /* enum */
16566 #define MC_CMD_ALLOCATE_TX_VFIFO_VFIFO_IN_PORT2 0x2 /* enum */
16567 #define MC_CMD_ALLOCATE_TX_VFIFO_VFIFO_IN_PORT3 0x3 /* enum */
16568 /* enum: To enable Switch loopback with Rx engine 0 */
16570 /* enum: To enable Switch loopback with Rx engine 1 */
16575 /* enum: Do not check the space available */
16583 /* enum: Search for the lowest unused priority */
16656 /* enum: Start the rekeying operation */
16658 /* enum: Poll for completion of the rekeying operation */
16745 /* enum: Information about recently discovered local IP address of the adapter
16748 /* enum: Information about a sampled packet that either - did not match any
16784 /* enum: ARP reply sent out of the physical port */
16786 /* enum: ARP probe packet received on the physical port */
16788 /* enum: Gratuitous ARP packet received on the physical port */
16790 /* enum: DHCP ACK packet received on the physical port */
16877 /* enum: Read a 16-byte unique host identifier from the adapter. This UUID
16888 /* enum: Set a 16-byte unique host identifier on the adapter to identify the
16942 /* enum: Read configuration parameters and IDs that uniquely identify an
17031 /* enum: Get the configuration parameters that describe the TSA statistics
17035 /* enum: Read and/or clear TSA statistics counters. */
17076 /* enum: The statistics counters are specified as an unordered list of
17080 /* enum: The statistics counters are specified as a range of consecutive
17162 /* enum: Append a single item to the tsa_config partition. Items will be
17167 /* enum: Reset the tsa_config partition to a clean state. */
17169 /* enum: Read back a configured item from tsa_config partition. Returns
17276 /* enum: Request that the adapter verifies that the IPv4 addresses supplied are
17284 /* enum: Notify the adapter that one or more IPv4 addresses are no longer valid
17360 /* enum: Get the status of various security settings, all signed along with a
17373 #define MC_CMD_SECURE_NIC_INFO_IN_STATUS_UNUSED 0x0 /* enum */
17374 /* enum: Solarflare adapter authentication key, installed by Manftest. */
17376 /* enum: TSA binding key, installed after adapter is bound to a TSA controller.
17380 /* enum: Customer adapter authentication key. Installed by the customer in the
17400 /* Enum value indicating the type of response. This protects against chosen
17401 * message attacks. The enum values are random rather than sequential to make
17407 /* enum: Message type value for the response to a
17469 /* enum: No override in place - the existing ruleset is in operation. */
17471 /* enum: Block all packets seen on all datapath channel except those packets
17477 /* enum: Allow all packets through all datapath channel. The TSA adapter
17500 /* enum: Request the adapter to resend localIP information from it's cache. The
17544 /* enum: Requests the SUC boot version. */
17567 /* enum: Read serial number and use count. */
17569 /* enum: Update use count on wearout adapter. */
17571 /* enum: Start an ADC calibration. */
17573 /* enum: Read the status of an ADC calibration. */
17575 /* enum: Read the results of an ADC calibration. */
17577 /* enum: Read the PCIe configuration. */
17579 /* enum: Write the PCIe configuration. */
17581 /* enum: Write FRU information to SUC. The FRU information is taken from the
17724 #define MC_CMD_GET_CERTIFICATE_IN_UNUSED 0x0 /* enum */
17725 #define MC_CMD_GET_CERTIFICATE_IN_AAC 0x1 /* enum */
17726 /* enum: Adapter Authentication Certificate (AAC). The AAC is unique to each
17730 #define MC_CMD_GET_CERTIFICATE_IN_AASC 0x2 /* enum */
17731 /* enum: Adapter Authentication Signing Certificate (AASC). The AASC is shared
17737 #define MC_CMD_GET_CERTIFICATE_IN_CUSTOMER_AAC 0x3 /* enum */
17738 /* enum: Customer Adapter Authentication Certificate. The Customer AAC is
17744 #define MC_CMD_GET_CERTIFICATE_IN_CUSTOMER_AASC 0x4 /* enum */
17745 /* enum: Customer Adapter Authentication Certificate. The Customer AASC is
17764 /* Enum values, see field(s): */
17791 /* Key to request value for, see enum values in MC_CMD_SET_NIC_GLOBAL. If the
17822 /* enum: Request switching the datapath firmware sub-variant. Currently only
17834 /* enum: Only if KEY = FIRMWARE_SUBVARIANT. Default sub-variant with support
17839 /* enum: Only if KEY = FIRMWARE_SUBVARIANT. Increases packet rate at the cost