Lines Matching +full:20 +full:a
24 * Unlike a warm boot, assume DMEM has been reloaded, so that
51 /* Check whether an mcfw version (in host order) belongs to a bootloader */
65 * Each MCDI request starts with an MCDI_HEADER, which is a 32bit
68 * 0 7 8 16 20 22 23 24 31
87 * The protocol requires one response to be delivered for every request, a
103 #define MCDI_HEADER_RSVD_LBN 20
126 * - To advance a shared memory request if XFLAGS_EVREQ was set
127 * - As a notification (link state, i2c event), controlled
130 * Both events share a common structure:
148 * Events can be squirted out of the UART (using LOG_CTRL) without a
149 * MCDI header. An event can be distinguished from a MCDI response by
239 /* The requesting client is not a function */
252 * wait for a PROXY_RESPONSE event and then resend its request.
253 * This error code is followed by a 32-bit handle that
262 * that has enabled proxying or BLOCK_INDEX points to a function that
270 * to a designated admin function for authorization. */
284 * resources to do so. Send it again after a command has completed. */
356 /* This may be ORed with an EVB_PORT_ID_xxx constant to pass a non-default
419 #define MCDI_EVENT_LINKCHANGE_FCNTL_LBN 20
458 /* enum: Option descriptor part way through a packet */
707 * a different format)
710 /* enum: the MC has detected a parity error */
712 /* enum: the MC has detected a correctable error */
722 /* enum: notify the designated PF of a new authorization request */
724 /* enum: notify a function that awaits an authorization that its request has
732 /* enum: The MC has detected a fault on the SUC */
740 * a module change.
749 /* enum: Notification that a sensor has changed state as a result of a reading
750 * crossing a threshold. This is sent as two events, the first event contains
755 /* enum: Notification that a descriptor proxy function configuration has been
762 /* enum: Notification that a descriptor proxy function has been reset. SRC
767 /* enum: Notification that a driver attached to a descriptor proxy function.
859 * PTP clock. This is a more generic equivalent of PTP_TIME_MINOR_26_19.
879 * PTP clock. This is a more generic equivalent of PTP_TIME_MINOR_26_21.
892 * should resend it. A non-zero value means that the authorization has been
909 /* The new generation count after a sensor has been added or deleted. */
914 /* The handle of a dynamic sensor. */
919 /* The current values of a sensor. */
924 /* The current state of a sensor. */
981 /* enum: A timed read is ready to be serviced. */
1044 * to the MC. Note that this structure | is overlayed over a normal FCDI event
1059 /* Seconds field of a timestamp record */
1064 /* Nanoseconds field of a timestamp record */
1253 * The main image should be entered via a copy of a single word from and to a
1255 * is a bitfield, with each bit as documented below.
1378 /* enum: A system-level assertion has failed. */
1380 /* enum: A thread-level assertion has failed. */
1393 /* enum: A magic value hinting that the value in this register at the time of
1412 /* enum: A system-level assertion has failed. */
1414 /* enum: A thread-level assertion has failed. */
1427 /* enum: A magic value hinting that the value in this register at the time of
1450 /* enum: A system-level assertion has failed. */
1452 /* enum: A thread-level assertion has failed. */
1465 /* enum: A magic value hinting that the value in this register at the time of
1480 #define MC_CMD_GET_ASSERTS_OUT_V3_MC_FW_BUILD_ID_LEN 20
1599 * (depending on which components exist on a particular adapter)
1638 #define MC_CMD_GET_VERSION_V2_OUT_MCFW_BUILD_ID_LEN 20
1645 /* The SUC firmware version as four numbers - a.b.c.d */
1659 /* The CMC firmware version as four numbers - a.b.c.d */
1670 * FPGA_VERSION[0]: x => Image H{x} FPGA_VERSION[1]: Revision letter (0 => A, 1
1708 /* enum: Send a PTP packet. This operation is used on Siena and Huntington.
1884 #define MC_CMD_PTP_IN_ADJUST_NANOSECONDS_OFST 20
1887 #define MC_CMD_PTP_IN_ADJUST_MINOR_OFST 20
1915 #define MC_CMD_PTP_IN_ADJUST_V2_NANOSECONDS_OFST 20
1918 #define MC_CMD_PTP_IN_ADJUST_V2_MINOR_OFST 20
1925 #define MC_CMD_PTP_IN_SYNCHRONIZE_LEN 20
2024 #define MC_CMD_PTP_IN_CLOCK_OFFSET_ADJUST_V2_LEN 20
2074 #define MC_CMD_PTP_IN_RX_SET_UUID_FILTER_LEN 20
2183 /* enum: Unsubscribe a single queue */
2221 #define MC_CMD_PTP_IN_SET_SYNC_STATUS_RESERVED1_OFST 20
2299 #define MC_CMD_PTP_OUT_STATUS_STATS_NFM_OFST 20
2333 #define MC_CMD_PTP_OUT_SYNCHRONIZE_LENMIN 20
2336 #define MC_CMD_PTP_OUT_SYNCHRONIZE_LEN(num) (0+20*(num))
2337 #define MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_NUM(len) (((len)-0)/20)
2338 /* A set of host and NIC times */
2340 #define MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_LEN 20
2433 * is not supported (older firmware) a format of seconds and nanoseconds should
2450 * is not supported (older firmware) a format of seconds and nanoseconds should
2464 /* Minimum acceptable value for a corrected synchronization timeset. When
2465 * comparing host and NIC clock times, the MC returns a set of samples that
2492 #define MC_CMD_PTP_OUT_GET_ATTRIBUTES_RESERVED2_OFST 20
2528 #define MC_CMD_PTP_OUT_GET_TIMESTAMP_CORRECTIONS_V2_GENERAL_RX_OFST 20
2568 /* The last dword is the status, not a value read */
2622 * INTERVAL is interpreted as a command: 0: stop OCSD / 1: Report OCSD current
2632 /* The address to the array of sensor fields. (Or NULL to use a sub-command.)
2721 /* Status the MDIO commands return the raw status bits from the MDIO block. A
2740 #define MC_CMD_MDIO_WRITE_IN_LEN 20
2769 /* Status; the MDIO commands return the raw status bits from the MDIO block. A
2832 * Read a 32-bit register from the indirect port register map. The port to
2855 * Write a 32-bit register to the indirect port register map. The port to
2878 * Read a 128-bit register from the indirect port register map. The port to
2890 #define MC_CMD_PORT_READ128_OUT_LEN 20
2901 * Write a 128-bit register to the indirect port register map. The port to
2907 #define MC_CMD_PORT_WRITE128_IN_LEN 20
3010 /* Siena only. This field contains a 16-bit value for each of the types of
3011 * NVRAM area. The values are defined in the firmware/mc/platform/.c file for a
3128 * issue a subsequent MC_CMD_GET_CAPABILITIES command to determine which
3277 * handled by the NIC. This is a zero-terminated ASCII string.
3280 #define MC_CMD_DRV_ATTACH_IN_V2_DRIVER_VERSION_LEN 20
3367 /* Optional flags field. Omitting this will perform a "legacy" reset action
3442 #define MC_CMD_RXD_MONITOR_OUT_RING_LT_4_OFST 20
3511 * Report PHY configuration. This guarantees to succeed even if the PHY is in a
3612 #define MC_CMD_PHY_CAP_25G_BASER_FEC_LBN 20
3624 #define MC_CMD_GET_PHY_CFG_OUT_STATS_MASK_OFST 20
3628 #define MC_CMD_GET_PHY_CFG_OUT_NAME_LEN 20
3662 #define MC_CMD_GET_PHY_CFG_OUT_REVISION_LEN 20
3667 * Start a BIST test on the PHY. Locks required: PHY_LOCK if doing a PHY BIST
3703 * Poll for BIST completion. Returns a single status code, and optionally some
3705 * after validating OUTLEN and MC_CMD_GET_PHY_CFG.TYPE. If a driver can't
3707 * OUT.RESULT. Locks required: PHY_LOCK if doing a PHY BIST. Return code: 0,
3749 /* Status of each channel A */
3750 #define MC_CMD_POLL_BIST_OUT_SFT9001_CABLE_STATUS_A_OFST 20
3857 #define MC_CMD_POLL_BIST_OUT_MEM_ACTUAL_OFST 20
3899 * Returns a bitmask of loopback modes available at each speed.
4005 #define MC_CMD_GET_LOOPBACK_MODES_OUT_10G_HI_OFST 20
4121 #define MC_CMD_GET_LOOPBACK_MODES_OUT_V2_10G_HI_OFST 20
4184 /* enum: Clause 74 BASE-R FEC (a.k.a Firecode) */
4254 #define MC_CMD_GET_LINK_OUT_FCNTL_OFST 20
4322 #define MC_CMD_GET_LINK_OUT_V2_FCNTL_OFST 20
4430 /* A loopback speed of "0" is supported, and means (choose any available
4466 /* A loopback speed of "0" is supported, and means (choose any available
4536 #define MC_CMD_SET_MAC_IN_FCNTL_OFST 20
4577 #define MC_CMD_SET_MAC_EXT_IN_FCNTL_OFST 20
4596 /* Select which parameters to configure. A parameter will only be modified if
4634 * Get generic PHY statistics. This call returns the statistics for a generic
4635 * PHY in a sparse array (indexed by the enumerate). Each value is represented
4636 * by a 32bit number. If the DMA_ADDR is 0, then no DMA is performed, and the
4672 /* enum: PMA-PMD SNR A. */
4729 #define MC_CMD_MAC_STATS_IN_LEN 20
4952 * GENERATION_END in a MAC_STATS_V2 response and otherwise unused.
4970 /* enum: Number of CTPIO fallbacks because a DMA packet was in progress on the
4974 /* enum: Number of times a CTPIO send wrote beyond frame end (informational
4996 /* enum: Number of CTPIO failures because the host started a new frame before
5000 /* enum: Number of CTPIO failures because a write was not a multiple of 32 bits
5005 * sending a CTPIO frame
5026 * GENERATION_END in a MAC_STATS_V3 response and otherwise unused.
5057 * GENERATION_END in a MAC_STATS_V4 response and otherwise unused.
5108 #define MC_CMD_MEMCPY_RECORD_TYPEDEF_FROM_ADDR_OFST 20
5110 #define MC_CMD_MEMCPY_RECORD_TYPEDEF_FROM_ADDR_LO_OFST 20
5125 * A common pattern is for a client to use generation counts to signal a dma
5126 * update of a datastructure. To facilitate this, this MCDI operation can
5131 * The source data can either come from a DMA from the host, or it can be
5132 * embedded within the request directly, thereby eliminating a DMA read. To
5161 * Set a WoL filter.
5174 /* A type value of 1 is unused. */
5207 #define MC_CMD_WOL_FILTER_SET_IN_IPV4_SYN_LEN 20
5276 * Remove a WoL filter. Locks required: None. Returns: 0, EINVAL, ENOSYS
5394 * Read info about a virtual NVRAM partition. Locks required: none. Returns: 0,
5444 #define MC_CMD_NVRAM_INFO_OUT_PHYSADDR_OFST 20
5476 #define MC_CMD_NVRAM_INFO_V2_OUT_PHYSADDR_OFST 20
5486 * Start a group of update operations on a virtual NVRAM partition. Locks
5488 * PHY_LOCK required and not held). In an adapter bound to a TSA controller,
5489 * MC_CMD_NVRAM_UPDATE_START can only be used on a subset of partition types
5491 * perform this operation on a restricted partition will return the error
5530 * Read data from a virtual NVRAM partition. Locks required: PHY_LOCK if
5562 /* Optional control info. If a partition is stored with an A/B versioning
5565 * from. This allows it to perform a read-modify-write-verify with the write
5577 /* enum: Read from the current partition of an A/B pair, even if holding the
5581 /* enum: Read from the non-current (i.e. to be updated) partition of an A/B
5601 * Write data to a virtual NVRAM partition. Locks required: PHY_LOCK if
5636 * Erase sector(s) from a virtual NVRAM partition. Locks required: PHY_LOCK if
5662 * Finish a group of update operations on a virtual NVRAM partition. Locks
5665 * a TSA controller, MC_CMD_NVRAM_UPDATE_FINISH can only be used on a subset of
5667 * Attempting to perform this operation on a restricted partition will return
5722 * This process takes a few seconds to complete. So is likely to take more than
5725 * MCDI command is run in a background MCDI processing thread. This response
5733 * the field are marked with a prefix 'Internal-error'.
5767 /* enum: The image contains a test-signed certificate, but the adapter accepts
5771 /* enum: The image has a lower security level than the current firmware. */
5779 /* enum: Internal-error. The bundle does not have a valid reflash image layout.
5790 /* enum: Internal-error. The number of components in a bundle do not match the
5802 /* enum: Internal-error. The hash of a component does not match the hash stored
5808 /* enum: Internal-error. The component does not have a valid reflash image
5812 /* enum: The bundle processing code failed to copy a component to its target
5825 * assertion failure (at which point it is expected to perform a complete tear
5835 * Locks required: NONE Returns: Nothing. You get back a response with ERR=1,
5916 * Each sensor has a single (16bit) value, and a corresponding state. The
5920 * This call returns a mask (32bit) of the sensors that are supported by this
5924 * equal limit values. If one range is used, a value outside that range results
5925 * in STATE_FATAL. If two ranges are used, a value outside the second range
5926 * results in STATE_FATAL while a value outside the first and inside the second
5934 * If the request does not contain a PAGE value then firmware will only return
5937 * If the request contains a PAGE value then firmware responds with the sensor
6049 /* enum: Not a sensor: reserved for the next page flag */
6085 /* enum: 0.9v power phase A voltage: mV */
6087 /* enum: 0.9v power phase A current: mA */
6089 /* enum: 0.9V voltage regulator phase A temperature: degC */
6107 /* enum: Not a sensor: reserved for the next page flag */
6177 /* enum: Not a sensor: reserved for the next page flag */
6234 * sensors), into host memory. Each array element is a
6242 * The MC will send a SENSOREVT event every time any sensor changes state. The
6322 /* enum: Sensor is working but does not currently have a reading. */
6338 * Report current state of PHY. A 'zombie' PHY is a PHY that has failed to boot
6363 * disable 802.Qbb for a given priority.
6396 * Add a protocol offload to NIC for lights-out state. Locks required: None.
6448 * Remove a protocol offload from NIC for lights-out state. Locks required:
6508 /* enum: Deliberately trigger a watchdog */
6510 /* enum: Deliberately trigger a trap by loading from an invalid address */
6512 /* enum: Deliberately trigger a trap by storing to an invalid address */
6523 * Enable/Disable a given workaround. The mcfw will return EINVAL if it doesn't
6524 * understand the given workaround number - which should not be treated as a
6526 * workaround, that's between the driver and the mcfw on a per-workaround
6588 * output data, are interpreted on a per-type basis. For SFP+: PAGE=0 or 1
6589 * returns a 128-byte block read from module I2C address 0xA0 offset 0 or 0x80.
6620 * Test a particular NVRAM partition for valid contents (where "valid" depends
6692 * Adjusts the sensor limits. This is a warranty-voiding operation. Returns:
6702 #define MC_CMD_SENSOR_SET_LIMS_IN_LEN 20
6776 * Reads soft metadata for a virtual NVRAM partition type. Locks required:
6791 #define MC_CMD_NVRAM_METADATA_OUT_LENMIN 20
6794 #define MC_CMD_NVRAM_METADATA_OUT_LEN(num) (20+1*(num))
6795 #define MC_CMD_NVRAM_METADATA_OUT_DESCRIPTION_NUM(len) (((len)-20)/1)
6826 #define MC_CMD_NVRAM_METADATA_OUT_DESCRIPTION_OFST 20
6863 * Perform a CLP related operation, see SF-110495-PS for details of CLP
6904 /* The MAC address assigned to port. A zero MAC address of 00:00:00:00:00:00
6906 * port. A non-zero MAC address persists until a PCIe reset or a power cycle.
6921 /* The MAC address assigned to port. A zero MAC address of 00:00:00:00:00:00
6923 * port. A non-zero MAC address persists until a PCIe reset or a power cycle.
6988 * Perform a MUM operation
7347 #define MC_CMD_MUM_IN_QSFP_RECONFIGURE_PORT_LINK_SPEED_OFST 20
7612 #define MC_CMD_MUM_OUT_READ_DDR_INFO_VOLTAGE_LBN 20
7652 /* A value below this will trigger a warning event. */
7657 /* A value below this will trigger a critical event. */
7662 /* A value below this will shut down the card. */
7667 /* A value above this will trigger a warning event. */
7672 /* A value above this will trigger a critical event. */
7677 /* A value above this will shut down the card. */
7678 #define MC_CMD_DYNAMIC_SENSORS_LIMITS_HI_FATAL_OFST 20
7683 /* MC_CMD_DYNAMIC_SENSORS_DESCRIPTION structuredef: Description of a sensor.
7695 /* A human-readable name for the sensor (zero terminated string, max 32 bytes)
7706 /* enum: A voltage sensor. Unit is mV */
7708 /* enum: A current sensor. Unit is mA */
7710 /* enum: A power sensor. Unit is mW */
7712 /* enum: A temperature sensor. Unit is Celsius */
7714 /* enum: A cooling fan sensor. Unit is RPM */
7718 /* A single MC_CMD_DYNAMIC_SENSORS_LIMITS structure */
7724 /* MC_CMD_DYNAMIC_SENSORS_READING structuredef: State and value of a sensor.
7762 * Return a complete list of handles for sensors currently managed by the MC,
7763 * and a generation count for this version of the sensor table. On systems
7774 * table is modified, a CODE_DYNAMIC_SENSORS_CHANGE event will be generated
7779 * The sensor count is provided to allow a future path to supporting more than
7781 * the maximum number that will fit in a single response. As this is a fairly
7785 * On Riverhead this command is implemented as a a wrapper for `list` in the
7802 /* Generation count, which will be updated each time a sensor is added to or
7822 * Get descriptions for a set of sensors, specified as an array of sensor
7825 * Any handles which do not correspond to a sensor currently managed by the MC
7826 * will be dropped from from the response. This may happen when a sensor table
7830 * On Riverhead this command is implemented as a a wrapper for
7867 * Read the state and value for a set of sensors, specified as an array of
7870 * In the case of a broken sensor, then the state of the response's
7874 * Any handles which do not correspond to a sensor currently managed by the MC
7875 * will be dropped from from the response. This may happen when a sensor table
7879 * On Riverhead this command is implemented as a a wrapper for `get_readings`
8101 * platforms. See SF-119124-PS. The STATIC_CONFIG partition may contain a
8108 * a bundle update in TLV format
8314 /* enum: This is a TX completion event, not a timestamp */
8316 /* enum: This is a TX completion event for a CTPIO transmit. The event format
8320 /* enum: This is the low part of a TX timestamp for a CTPIO transmission. The
8324 /* enum: This is the high part of a TX timestamp for a CTPIO transmission. The
8328 /* enum: This is the low part of a TX timestamp event */
8330 /* enum: This is the high part of a TX timestamp event */
8342 /* The RSS mode for a particular packet type is a value from 0 - 15 which can
8343 * be considered as 4 bits selecting which fields are included in the hash. (A
8345 * generation tools require this structure to be a whole number of bytes wide,
8381 * Get a dump of the MCPU registers
8393 /* Whether the corresponding register entry contains a valid value */
8423 /* Desired instance. Must be set to a specific instance, which is a function
8459 #define MC_CMD_INIT_EVQ_IN_TMR_MODE_OFST 20
8473 * MC_CMD_RESOURCE_INSTANCE_ANY unless a specific one required for test
8516 /* Desired instance. Must be set to a specific instance, which is a function
8577 #define MC_CMD_INIT_EVQ_V2_IN_TMR_MODE_OFST 20
8591 * MC_CMD_RESOURCE_INSTANCE_ANY unless a specific one required for test
8662 * set up a receive queue according to the supplied parameters. The IN
8689 /* Desired instance. Must be set to a specific instance, which is a function
8722 #define MC_CMD_INIT_RXQ_IN_OWNER_ID_OFST 20
8754 /* Desired instance. Must be set to a specific instance, which is a function
8792 * multiple fixed-size packet buffers within each bucket. For a full
8817 #define MC_CMD_INIT_RXQ_EXT_IN_FLAG_NO_CONT_EV_LBN 20
8820 #define MC_CMD_INIT_RXQ_EXT_IN_OWNER_ID_OFST 20
8851 /* Desired instance. Must be set to a specific instance, which is a function
8889 * multiple fixed-size packet buffers within each bucket. For a full
8914 #define MC_CMD_INIT_RXQ_V3_IN_FLAG_NO_CONT_EV_LBN 20
8917 #define MC_CMD_INIT_RXQ_V3_IN_OWNER_ID_OFST 20
8944 /* The length in bytes of a single packet buffer within a
8952 * are still no descriptors then the packet will be dropped. A timeout of 0
8960 * for systems with a QDMA (currently, Riverhead)
8977 /* Desired instance. Must be set to a specific instance, which is a function
9015 * multiple fixed-size packet buffers within each bucket. For a full
9040 #define MC_CMD_INIT_RXQ_V4_IN_FLAG_NO_CONT_EV_LBN 20
9043 #define MC_CMD_INIT_RXQ_V4_IN_OWNER_ID_OFST 20
9070 /* The length in bytes of a single packet buffer within a
9078 * are still no descriptors then the packet will be dropped. A timeout of 0
9089 * Riverhead there is a global limit of eight different buffer sizes across all
9090 * active queues. A 2KB and 4KB buffer is guaranteed to be available, but a
9091 * request for a different buffer size will fail if there are already eight
9098 /* MC_CMD_INIT_RXQ_V5_IN msgrequest: INIT_RXQ request with ability to request a
9116 /* Desired instance. Must be set to a specific instance, which is a function
9154 * multiple fixed-size packet buffers within each bucket. For a full
9179 #define MC_CMD_INIT_RXQ_V5_IN_FLAG_NO_CONT_EV_LBN 20
9182 #define MC_CMD_INIT_RXQ_V5_IN_OWNER_ID_OFST 20
9209 /* The length in bytes of a single packet buffer within a
9217 * are still no descriptors then the packet will be dropped. A timeout of 0
9228 * Riverhead there is a global limit of eight different buffer sizes across all
9229 * active queues. A 2KB and 4KB buffer is guaranteed to be available, but a
9230 * request for a different buffer size will fail if there are already eight
9237 * Zero is always a valid prefix id and means the default prefix format
9239 * MC_CMD_GET_RX_PREFIX_ID with a requested set of prefix fields.
9287 /* Desired instance. Must be set to a specific instance, which is a function
9323 #define MC_CMD_INIT_TXQ_IN_OWNER_ID_OFST 20
9352 /* Desired instance. Must be set to a specific instance, which is a function
9403 #define MC_CMD_INIT_TXQ_EXT_IN_OWNER_ID_OFST 20
9456 * Teardown a RXQ.
9475 * Teardown a TXQ.
9518 * Execute an arbitrary MCDI command on behalf of a different function, subject
9560 /* The requesting virtual function number. Set to VF_NULL if the target is a
9577 /* If a request is authorized rather than carried out by the host, this is the
9589 * a designated admin function
9603 /* Host provides a contiguous memory buffer that contains at least NUM_BLOCKS
9610 /* Must be a power of 2 */
9613 /* Host provides a contiguous memory buffer that contains at least NUM_BLOCKS
9619 #define MC_CMD_PROXY_CONFIGURE_IN_REQUEST_BUFF_ADDR_HI_OFST 20
9620 /* Must be a power of 2 */
9623 /* Host provides a contiguous memory buffer that contains at least NUM_BLOCKS
9631 /* Must be a power of 2, or zero if this buffer is not provided */
9637 /* A bit mask defining which MCDI operations may be proxied */
9648 /* Host provides a contiguous memory buffer that contains at least NUM_BLOCKS
9655 /* Must be a power of 2 */
9658 /* Host provides a contiguous memory buffer that contains at least NUM_BLOCKS
9664 #define MC_CMD_PROXY_CONFIGURE_EXT_IN_REQUEST_BUFF_ADDR_HI_OFST 20
9665 /* Must be a power of 2 */
9668 /* Host provides a contiguous memory buffer that contains at least NUM_BLOCKS
9676 /* Must be a power of 2, or zero if this buffer is not provided */
9682 /* A bit mask defining which MCDI operations may be proxied */
9694 * Tells FW that a requested proxy operation has either been completed (by
9733 * Allocate a set of buffer table entries using the specified owner ID. This
9747 /* Size of buffer table pages to use, in bytes (note that only a few values are
9766 * Reprogram a set of buffer table entries in the specified chunk.
9774 #define MC_CMD_PROGRAM_BUFTBL_ENTRIES_IN_LENMIN 20
9898 #define MC_CMD_FILTER_OP_IN_RX_DEST_OFST 20
9922 /* enum: install a filter entry that will never match; for test purposes only
10072 #define MC_CMD_FILTER_OP_EXT_IN_MATCH_IFRM_OUTER_VLAN_LBN 20
10096 #define MC_CMD_FILTER_OP_EXT_IN_RX_DEST_OFST 20
10120 /* enum: install a filter entry that will never match; for test purposes only
10350 #define MC_CMD_FILTER_OP_V3_IN_MATCH_IFRM_OUTER_VLAN_LBN 20
10374 #define MC_CMD_FILTER_OP_V3_IN_RX_DEST_OFST 20
10398 /* enum: install a filter entry that will never match; for test purposes only
10562 /* the mark value for MATCH_ACTION_MARK. Requesting a value larger than the
10577 * handles should be considered opaque to the host, although a value of
10578 * 0xFFFFFFFF_FFFFFFFF is guaranteed never to be a valid handle.
10597 * handles should be considered opaque to the host, although a value of
10598 * 0xFFFFFFFF_FFFFFFFF is guaranteed never to be a valid handle.
10633 * encapsulated frames, which follow a different match sequence to normal
10680 * returned if a MC_CMD_GET_PARSER_DISP_INFO_IN request is sent with OP value
10732 * by cmdclient as a fallback for very old Huntington firmware, and not
10748 /* enum: Read a word of DICPU DMEM or a LUE entry */
10750 /* enum: Write a word of DICPU DMEM or a LUE entry. Not permitted on
10754 /* enum: Read-modify-write a word of DICPU DMEM (not valid for LUE). Not
10780 #define MC_CMD_PARSER_DISP_RW_IN_LUE_WRITE_VALUE_LEN 20
10789 #define MC_CMD_PARSER_DISP_RW_OUT_LUE_READ_VALUE_LEN 20
10793 #define MC_CMD_PARSER_DISP_RW_OUT_LUE_MGR_STATE_OFST 20
10952 #define MC_CMD_GET_SRIOV_CFG_OUT_LEN 20
10982 #define MC_CMD_SET_SRIOV_CFG_IN_LEN 20
11000 * MC_CMD_RESOURCE_INSTANCE_ANY to allow the system to allocate a stride.
11039 * For CmdClient use. Dump pertinent information on a specific absolute VI.
11078 #define MC_CMD_DUMP_VI_STATE_OUT_VI_EV_TIMER_RAW_OFST 20
11080 #define MC_CMD_DUMP_VI_STATE_OUT_VI_EV_TIMER_RAW_LO_OFST 20
11165 * Allocate a push I/O buffer for later use with a tx queue.
11184 * Free a push I/O buffer.
11203 * Get TLP steering and ordering information for a VI.
11242 * Set TLP steering and ordering information for a VI.
11430 * Download a new set of images to the satellite CPUs from the host.
11438 * are subtle, and so downloads must proceed in a number of phases.
11440 * 1) PHASE_RESET with a target of TARGET_ALL and chunk ID/length of 0.
11444 * be a checksum (a simple 32-bit sum) of the transferred data. An individual
11450 * 4) PHASE_READY with a target of TARGET_ALL and chunk ID/length of 0.
11452 * After any error (a requested abort is not considered to be an error) the
11455 #define MC_CMD_SATELLITE_DOWNLOAD_IN_LENMIN 20
11461 * in a command from the host.)
11568 #define MC_CMD_GET_CAPABILITIES_OUT_LEN 20
11624 #define MC_CMD_GET_CAPABILITIES_OUT_RX_VLAN_STRIPPING_LBN 20
11877 #define MC_CMD_GET_CAPABILITIES_V2_OUT_RX_VLAN_STRIPPING_LBN 20
12070 #define MC_CMD_GET_CAPABILITIES_V2_OUT_FLAGS2_OFST 20
12072 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TX_TSO_V2_OFST 20
12075 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TX_TSO_V2_ENCAP_OFST 20
12078 #define MC_CMD_GET_CAPABILITIES_V2_OUT_EVQ_TIMER_CTRL_OFST 20
12081 #define MC_CMD_GET_CAPABILITIES_V2_OUT_EVENT_CUT_THROUGH_OFST 20
12084 #define MC_CMD_GET_CAPABILITIES_V2_OUT_RX_CUT_THROUGH_OFST 20
12087 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TX_VFIFO_ULL_MODE_OFST 20
12090 #define MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
12093 #define MC_CMD_GET_CAPABILITIES_V2_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
12096 #define MC_CMD_GET_CAPABILITIES_V2_OUT_INIT_EVQ_V2_OFST 20
12099 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TX_MAC_TIMESTAMPING_OFST 20
12102 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TX_TIMESTAMP_OFST 20
12105 #define MC_CMD_GET_CAPABILITIES_V2_OUT_RX_SNIFF_OFST 20
12108 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TX_SNIFF_OFST 20
12111 #define MC_CMD_GET_CAPABILITIES_V2_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
12114 #define MC_CMD_GET_CAPABILITIES_V2_OUT_MCDI_BACKGROUND_OFST 20
12117 #define MC_CMD_GET_CAPABILITIES_V2_OUT_MCDI_DB_RETURN_OFST 20
12120 #define MC_CMD_GET_CAPABILITIES_V2_OUT_CTPIO_OFST 20
12123 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TSA_SUPPORT_OFST 20
12126 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TSA_BOUND_OFST 20
12129 #define MC_CMD_GET_CAPABILITIES_V2_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
12132 #define MC_CMD_GET_CAPABILITIES_V2_OUT_FILTER_ACTION_FLAG_OFST 20
12135 #define MC_CMD_GET_CAPABILITIES_V2_OUT_FILTER_ACTION_MARK_OFST 20
12136 #define MC_CMD_GET_CAPABILITIES_V2_OUT_FILTER_ACTION_MARK_LBN 20
12138 #define MC_CMD_GET_CAPABILITIES_V2_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
12141 #define MC_CMD_GET_CAPABILITIES_V2_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
12144 #define MC_CMD_GET_CAPABILITIES_V2_OUT_L3XUDP_SUPPORT_OFST 20
12147 #define MC_CMD_GET_CAPABILITIES_V2_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
12150 #define MC_CMD_GET_CAPABILITIES_V2_OUT_VI_SPREADING_OFST 20
12153 #define MC_CMD_GET_CAPABILITIES_V2_OUT_RXDP_HLB_IDLE_OFST 20
12156 #define MC_CMD_GET_CAPABILITIES_V2_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
12159 #define MC_CMD_GET_CAPABILITIES_V2_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
12162 #define MC_CMD_GET_CAPABILITIES_V2_OUT_BUNDLE_UPDATE_OFST 20
12165 #define MC_CMD_GET_CAPABILITIES_V2_OUT_TX_TSO_V3_OFST 20
12168 #define MC_CMD_GET_CAPABILITIES_V2_OUT_DYNAMIC_SENSORS_OFST 20
12171 #define MC_CMD_GET_CAPABILITIES_V2_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
12180 * PF, indexed by PF number. Special values indicate that a PF is either not
12193 * in this field. It is intended for a possible future situation where a more
12195 * should look for a new field supporting the new scheme. The current/old
12199 /* One byte per PF containing the number of its VFs, indexed by PF number. A
12200 * special value indicates that a PF is not present.
12226 /* Size of a single PIO buffer */
12287 #define MC_CMD_GET_CAPABILITIES_V3_OUT_RX_VLAN_STRIPPING_LBN 20
12480 #define MC_CMD_GET_CAPABILITIES_V3_OUT_FLAGS2_OFST 20
12482 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TX_TSO_V2_OFST 20
12485 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TX_TSO_V2_ENCAP_OFST 20
12488 #define MC_CMD_GET_CAPABILITIES_V3_OUT_EVQ_TIMER_CTRL_OFST 20
12491 #define MC_CMD_GET_CAPABILITIES_V3_OUT_EVENT_CUT_THROUGH_OFST 20
12494 #define MC_CMD_GET_CAPABILITIES_V3_OUT_RX_CUT_THROUGH_OFST 20
12497 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TX_VFIFO_ULL_MODE_OFST 20
12500 #define MC_CMD_GET_CAPABILITIES_V3_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
12503 #define MC_CMD_GET_CAPABILITIES_V3_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
12506 #define MC_CMD_GET_CAPABILITIES_V3_OUT_INIT_EVQ_V2_OFST 20
12509 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TX_MAC_TIMESTAMPING_OFST 20
12512 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TX_TIMESTAMP_OFST 20
12515 #define MC_CMD_GET_CAPABILITIES_V3_OUT_RX_SNIFF_OFST 20
12518 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TX_SNIFF_OFST 20
12521 #define MC_CMD_GET_CAPABILITIES_V3_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
12524 #define MC_CMD_GET_CAPABILITIES_V3_OUT_MCDI_BACKGROUND_OFST 20
12527 #define MC_CMD_GET_CAPABILITIES_V3_OUT_MCDI_DB_RETURN_OFST 20
12530 #define MC_CMD_GET_CAPABILITIES_V3_OUT_CTPIO_OFST 20
12533 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TSA_SUPPORT_OFST 20
12536 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TSA_BOUND_OFST 20
12539 #define MC_CMD_GET_CAPABILITIES_V3_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
12542 #define MC_CMD_GET_CAPABILITIES_V3_OUT_FILTER_ACTION_FLAG_OFST 20
12545 #define MC_CMD_GET_CAPABILITIES_V3_OUT_FILTER_ACTION_MARK_OFST 20
12546 #define MC_CMD_GET_CAPABILITIES_V3_OUT_FILTER_ACTION_MARK_LBN 20
12548 #define MC_CMD_GET_CAPABILITIES_V3_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
12551 #define MC_CMD_GET_CAPABILITIES_V3_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
12554 #define MC_CMD_GET_CAPABILITIES_V3_OUT_L3XUDP_SUPPORT_OFST 20
12557 #define MC_CMD_GET_CAPABILITIES_V3_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
12560 #define MC_CMD_GET_CAPABILITIES_V3_OUT_VI_SPREADING_OFST 20
12563 #define MC_CMD_GET_CAPABILITIES_V3_OUT_RXDP_HLB_IDLE_OFST 20
12566 #define MC_CMD_GET_CAPABILITIES_V3_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
12569 #define MC_CMD_GET_CAPABILITIES_V3_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
12572 #define MC_CMD_GET_CAPABILITIES_V3_OUT_BUNDLE_UPDATE_OFST 20
12575 #define MC_CMD_GET_CAPABILITIES_V3_OUT_TX_TSO_V3_OFST 20
12578 #define MC_CMD_GET_CAPABILITIES_V3_OUT_DYNAMIC_SENSORS_OFST 20
12581 #define MC_CMD_GET_CAPABILITIES_V3_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
12590 * PF, indexed by PF number. Special values indicate that a PF is either not
12603 * in this field. It is intended for a possible future situation where a more
12605 * should look for a new field supporting the new scheme. The current/old
12609 /* One byte per PF containing the number of its VFs, indexed by PF number. A
12610 * special value indicates that a PF is not present.
12636 /* Size of a single PIO buffer */
12640 * is configurable. This is a global setting that the driver must query to
12722 #define MC_CMD_GET_CAPABILITIES_V4_OUT_RX_VLAN_STRIPPING_LBN 20
12915 #define MC_CMD_GET_CAPABILITIES_V4_OUT_FLAGS2_OFST 20
12917 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TX_TSO_V2_OFST 20
12920 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TX_TSO_V2_ENCAP_OFST 20
12923 #define MC_CMD_GET_CAPABILITIES_V4_OUT_EVQ_TIMER_CTRL_OFST 20
12926 #define MC_CMD_GET_CAPABILITIES_V4_OUT_EVENT_CUT_THROUGH_OFST 20
12929 #define MC_CMD_GET_CAPABILITIES_V4_OUT_RX_CUT_THROUGH_OFST 20
12932 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TX_VFIFO_ULL_MODE_OFST 20
12935 #define MC_CMD_GET_CAPABILITIES_V4_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
12938 #define MC_CMD_GET_CAPABILITIES_V4_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
12941 #define MC_CMD_GET_CAPABILITIES_V4_OUT_INIT_EVQ_V2_OFST 20
12944 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TX_MAC_TIMESTAMPING_OFST 20
12947 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TX_TIMESTAMP_OFST 20
12950 #define MC_CMD_GET_CAPABILITIES_V4_OUT_RX_SNIFF_OFST 20
12953 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TX_SNIFF_OFST 20
12956 #define MC_CMD_GET_CAPABILITIES_V4_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
12959 #define MC_CMD_GET_CAPABILITIES_V4_OUT_MCDI_BACKGROUND_OFST 20
12962 #define MC_CMD_GET_CAPABILITIES_V4_OUT_MCDI_DB_RETURN_OFST 20
12965 #define MC_CMD_GET_CAPABILITIES_V4_OUT_CTPIO_OFST 20
12968 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TSA_SUPPORT_OFST 20
12971 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TSA_BOUND_OFST 20
12974 #define MC_CMD_GET_CAPABILITIES_V4_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
12977 #define MC_CMD_GET_CAPABILITIES_V4_OUT_FILTER_ACTION_FLAG_OFST 20
12980 #define MC_CMD_GET_CAPABILITIES_V4_OUT_FILTER_ACTION_MARK_OFST 20
12981 #define MC_CMD_GET_CAPABILITIES_V4_OUT_FILTER_ACTION_MARK_LBN 20
12983 #define MC_CMD_GET_CAPABILITIES_V4_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
12986 #define MC_CMD_GET_CAPABILITIES_V4_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
12989 #define MC_CMD_GET_CAPABILITIES_V4_OUT_L3XUDP_SUPPORT_OFST 20
12992 #define MC_CMD_GET_CAPABILITIES_V4_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
12995 #define MC_CMD_GET_CAPABILITIES_V4_OUT_VI_SPREADING_OFST 20
12998 #define MC_CMD_GET_CAPABILITIES_V4_OUT_RXDP_HLB_IDLE_OFST 20
13001 #define MC_CMD_GET_CAPABILITIES_V4_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
13004 #define MC_CMD_GET_CAPABILITIES_V4_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
13007 #define MC_CMD_GET_CAPABILITIES_V4_OUT_BUNDLE_UPDATE_OFST 20
13010 #define MC_CMD_GET_CAPABILITIES_V4_OUT_TX_TSO_V3_OFST 20
13013 #define MC_CMD_GET_CAPABILITIES_V4_OUT_DYNAMIC_SENSORS_OFST 20
13016 #define MC_CMD_GET_CAPABILITIES_V4_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
13025 * PF, indexed by PF number. Special values indicate that a PF is either not
13038 * in this field. It is intended for a possible future situation where a more
13040 * should look for a new field supporting the new scheme. The current/old
13044 /* One byte per PF containing the number of its VFs, indexed by PF number. A
13045 * special value indicates that a PF is not present.
13071 /* Size of a single PIO buffer */
13075 * is configurable. This is a global setting that the driver must query to
13100 * entry. For MAC stats DMA, drivers should allocate a buffer large enough to
13165 #define MC_CMD_GET_CAPABILITIES_V5_OUT_RX_VLAN_STRIPPING_LBN 20
13358 #define MC_CMD_GET_CAPABILITIES_V5_OUT_FLAGS2_OFST 20
13360 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TX_TSO_V2_OFST 20
13363 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TX_TSO_V2_ENCAP_OFST 20
13366 #define MC_CMD_GET_CAPABILITIES_V5_OUT_EVQ_TIMER_CTRL_OFST 20
13369 #define MC_CMD_GET_CAPABILITIES_V5_OUT_EVENT_CUT_THROUGH_OFST 20
13372 #define MC_CMD_GET_CAPABILITIES_V5_OUT_RX_CUT_THROUGH_OFST 20
13375 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TX_VFIFO_ULL_MODE_OFST 20
13378 #define MC_CMD_GET_CAPABILITIES_V5_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
13381 #define MC_CMD_GET_CAPABILITIES_V5_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
13384 #define MC_CMD_GET_CAPABILITIES_V5_OUT_INIT_EVQ_V2_OFST 20
13387 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TX_MAC_TIMESTAMPING_OFST 20
13390 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TX_TIMESTAMP_OFST 20
13393 #define MC_CMD_GET_CAPABILITIES_V5_OUT_RX_SNIFF_OFST 20
13396 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TX_SNIFF_OFST 20
13399 #define MC_CMD_GET_CAPABILITIES_V5_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
13402 #define MC_CMD_GET_CAPABILITIES_V5_OUT_MCDI_BACKGROUND_OFST 20
13405 #define MC_CMD_GET_CAPABILITIES_V5_OUT_MCDI_DB_RETURN_OFST 20
13408 #define MC_CMD_GET_CAPABILITIES_V5_OUT_CTPIO_OFST 20
13411 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TSA_SUPPORT_OFST 20
13414 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TSA_BOUND_OFST 20
13417 #define MC_CMD_GET_CAPABILITIES_V5_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
13420 #define MC_CMD_GET_CAPABILITIES_V5_OUT_FILTER_ACTION_FLAG_OFST 20
13423 #define MC_CMD_GET_CAPABILITIES_V5_OUT_FILTER_ACTION_MARK_OFST 20
13424 #define MC_CMD_GET_CAPABILITIES_V5_OUT_FILTER_ACTION_MARK_LBN 20
13426 #define MC_CMD_GET_CAPABILITIES_V5_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
13429 #define MC_CMD_GET_CAPABILITIES_V5_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
13432 #define MC_CMD_GET_CAPABILITIES_V5_OUT_L3XUDP_SUPPORT_OFST 20
13435 #define MC_CMD_GET_CAPABILITIES_V5_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
13438 #define MC_CMD_GET_CAPABILITIES_V5_OUT_VI_SPREADING_OFST 20
13441 #define MC_CMD_GET_CAPABILITIES_V5_OUT_RXDP_HLB_IDLE_OFST 20
13444 #define MC_CMD_GET_CAPABILITIES_V5_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
13447 #define MC_CMD_GET_CAPABILITIES_V5_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
13450 #define MC_CMD_GET_CAPABILITIES_V5_OUT_BUNDLE_UPDATE_OFST 20
13453 #define MC_CMD_GET_CAPABILITIES_V5_OUT_TX_TSO_V3_OFST 20
13456 #define MC_CMD_GET_CAPABILITIES_V5_OUT_DYNAMIC_SENSORS_OFST 20
13459 #define MC_CMD_GET_CAPABILITIES_V5_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
13468 * PF, indexed by PF number. Special values indicate that a PF is either not
13481 * in this field. It is intended for a possible future situation where a more
13483 * should look for a new field supporting the new scheme. The current/old
13487 /* One byte per PF containing the number of its VFs, indexed by PF number. A
13488 * special value indicates that a PF is not present.
13514 /* Size of a single PIO buffer */
13518 * is configurable. This is a global setting that the driver must query to
13543 * entry. For MAC stats DMA, drivers should allocate a buffer large enough to
13613 #define MC_CMD_GET_CAPABILITIES_V6_OUT_RX_VLAN_STRIPPING_LBN 20
13806 #define MC_CMD_GET_CAPABILITIES_V6_OUT_FLAGS2_OFST 20
13808 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TX_TSO_V2_OFST 20
13811 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TX_TSO_V2_ENCAP_OFST 20
13814 #define MC_CMD_GET_CAPABILITIES_V6_OUT_EVQ_TIMER_CTRL_OFST 20
13817 #define MC_CMD_GET_CAPABILITIES_V6_OUT_EVENT_CUT_THROUGH_OFST 20
13820 #define MC_CMD_GET_CAPABILITIES_V6_OUT_RX_CUT_THROUGH_OFST 20
13823 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TX_VFIFO_ULL_MODE_OFST 20
13826 #define MC_CMD_GET_CAPABILITIES_V6_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
13829 #define MC_CMD_GET_CAPABILITIES_V6_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
13832 #define MC_CMD_GET_CAPABILITIES_V6_OUT_INIT_EVQ_V2_OFST 20
13835 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TX_MAC_TIMESTAMPING_OFST 20
13838 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TX_TIMESTAMP_OFST 20
13841 #define MC_CMD_GET_CAPABILITIES_V6_OUT_RX_SNIFF_OFST 20
13844 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TX_SNIFF_OFST 20
13847 #define MC_CMD_GET_CAPABILITIES_V6_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
13850 #define MC_CMD_GET_CAPABILITIES_V6_OUT_MCDI_BACKGROUND_OFST 20
13853 #define MC_CMD_GET_CAPABILITIES_V6_OUT_MCDI_DB_RETURN_OFST 20
13856 #define MC_CMD_GET_CAPABILITIES_V6_OUT_CTPIO_OFST 20
13859 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TSA_SUPPORT_OFST 20
13862 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TSA_BOUND_OFST 20
13865 #define MC_CMD_GET_CAPABILITIES_V6_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
13868 #define MC_CMD_GET_CAPABILITIES_V6_OUT_FILTER_ACTION_FLAG_OFST 20
13871 #define MC_CMD_GET_CAPABILITIES_V6_OUT_FILTER_ACTION_MARK_OFST 20
13872 #define MC_CMD_GET_CAPABILITIES_V6_OUT_FILTER_ACTION_MARK_LBN 20
13874 #define MC_CMD_GET_CAPABILITIES_V6_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
13877 #define MC_CMD_GET_CAPABILITIES_V6_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
13880 #define MC_CMD_GET_CAPABILITIES_V6_OUT_L3XUDP_SUPPORT_OFST 20
13883 #define MC_CMD_GET_CAPABILITIES_V6_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
13886 #define MC_CMD_GET_CAPABILITIES_V6_OUT_VI_SPREADING_OFST 20
13889 #define MC_CMD_GET_CAPABILITIES_V6_OUT_RXDP_HLB_IDLE_OFST 20
13892 #define MC_CMD_GET_CAPABILITIES_V6_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
13895 #define MC_CMD_GET_CAPABILITIES_V6_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
13898 #define MC_CMD_GET_CAPABILITIES_V6_OUT_BUNDLE_UPDATE_OFST 20
13901 #define MC_CMD_GET_CAPABILITIES_V6_OUT_TX_TSO_V3_OFST 20
13904 #define MC_CMD_GET_CAPABILITIES_V6_OUT_DYNAMIC_SENSORS_OFST 20
13907 #define MC_CMD_GET_CAPABILITIES_V6_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
13916 * PF, indexed by PF number. Special values indicate that a PF is either not
13929 * in this field. It is intended for a possible future situation where a more
13931 * should look for a new field supporting the new scheme. The current/old
13935 /* One byte per PF containing the number of its VFs, indexed by PF number. A
13936 * special value indicates that a PF is not present.
13962 /* Size of a single PIO buffer */
13966 * is configurable. This is a global setting that the driver must query to
13991 * entry. For MAC stats DMA, drivers should allocate a buffer large enough to
14004 * GET_CAPABILITIES_OUT_V2) is set, drivers have to specify a buffer size when
14005 * they create an RX queue. Due to hardware limitations, only a small number of
14072 #define MC_CMD_GET_CAPABILITIES_V7_OUT_RX_VLAN_STRIPPING_LBN 20
14265 #define MC_CMD_GET_CAPABILITIES_V7_OUT_FLAGS2_OFST 20
14267 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TX_TSO_V2_OFST 20
14270 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TX_TSO_V2_ENCAP_OFST 20
14273 #define MC_CMD_GET_CAPABILITIES_V7_OUT_EVQ_TIMER_CTRL_OFST 20
14276 #define MC_CMD_GET_CAPABILITIES_V7_OUT_EVENT_CUT_THROUGH_OFST 20
14279 #define MC_CMD_GET_CAPABILITIES_V7_OUT_RX_CUT_THROUGH_OFST 20
14282 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TX_VFIFO_ULL_MODE_OFST 20
14285 #define MC_CMD_GET_CAPABILITIES_V7_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
14288 #define MC_CMD_GET_CAPABILITIES_V7_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
14291 #define MC_CMD_GET_CAPABILITIES_V7_OUT_INIT_EVQ_V2_OFST 20
14294 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TX_MAC_TIMESTAMPING_OFST 20
14297 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TX_TIMESTAMP_OFST 20
14300 #define MC_CMD_GET_CAPABILITIES_V7_OUT_RX_SNIFF_OFST 20
14303 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TX_SNIFF_OFST 20
14306 #define MC_CMD_GET_CAPABILITIES_V7_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
14309 #define MC_CMD_GET_CAPABILITIES_V7_OUT_MCDI_BACKGROUND_OFST 20
14312 #define MC_CMD_GET_CAPABILITIES_V7_OUT_MCDI_DB_RETURN_OFST 20
14315 #define MC_CMD_GET_CAPABILITIES_V7_OUT_CTPIO_OFST 20
14318 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TSA_SUPPORT_OFST 20
14321 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TSA_BOUND_OFST 20
14324 #define MC_CMD_GET_CAPABILITIES_V7_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
14327 #define MC_CMD_GET_CAPABILITIES_V7_OUT_FILTER_ACTION_FLAG_OFST 20
14330 #define MC_CMD_GET_CAPABILITIES_V7_OUT_FILTER_ACTION_MARK_OFST 20
14331 #define MC_CMD_GET_CAPABILITIES_V7_OUT_FILTER_ACTION_MARK_LBN 20
14333 #define MC_CMD_GET_CAPABILITIES_V7_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
14336 #define MC_CMD_GET_CAPABILITIES_V7_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
14339 #define MC_CMD_GET_CAPABILITIES_V7_OUT_L3XUDP_SUPPORT_OFST 20
14342 #define MC_CMD_GET_CAPABILITIES_V7_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
14345 #define MC_CMD_GET_CAPABILITIES_V7_OUT_VI_SPREADING_OFST 20
14348 #define MC_CMD_GET_CAPABILITIES_V7_OUT_RXDP_HLB_IDLE_OFST 20
14351 #define MC_CMD_GET_CAPABILITIES_V7_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
14354 #define MC_CMD_GET_CAPABILITIES_V7_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
14357 #define MC_CMD_GET_CAPABILITIES_V7_OUT_BUNDLE_UPDATE_OFST 20
14360 #define MC_CMD_GET_CAPABILITIES_V7_OUT_TX_TSO_V3_OFST 20
14363 #define MC_CMD_GET_CAPABILITIES_V7_OUT_DYNAMIC_SENSORS_OFST 20
14366 #define MC_CMD_GET_CAPABILITIES_V7_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
14375 * PF, indexed by PF number. Special values indicate that a PF is either not
14388 * in this field. It is intended for a possible future situation where a more
14390 * should look for a new field supporting the new scheme. The current/old
14394 /* One byte per PF containing the number of its VFs, indexed by PF number. A
14395 * special value indicates that a PF is not present.
14421 /* Size of a single PIO buffer */
14425 * is configurable. This is a global setting that the driver must query to
14450 * entry. For MAC stats DMA, drivers should allocate a buffer large enough to
14463 * GET_CAPABILITIES_OUT_V2) is set, drivers have to specify a buffer size when
14464 * they create an RX queue. Due to hardware limitations, only a small number of
14558 #define MC_CMD_GET_CAPABILITIES_V8_OUT_RX_VLAN_STRIPPING_LBN 20
14751 #define MC_CMD_GET_CAPABILITIES_V8_OUT_FLAGS2_OFST 20
14753 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TX_TSO_V2_OFST 20
14756 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TX_TSO_V2_ENCAP_OFST 20
14759 #define MC_CMD_GET_CAPABILITIES_V8_OUT_EVQ_TIMER_CTRL_OFST 20
14762 #define MC_CMD_GET_CAPABILITIES_V8_OUT_EVENT_CUT_THROUGH_OFST 20
14765 #define MC_CMD_GET_CAPABILITIES_V8_OUT_RX_CUT_THROUGH_OFST 20
14768 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TX_VFIFO_ULL_MODE_OFST 20
14771 #define MC_CMD_GET_CAPABILITIES_V8_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
14774 #define MC_CMD_GET_CAPABILITIES_V8_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
14777 #define MC_CMD_GET_CAPABILITIES_V8_OUT_INIT_EVQ_V2_OFST 20
14780 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TX_MAC_TIMESTAMPING_OFST 20
14783 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TX_TIMESTAMP_OFST 20
14786 #define MC_CMD_GET_CAPABILITIES_V8_OUT_RX_SNIFF_OFST 20
14789 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TX_SNIFF_OFST 20
14792 #define MC_CMD_GET_CAPABILITIES_V8_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
14795 #define MC_CMD_GET_CAPABILITIES_V8_OUT_MCDI_BACKGROUND_OFST 20
14798 #define MC_CMD_GET_CAPABILITIES_V8_OUT_MCDI_DB_RETURN_OFST 20
14801 #define MC_CMD_GET_CAPABILITIES_V8_OUT_CTPIO_OFST 20
14804 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TSA_SUPPORT_OFST 20
14807 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TSA_BOUND_OFST 20
14810 #define MC_CMD_GET_CAPABILITIES_V8_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
14813 #define MC_CMD_GET_CAPABILITIES_V8_OUT_FILTER_ACTION_FLAG_OFST 20
14816 #define MC_CMD_GET_CAPABILITIES_V8_OUT_FILTER_ACTION_MARK_OFST 20
14817 #define MC_CMD_GET_CAPABILITIES_V8_OUT_FILTER_ACTION_MARK_LBN 20
14819 #define MC_CMD_GET_CAPABILITIES_V8_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
14822 #define MC_CMD_GET_CAPABILITIES_V8_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
14825 #define MC_CMD_GET_CAPABILITIES_V8_OUT_L3XUDP_SUPPORT_OFST 20
14828 #define MC_CMD_GET_CAPABILITIES_V8_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
14831 #define MC_CMD_GET_CAPABILITIES_V8_OUT_VI_SPREADING_OFST 20
14834 #define MC_CMD_GET_CAPABILITIES_V8_OUT_RXDP_HLB_IDLE_OFST 20
14837 #define MC_CMD_GET_CAPABILITIES_V8_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
14840 #define MC_CMD_GET_CAPABILITIES_V8_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
14843 #define MC_CMD_GET_CAPABILITIES_V8_OUT_BUNDLE_UPDATE_OFST 20
14846 #define MC_CMD_GET_CAPABILITIES_V8_OUT_TX_TSO_V3_OFST 20
14849 #define MC_CMD_GET_CAPABILITIES_V8_OUT_DYNAMIC_SENSORS_OFST 20
14852 #define MC_CMD_GET_CAPABILITIES_V8_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
14861 * PF, indexed by PF number. Special values indicate that a PF is either not
14874 * in this field. It is intended for a possible future situation where a more
14876 * should look for a new field supporting the new scheme. The current/old
14880 /* One byte per PF containing the number of its VFs, indexed by PF number. A
14881 * special value indicates that a PF is not present.
14907 /* Size of a single PIO buffer */
14911 * is configurable. This is a global setting that the driver must query to
14936 * entry. For MAC stats DMA, drivers should allocate a buffer large enough to
14949 * GET_CAPABILITIES_OUT_V2) is set, drivers have to specify a buffer size when
14950 * they create an RX queue. Due to hardware limitations, only a small number of
15052 #define MC_CMD_GET_CAPABILITIES_V9_OUT_RX_VLAN_STRIPPING_LBN 20
15245 #define MC_CMD_GET_CAPABILITIES_V9_OUT_FLAGS2_OFST 20
15247 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TX_TSO_V2_OFST 20
15250 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TX_TSO_V2_ENCAP_OFST 20
15253 #define MC_CMD_GET_CAPABILITIES_V9_OUT_EVQ_TIMER_CTRL_OFST 20
15256 #define MC_CMD_GET_CAPABILITIES_V9_OUT_EVENT_CUT_THROUGH_OFST 20
15259 #define MC_CMD_GET_CAPABILITIES_V9_OUT_RX_CUT_THROUGH_OFST 20
15262 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TX_VFIFO_ULL_MODE_OFST 20
15265 #define MC_CMD_GET_CAPABILITIES_V9_OUT_MAC_STATS_40G_TX_SIZE_BINS_OFST 20
15268 #define MC_CMD_GET_CAPABILITIES_V9_OUT_INIT_EVQ_TYPE_SUPPORTED_OFST 20
15271 #define MC_CMD_GET_CAPABILITIES_V9_OUT_INIT_EVQ_V2_OFST 20
15274 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TX_MAC_TIMESTAMPING_OFST 20
15277 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TX_TIMESTAMP_OFST 20
15280 #define MC_CMD_GET_CAPABILITIES_V9_OUT_RX_SNIFF_OFST 20
15283 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TX_SNIFF_OFST 20
15286 #define MC_CMD_GET_CAPABILITIES_V9_OUT_NVRAM_UPDATE_REPORT_VERIFY_RESULT_OFST 20
15289 #define MC_CMD_GET_CAPABILITIES_V9_OUT_MCDI_BACKGROUND_OFST 20
15292 #define MC_CMD_GET_CAPABILITIES_V9_OUT_MCDI_DB_RETURN_OFST 20
15295 #define MC_CMD_GET_CAPABILITIES_V9_OUT_CTPIO_OFST 20
15298 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TSA_SUPPORT_OFST 20
15301 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TSA_BOUND_OFST 20
15304 #define MC_CMD_GET_CAPABILITIES_V9_OUT_SF_ADAPTER_AUTHENTICATION_OFST 20
15307 #define MC_CMD_GET_CAPABILITIES_V9_OUT_FILTER_ACTION_FLAG_OFST 20
15310 #define MC_CMD_GET_CAPABILITIES_V9_OUT_FILTER_ACTION_MARK_OFST 20
15311 #define MC_CMD_GET_CAPABILITIES_V9_OUT_FILTER_ACTION_MARK_LBN 20
15313 #define MC_CMD_GET_CAPABILITIES_V9_OUT_EQUAL_STRIDE_SUPER_BUFFER_OFST 20
15316 #define MC_CMD_GET_CAPABILITIES_V9_OUT_EQUAL_STRIDE_PACKED_STREAM_OFST 20
15319 #define MC_CMD_GET_CAPABILITIES_V9_OUT_L3XUDP_SUPPORT_OFST 20
15322 #define MC_CMD_GET_CAPABILITIES_V9_OUT_FW_SUBVARIANT_NO_TX_CSUM_OFST 20
15325 #define MC_CMD_GET_CAPABILITIES_V9_OUT_VI_SPREADING_OFST 20
15328 #define MC_CMD_GET_CAPABILITIES_V9_OUT_RXDP_HLB_IDLE_OFST 20
15331 #define MC_CMD_GET_CAPABILITIES_V9_OUT_INIT_RXQ_NO_CONT_EV_OFST 20
15334 #define MC_CMD_GET_CAPABILITIES_V9_OUT_INIT_RXQ_WITH_BUFFER_SIZE_OFST 20
15337 #define MC_CMD_GET_CAPABILITIES_V9_OUT_BUNDLE_UPDATE_OFST 20
15340 #define MC_CMD_GET_CAPABILITIES_V9_OUT_TX_TSO_V3_OFST 20
15343 #define MC_CMD_GET_CAPABILITIES_V9_OUT_DYNAMIC_SENSORS_OFST 20
15346 #define MC_CMD_GET_CAPABILITIES_V9_OUT_NVRAM_UPDATE_POLL_VERIFY_RESULT_OFST 20
15355 * PF, indexed by PF number. Special values indicate that a PF is either not
15368 * in this field. It is intended for a possible future situation where a more
15370 * should look for a new field supporting the new scheme. The current/old
15374 /* One byte per PF containing the number of its VFs, indexed by PF number. A
15375 * special value indicates that a PF is not present.
15401 /* Size of a single PIO buffer */
15405 * is configurable. This is a global setting that the driver must query to
15430 * entry. For MAC stats DMA, drivers should allocate a buffer large enough to
15443 * GET_CAPABILITIES_OUT_V2) is set, drivers have to specify a buffer size when
15444 * they create an RX queue. Due to hardware limitations, only a small number of
15489 * from the pool for an RSS context. Note that the table size used must be a
15495 * from the pool for an RSS context. Note that the table size used must be a
15501 * mode. In exclusive mode the context has a configurable indirection table and
15502 * a configurable RSS key.
15508 * but it does have a configurable RSS key.
15514 * availability of indirection table space allocated from a common pool.
15527 * Encapsulation for a v2 extended command
15550 /* enum: MCDI command directed to a TSA controller. MCDI responses of this type
15558 * Allocate a pacer bucket (for qau rp or a snapper test)
15577 * Free a pacer bucket
15596 * Initialise pacer bucket with a given rate
15668 #define MC_CMD_TCM_TXQ_INIT_IN_MAX_BKT2_OFST 20
15705 #define MC_CMD_TCM_TXQ_INIT_EXT_IN_MAX_BKT2_OFST 20
15720 * Link a push I/O buffer to a TxQ
15742 * Unlink a push I/O buffer from a TxQ
15761 * allocate and initialise a v-switch.
15808 * de-allocate a v-switch.
15828 * It may be used to check if a v-switch is connected to a given EVB port (if
15848 * allocate a v-port.
15856 #define MC_CMD_VPORT_ALLOC_IN_LEN 20
15869 /* enum: A normal v-port receives packets which match a specified MAC and/or
15915 * de-allocate a v-port.
15934 * allocate a v-adaptor.
15962 #define MC_CMD_VADAPTOR_ALLOC_IN_VLAN_TAGS_OFST 20
15964 #define MC_CMD_VADAPTOR_ALLOC_IN_VLAN_TAG_0_OFST 20
15967 #define MC_CMD_VADAPTOR_ALLOC_IN_VLAN_TAG_1_OFST 20
15982 * de-allocate a v-adaptor.
16001 * assign a new MAC address to a v-adaptor.
16023 * read the MAC address assigned to a v-adaptor.
16073 * assign a port to a PCI function.
16196 /* enum: Allocate a context for exclusive use. The key and indirection table
16200 /* enum: Allocate a context for shared use; this will spread across a range of
16205 /* enum: Allocate a context to spread evenly across an arbitrary number of
16218 * be useful as a way of obtaining the Toeplitz hash.
16231 /* enum: Allocate a context for exclusive use. The key and indirection table
16235 /* enum: Allocate a context for shared use; this will spread across a range of
16240 /* enum: Allocate a context to spread evenly across an arbitrary number of
16253 * be useful as a way of obtaining the Toeplitz hash.
16258 * Must be a power of 2. The minimum and maximum table size can be queried
16270 * host, although a value of 0xFFFFFFFF is guaranteed never to be a valid
16346 * when the RSS context is allocated without specifying a table size.
16370 * when the RSS context is allocated without specifying a table size.
16392 * Write a portion of a selectable-size indirection table for an RSS context.
16438 * Read a portion of a selectable-size indirection table for an RSS context.
16469 /* A buffer containing the requested entries read from the table. */
16497 * reject any attempt to set the FLAGS field to a value > 0xff with EINVAL. In
16530 #define MC_CMD_RSS_CONTEXT_SET_FLAGS_IN_TCP_IPV6_RSS_MODE_LBN 20
16565 * guaranteed to be consistent with the _EN flags for a freshly-allocated RSS
16570 * mode by looking only at the _MODE bits; the value returned by a GET can
16571 * always be used for a SET regardless of old/new driver vs. old/new firmware.
16600 #define MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_TCP_IPV6_RSS_MODE_LBN 20
16612 * Allocate a .1p mapping.
16634 * host, although a value of 0xFFFFFFFF is guaranteed never to be a valid
16645 * Free a .1p mapping.
16664 * Set the mapping table for a .1p mapping.
16688 * Get the mapping table for a .1p mapping.
16747 * let the system find a suitable base.
16764 * Add a MAC address to a v-port
16786 * Delete a MAC address from a v-port
16808 * Delete a MAC address from a v-port
16882 #define MC_CMD_VPORT_RECONFIGURE_IN_MACADDRS_OFST 20
16915 /* The number of VLAN tags that may be used on a v-adaptor connected to this
17072 #define MC_CMD_SET_CLOCK_IN_RMON_FREQ_OFST 20
17110 #define MC_CMD_SET_CLOCK_OUT_RMON_FREQ_OFST 20
17211 #define MC_CMD_DPCPU_RPC_IN_CSR_ACCESS_ADDRESS_OFST 20
17233 #define MC_CMD_DPCPU_RPC_OUT_CSR_ACCESS_READ_VAL_3_OFST 20
17314 * Take a dump of the DUT state
17348 #define MC_CMD_DUMP_DO_IN_DUMPSPEC_SRC_CUSTOM_HOST_MEMORY_MLI_DEPTH_OFST 20
17353 /* enum: The uart port this command was received over (if using a uart
17425 #define MC_CMD_DUMP_CONFIGURE_UNSOLICITED_IN_DUMPSPEC_SRC_CUSTOM_HOST_MEMORY_MLI_DEPTH_OFST 20
17461 * Adjusts power supply parameters. This is a warranty-voiding operation.
17527 * Send checksummed[sic] block of data over the uart. Response is a placeholder
17566 * Request checksummed[sic] block of data over the uart. Only a placeholder,
17677 /* enum: Start KR Serdes Eye diagram plot on a given lane. Lane must have valid
17771 /* enum: DFE Tap2 (Medford2 - 6 bit signed (-20 - +20)) */
17773 /* enum: DFE Tap3 (Medford2 - 6 bit signed (-20 - +20)) */
17775 /* enum: DFE Tap4 (Medford2 - 6 bit signed (-20 - +20)) */
18165 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_IN_C0_OFST 20
18201 #define MC_CMD_KR_TUNE_LINK_TRAIN_CMD_OUT_CP1_VALUE_OFST 20
18231 /* enum: Start PCIe Serdes Eye diagram plot on a given lane. */
18238 /* enum: Enable the SERDES BIST and set it to generate a 200MHz square wave */
18476 /* enum: re-read and apply licenses after a license key partition update; note
18477 * that this operation returns a zero-length response
18506 #define MC_CMD_LICENSING_OUT_LICENSING_STATE_OFST 20
18532 /* enum: re-read and apply licenses after a license key partition update; note
18533 * that this operation returns a zero-length response
18563 #define MC_CMD_LICENSING_V3_OUT_LICENSING_SELF_TEST_OFST 20
18622 * Execute an arbitrary MCDI command on the slave MC of a dual-core device.
18623 * This will fail on a single-core system.
18641 * or a reboot of the MC.) Not used for V3 licensing
18661 /* enum: a valid license is present for the application */
18669 * operation or a reboot of the MC.) Used for V3 licensing (Medford)
18678 /* application ID to query (LICENSED_V3_APPS_xxx) expressed as a single bit
18693 /* enum: a valid license is present for the application */
18701 * operation or a reboot of the MC.) Used for V3 licensing (Medford)
18710 /* features to query (LICENSED_V3_FEATURES_xxx) expressed as a mask with one or
18825 /* application ID expressed as a single bit mask */
18834 * of two 384-bit integers, r and s, in big-endian order. The signature signs a
18835 * SHA-384 digest of a message constructed from the concatenation of the input
18851 /* base MAC address of the NIC stored in NVRAM (note that this is a constant
18852 * value for a given NIC regardless which function is calling, effectively this
18894 * Perform operations to support installation of a single temporary license in
18897 * stored in MC persistent data and so will survive a MC reboot, but will be
18910 /* enum: install a new license, overwriting any existing temporary license.
18965 * function. Only a privileged function may change the port sniffing
18966 * configuration. A copy of all traffic delivered to the host (non-promiscuous
18968 * delivered to a specific queue, or a set of queues with RSS.
18997 * that these handles should be considered opaque to the host, although a value
18998 * of 0xFFFFFFFF is guaranteed never to be a valid handle.
19010 * associated with the calling function. Only a privileged function may read
19066 * internal loopback. (ENTITY is a queue handle, VALUE is a single boolean.)
19070 * internal loopback path. (ENTITY is an EVB_PORT_ID, VALUE is a single
19133 * function. Only a privileged function may change the port sniffing
19134 * configuration. A copy of all traffic transmitted through the port may be
19135 * delivered to a specific queue, or a set of queues with RSS. Note that these
19164 * that these handles should be considered opaque to the host, although a value
19165 * of 0xFFFFFFFF is guaranteed never to be a valid handle.
19177 * associated with the calling function. Only a privileged function may read
19275 #define MC_CMD_GET_PCIE_RESOURCE_INFO_OUT_MAX_PF_VECTORS_OFST 20
19322 * TLV_PORT_MODE_*). A superset of MC_CMD_GET_PORT_MODES_OUT/MODES that
19323 * contains all modes implemented in firmware for a particular board. Modes
19338 * warm reboot. A cold reboot resets the override. It is assumed that a
19403 /* Each workaround is represented by a single bit according to the enums below.
19473 /* enum: Privilege that allows a Function to change the MAC address configured
19477 /* enum: Privilege that allows a Function to install filters that specify VLANs
19480 * only a set of permitted VLANs. See the vPort flag FLAG_VLAN_RESTRICT.
19489 * an adapter has Bound to a remote ServerLock Controller (see doxbox
19493 /* enum: Set this bit to indicate that a new privilege mask is to be set,
19507 * Read/set link state mode of a VF
19516 /* The target function to have its link state mode read or set, must be a VF
19583 /* Total number of unexpectedly clear (set in B but not A) bits in area 0 */
19586 /* Total number of unexpectedly clear (set in A but not B) bits in area 0 */
19595 /* Total number of unexpectedly clear (set in B but not A) bits in area 1 */
19596 #define MC_CMD_FUSE_DIAGS_OUT_AREA1_PAIR_A_BAD_BITS_OFST 20
19598 /* Total number of unexpectedly clear (set in A but not B) bits in area 1 */
19607 /* Total number of unexpectedly clear (set in B but not A) bits in area 2 */
19610 /* Total number of unexpectedly clear (set in A but not B) bits in area 2 */
19620 * Modify the privileges of a set of PCIe functions. Note that this operation
19912 * by writing to a dedicated test row. There are 16 locations in the test row
19932 * and if correct begin execution from the start of IMEM. The caller supplies a
19964 * Prepare to upload a signed image. This will scrub the specified length of
20011 * cause all functions to see a reset. (Available on Medford only.)
20033 /* Entries defining the UDP port to protocol mapping, each laid out as a
20054 * Configure a port upconverter to distribute the packets on both RX engines.
20055 * Packets are distributed based on a table with the destination vFIFO. The
20056 * index of the table is a hash of source and destination of IPV4 and VLAN
20085 * Append a single TLV to the MC_USAGE_TLV partition. Returns MC_CMD_ERR_EEXIST
20158 * Update the timer load, timer reload and timer mode values for a given EVQ.
20218 * requested duration of a timer is this value multiplied by the timer
20228 /* For timers updated via writes to EVQ_TMR_REG, timer load/reload counts not a
20239 /* Timer durations requested via MCDI that are not a multiple of this step size
20242 #define MC_CMD_GET_EVQ_TMR_PROPERTIES_OUT_MCDI_TMR_STEP_NS_OFST 20
20246 * requested duration of a timer is this value multiplied by the timer
20259 * not a multiple of this step size will be rounded in an implementation
20278 #define MC_CMD_ALLOCATE_TX_VFIFO_CP_IN_LEN 20
20279 /* Desired instance. Must be set to a specific instance, which is a function
20330 #define MC_CMD_ALLOCATE_TX_VFIFO_VFIFO_IN_LEN 20
20449 /* The SUC firmware version as four numbers - a.b.c.d */
20461 #define MC_CMD_SUC_VERSION_OUT_CHIP_ID_OFST 20
20483 * packet prefix. It takes as input a bitmask of the fields the host would like
20485 * combination of fields, then this command returns a list of prefix-ids,
20486 * opaque identifiers suitable for use in the RX_PREFIX_ID field of a
20552 /* RX_PREFIX_FIELD_INFO structuredef: Information about a single RX prefix
20585 * which every field has a fixed offset and width
20619 * and returns a description of the RX prefix of packets delievered to an RXQ
20656 * A command to perform various bundle-related operations on insecure cards.
20718 * Read all VPD starting from a given address
20811 #define MC_CMD_GET_NCSI_INFO_STATISTICS_OUT_NCSI_TX_PKTS_OFST 20
20818 /* CLOCK_INFO structuredef: Information about a single hardware clock */
20890 …a rule for detecting encapsulations in the VNIC stage. Currently this only affects checksum valida…
20970 …* Remove a VNIC encapsulation rule. Packets which would have previously matched the rule will then…
21002 /* enum: Function has virtio block device configuration registers and a
21003 * doorbell for a single virtqueue.
21006 /* enum: Function is a Xilinx acceleration device - management function */
21008 /* enum: Function is a Xilinx acceleration device - user function */
21016 * Get a list of the virtio features supported by the device.
21039 /* Features supported by the device. The result is a bitfield in the format of
21052 * Query whether a given set of features is supported. Fails with ENOSUP if the
21053 * driver requests a feature the device doesn't support. Fails with EINVAL if
21054 * the driver fails to request a feature which the device requires.
21086 * Create a virtio virtqueue. Fails with EALREADY if the queue already exists.
21087 * Fails with ENOSUP if a feature is requested that isn't supported. Fails with
21088 * EINVAL if a required feature isn't requested, or any other parameter is
21098 /* Type of virtqueue to create. A network rxq and a txq can exist at the same
21099 * time on a single VI.
21103 /* enum: A network device receive queue */
21105 /* enum: A network device transmit queue */
21107 /* enum: A block device request queue */
21111 /* If the calling function is a PF and this field is not VF_NULL, create the
21123 /* Queue size, in entries. Must be a power of two. */
21136 #define MC_CMD_VIRTIO_INIT_QUEUE_REQ_DESC_TBL_ADDR_HI_OFST 20
21162 * spec and in the return from MC_CMD_VIRTIO_GET_FEATURES. Must be a subset of
21187 /* A MAE_MPORT_SELECTOR defining which mport this queue should be associated
21200 * Destroy a virtio virtqueue
21216 /* If the calling function is a PF and this field is not VF_NULL, destroy the
21239 * Get the offset in the BAR of the doorbells for a VI. Doesn't require the
21258 /* If the calling function is a PF and this field is not VF_NULL, query the VI
21284 /* PCIE_FUNCTION structuredef: Structure representing a PCIe function ID
21306 /* enum: Function is a PF (when PF != PF_NULL) or invalid function (when PF ==
21330 * subsystem, see SF-122927-TC. This function allocates a new descriptor proxy
21331 * function on the host and assigns a user-defined label. The actual function
21498 /* Maximum number of segments in a request. Only valid when
21501 #define VIRTIO_BLK_CONFIG_SEG_MAX_OFST 20
21630 #define MC_CMD_DESC_PROXY_FUNC_CONFIG_SET_IN_LENMIN 20
21633 #define MC_CMD_DESC_PROXY_FUNC_CONFIG_SET_IN_LEN(num) (20+1*(num))
21634 #define MC_CMD_DESC_PROXY_FUNC_CONFIG_SET_IN_CONFIG_NUM(len) (((len)-20)/1)
21647 #define MC_CMD_DESC_PROXY_FUNC_CONFIG_SET_IN_CONFIG_OFST 20
21661 * next function/device reset) a DESC_PROXY_FUNC_CONFIG_SET MCDI event will be
21693 * Retrieve a handle for an existing descriptor proxy function. Returns an
21739 #define MC_CMD_DESC_PROXY_FUNC_OPEN_OUT_CONFIG_GENERATION_OFST 20
21756 * Releases a handle for an open descriptor proxy function. If proxying was
21760 * will put the device into a failed state and signal the host driver of the
21896 * Get Address space identifier for use in mem2mem descriptors for a given