Lines Matching +full:firmware +full:- +full:initialized
2 * Copyright (c) 2017-2018 Cavium, Inc.
119 …TS_MASK 0x7 /* Mark task with DIF error (3 bit): [0]-CRC/checksum, [1]-app tag, [2]-refere…
125 #define CQE_ERROR_BITMAP_DATA_TRUNCATED_ERR_MASK 0x1 /* Target Mode - Mark middle task error, dat…
195 #define DIF_ON_IMMEDIATE_PARAMS_PROTECTION_TYPE_MASK 0x3 /* 1/2/3 - Protection Type */
218 __le16 data_sn /* data-in sequence number */;
243 …__le32 exp_r2t_sn /* Initiator mode - Expected R2T PDU index in sequence. [variable, initialized 0…
263 …__le32 fast_rxmit_sge_offset /* SGE offset from which to continue dummy-read or start fast retrans…
265 …__le32 fast_rxmit_buffer_offset /* Buffer offset from which to continue dummy-read or start fast r…
267 u8 fast_rxmit_sgl_index /* SGL index from which to continue dummy-read or start fast retransmit */;
277 u8 hdr_response /* Response field of ISCSI header for Responses / Reserved for Data-In */;
292 __le32 itt /* ITT - common to all headers */;
293 __le32 ttt /* bytes 20 to 23 - common ttt to various PDU headers */;
294 …__le32 cmdstat_sn /* bytes 24 to 27 - common cmd_sn (initiator) or stat_sn (target) to various PDU…
295 …__le32 exp_statcmd_sn /* bytes 28 to 31 - common expected stat_sn (initiator) or cmd_sn (target) t…
296 __le32 max_cmd_sn /* bytes 32 to 35 - common max cmd_sn to various PDU headers */;
329 struct regpair lun /* Logical Unit Number. [constant, initialized] */;
330 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
332 __le32 cmd_sn /* CmdSn. [constant, initialized] */;
333 __le32 exp_stat_sn /* various fields for middle-path PDU. [constant, initialized] */;
334 __le32 cdb[4] /* CDB. [constant, initialized] */;
354 u8 opcode /* opcode. [constant, initialized] */;
360 struct regpair lun /* Logical Unit Number. [constant, initialized] */;
361 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
363 __le32 cmd_sn /* CmdSn. [constant, initialized] */;
364 __le32 exp_stat_sn /* various fields for middle-path PDU. [constant, initialized] */;
373 u8 version_min /* Version-min */;
374 u8 version_max /* Version-max */;
386 u8 opcode /* opcode. [constant, initialized] */;
392 __le32 isid_tabc /* Session identifier high double word [constant, initialized] */;
394 __le16 isid_d /* Session identifier low word [constant, initialized] */;
395 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
397 __le16 cid /* Unique Connection ID within the session [constant, initialized] */;
398 __le32 cmd_sn /* CmdSn. [constant, initialized] */;
399 __le32 exp_stat_sn /* various fields for middle-path PDU. [constant, initialized] */;
410 u8 opcode /* opcode. [constant, initialized] */;
413 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
415 __le16 cid /* Unique Connection ID within the session [constant, initialized] */;
416 __le32 cmd_sn /* CmdSn. [constant, initialized] */;
417 __le32 exp_stat_sn /* various fields for middle-path PDU. [constant, initialized] */;
422 * iSCSI Data-out PDU header
440 __le32 data_sn /* DataSN - PDU index in sequnece */;
441 __le32 buffer_offset /* Buffer Offset - offset in task */;
446 * iSCSI Data-in PDU header
459 #define ISCSI_DATA_IN_HDR_RSRV_MASK 0x7 /* reserved - 0 */
473 __le32 data_sn /* DataSN - PDU index in sequnece */;
474 __le32 buffer_offset /* Buffer Offset - offset in task */;
492 __le32 r2t_sn /* DataSN - PDU index in sequnece */;
493 __le32 buffer_offset /* Buffer Offset - offset in task */;
498 * iSCSI NOP-out PDU header
522 * iSCSI NOP-in PDU header
554 u8 version_active /* Version-active */;
555 u8 version_max /* Version-max */;
567 u8 opcode /* opcode. [constant, initialized] */;
573 __le32 isid_tabc /* Session identifier high double word [constant, initialized] */;
575 __le16 isid_d /* Session identifier low word [constant, initialized] */;
576 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
578 __le32 stat_sn /* CmdSn. [constant, initialized] */;
579 __le32 exp_cmd_sn /* various fields for middle-path PDU. [constant, initialized] */;
595 u8 opcode /* opcode. [constant, initialized] */;
602 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
626 u8 opcode /* opcode. [constant, initialized] */;
633 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
653 u8 opcode /* opcode. [constant, initialized] */;
660 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
675 u8 opcode /* opcode. [constant, initialized] */;
682 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
694 u8 hdr_response /* Response field of ISCSI header for Responses / Reserved for Data-In */;
696 u8 opcode /* opcode. [constant, initialized] */;
703 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
717 u8 hdr_response /* Response field of ISCSI header for Responses / Reserved for Data-In */;
719 u8 opcode /* opcode. [constant, initialized] */;
726 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
744 u8 opcode /* opcode. [constant, initialized] */;
799 …struct iscsi_ext_cdb_cmd_hdr ext_cdb_cmd /* Command PDU header with extended CDB - Initiator Mode …
802 struct iscsi_data_out_hdr data_out /* Data-out PDU header */;
803 struct iscsi_data_in_hdr data_in /* Data-in PDU header */;
805 struct iscsi_nop_out_hdr nop_out /* NOP-out PDU header */;
806 struct iscsi_nop_in_hdr nop_in /* NOP-in PDU header */;
825 union iscsi_task_hdr pdu_hdr /* PDU header - [constant initialized] */;
1007 __le16 dif_task_icid /* save tasks CID for validation - dif on immediate flow */;
1009 __le32 expected_itt /* ITT - for target mode validations */;
1033 …__le32 exp_data_transfer_len /* iSCSI Initiator - The size of the transmitted task, iSCSI Target -…
1038 #define USTORM_ISCSI_TASK_ST_CTX_AHS_EXIST_MASK 0x1 /* Initiator Mode - Mark AHS exist…
1052 #define USTORM_ISCSI_TASK_ST_CTX_DATA_TRUNCATED_ERROR_MASK 0x1 /* Target Mode - Mark middle task …
1332 …P_1B_MASK 0x1 /* TCP connect/terminate option. 0 - TCP on host (option-1); 1 - TCP on chip (opti…
1334 …_OFFLOAD_PARAMS_TARGET_MODE_MASK 0x1 /* iSCSI connect mode: 0-iSCSI Initiator, 1-iSCSI Target…
1336 …ARAMS_RESTRICTED_MODE_MASK 0x1 /* Restricted mode: 0 - un-restricted (deviating from the RFC), 1 …
1366 u8 op_code /* iscsi bus-drv message opcode */;
1393 #define ISCSI_CONN_UPDATE_RAMROD_PARAMS_DIF_BLOCK_SIZE_MASK 0x1 /* 0 - 512B, 1 - 4K */
1395 #define ISCSI_CONN_UPDATE_RAMROD_PARAMS_DIF_ON_HOST_EN_MASK 0x1 /* 0 - no DIF, 1 - could be enable…
1397 …SCSI_CONN_UPDATE_RAMROD_PARAMS_DIF_ON_IMM_EN_MASK 0x1 /* Support DIF on immediate, 1-Yes, 0-No */
1406 __le32 exp_stat_sn /* ExpStatSn - Option1 Only */;
1407 union dif_configuration_params dif_on_imme_params /* dif on immediate params - Target mode Only */;
1528 …ISCSI_EVENT_TYPE_ASYN_CONNECT_COMPLETE /* iSCSI response after option 2 connect completed (A-syn E…
1529 …ISCSI_EVENT_TYPE_ASYN_TERMINATE_DONE /* iSCSI response after option 2 termination completed (A-syn…
1531 …ISCSI_EVENT_TYPE_ASYN_ABORT_RCVD /* iSCSI abort response after TCP RST packet recieve (A-syn EQE) …
1532 ISCSI_EVENT_TYPE_ASYN_CLOSE_RCVD /* iSCSI response after close receive (A-syn EQE) */,
1533 ISCSI_EVENT_TYPE_ASYN_SYN_RCVD /* iSCSI response after TCP SYN+ACK packet receive (A-syn EQE) */,
1534 ISCSI_EVENT_TYPE_ASYN_MAX_RT_TIME /* iSCSI error - tcp max retransmit time (A-syn EQE) */,
1535 ISCSI_EVENT_TYPE_ASYN_MAX_RT_CNT /* iSCSI error - tcp max retransmit count (A-syn EQE) */,
1536 ISCSI_EVENT_TYPE_ASYN_MAX_KA_PROBES_CNT /* iSCSI error - tcp ka probes count (A-syn EQE) */,
1537 ISCSI_EVENT_TYPE_ASYN_FIN_WAIT2 /* iSCSI error - tcp fin wait 2 (A-syn EQE) */,
1538 ISCSI_EVENT_TYPE_ISCSI_CONN_ERROR /* iSCSI error response (A-syn EQE) */,
1539 ISCSI_EVENT_TYPE_TCP_CONN_ERROR /* iSCSI error - tcp error (A-syn EQE) */,
1550 ISCSI_CONN_ERROR_TASK_CID_MISMATCH /* iSCSI connection error - Corrupted Task context */,
1551 ISCSI_CONN_ERROR_TASK_NOT_VALID /* iSCSI connection error - The task is not valid */,
1552 ISCSI_CONN_ERROR_RQ_RING_IS_FULL /* iSCSI connection error - RQ full */,
1553 ISCSI_CONN_ERROR_CMDQ_RING_IS_FULL /* iSCSI connection error - CMDQ full (Target only) */,
1554 ISCSI_CONN_ERROR_HQE_CACHING_FAILED /* iSCSI connection error - HQ error */,
1555 ISCSI_CONN_ERROR_HEADER_DIGEST_ERROR /* iSCSI connection error - Header digest error */,
1556 …ERROR_LOCAL_COMPLETION_ERROR /* iSCSI connection error - Local completion bit is not correct (A-…
1557 ISCSI_CONN_ERROR_DATA_OVERRUN /* iSCSI connection error - data overrun */,
1558 ISCSI_CONN_ERROR_OUT_OF_SGES_ERROR /* iSCSI connection error - out of sges in task context */,
1559 ISCSI_CONN_ERROR_IP_OPTIONS_ERROR /* TCP connection error - IP option error */,
1560 ISCSI_CONN_ERROR_PRS_ERRORS /* TCP connection error - error indication form parser */,
1561 …ISCSI_CONN_ERROR_CONNECT_INVALID_TCP_OPTION /* TCP connection error - tcp options error(option 2 o…
1562 ISCSI_CONN_ERROR_TCP_IP_FRAGMENT_ERROR /* TCP connection error - IP fragmentation error */,
1563 …ISCSI_CONN_ERROR_PROTOCOL_ERR_AHS_LEN /* iSCSI connection error - invalid AHS length (Target only)…
1564 …ISCSI_CONN_ERROR_PROTOCOL_ERR_AHS_TYPE /* iSCSI connection error - invalid AHS type (Target only) …
1565 ISCSI_CONN_ERROR_PROTOCOL_ERR_ITT_OUT_OF_RANGE /* iSCSI connection error - invalid ITT */,
1566 …ISCSI_CONN_ERROR_PROTOCOL_ERR_TTT_OUT_OF_RANGE /* iSCSI connection error - invalid TTT (Target onl…
1567 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DATA_SEG_LEN_EXCEEDS_PDU_SIZE /* iSCSI connection error - PDU data_s…
1568 ISCSI_CONN_ERROR_PROTOCOL_ERR_INVALID_OPCODE /* iSCSI connection error - invalid PDU opcode */,
1569 …ISCSI_CONN_ERROR_PROTOCOL_ERR_INVALID_OPCODE_BEFORE_UPDATE /* iSCSI connection error - invalid PDU…
1570 …ISCSI_CONN_ERROR_UNVALID_NOPIN_DSL /* iSCSI connection error - NOPIN dsl > 0 and ITT = 0xffffffff …
1571 …ISCSI_CONN_ERROR_PROTOCOL_ERR_R2T_CARRIES_NO_DATA /* iSCSI connection error - R2T dsl > 0 (Initiat…
1572 ISCSI_CONN_ERROR_PROTOCOL_ERR_DATA_SN /* iSCSI connection error - DATA-SN error */,
1573 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DATA_IN_TTT /* iSCSI connection error - DATA-IN TTT error (Initiator…
1574 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DATA_OUT_ITT /* iSCSI connection error - DATA-OUT ITT error (Target …
1575 …ISCSI_CONN_ERROR_PROTOCOL_ERR_R2T_TTT /* iSCSI connection error - R2T TTT error (Initiator only) …
1576 …ISCSI_CONN_ERROR_PROTOCOL_ERR_R2T_BUFFER_OFFSET /* iSCSI connection error - R2T buffer offset erro…
1577 …ISCSI_CONN_ERROR_PROTOCOL_ERR_BUFFER_OFFSET_OOO /* iSCSI connection error - DATA PDU buffer offset…
1578 ISCSI_CONN_ERROR_PROTOCOL_ERR_R2T_SN /* iSCSI connection error - R2T SN error (Initiator only) */,
1579 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DESIRED_DATA_TRNS_LEN_0 /* iSCSI connection error - R2T desired data…
1580 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DESIRED_DATA_TRNS_LEN_1 /* iSCSI connection error - R2T desired data…
1581 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DESIRED_DATA_TRNS_LEN_2 /* iSCSI connection error - R2T desired data…
1582 ISCSI_CONN_ERROR_PROTOCOL_ERR_LUN /* iSCSI connection error - R2T unvalid LUN (Initiator only) */,
1583 …ISCSI_CONN_ERROR_PROTOCOL_ERR_F_BIT_ZERO /* iSCSI connection error - All data has been already rec…
1584 …ISCSI_CONN_ERROR_PROTOCOL_ERR_F_BIT_ZERO_S_BIT_ONE /* iSCSI connection error - S-bit and final bit…
1585 …ISCSI_CONN_ERROR_PROTOCOL_ERR_EXP_STAT_SN /* iSCSI connection error - STAT SN error (Initiator onl…
1586 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DSL_NOT_ZERO /* iSCSI connection error - TMF or LOGOUT PDUs dsl > 0 …
1587 …ISCSI_CONN_ERROR_PROTOCOL_ERR_INVALID_DSL /* iSCSI connection error - CMD PDU dsl>0 while immediat…
1588 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DATA_SEG_LEN_TOO_BIG /* iSCSI connection error - Data In overrun (In…
1589 …ISCSI_CONN_ERROR_PROTOCOL_ERR_OUTSTANDING_R2T_COUNT /* iSCSI connection error - >1 outstanding R2T…
1590 …ISCSI_CONN_ERROR_PROTOCOL_ERR_DIF_TX /* iSCSI connection error - DIF Tx error + DIF error drop is …
1591 …ISCSI_CONN_ERROR_SENSE_DATA_LENGTH /* iSCSI connection error - Sense data length > 256 (Initiator …
1592 ISCSI_CONN_ERROR_DATA_PLACEMENT_ERROR /* iSCSI connection error - Data placement error */,
1593 ISCSI_CONN_ERROR_INVALID_ITT /* iSCSI connection error - Invalid ITT (Target Only) */,
1609 ISCSI_RAMROD_CMD_ID_CLEAR_SQ=6 /* iSCSI connection clear-sq ramrod. */,
1681 * iSCSI firmware function destroy parameters
1691 * iSCSI firmware function init parameters
1700 u8 ll2_rx_queue_id /* Queue ID of the Light-L2 Rx Queue */;
1702 #define ISCSI_SPE_FUNC_INIT_COUNTERS_EN_MASK 0x1 /* Enable counters - function and connection coun…
1710 struct scsi_init_func_queues q_params /* SCSI RQ/CQ firmware function init parameters */;
1779 struct iscsi_dif_flags prot_flags /* Task data-integrity flags (protection) */;
1797 ISCSI_WQE_TYPE_NONFIRST_R2T_CONT /* iSCSI WQE type Non-First Write Continuation (Target) */,
1809 struct iscsi_dif_flags prot_flags /* Task data-integrity flags (protection) */;
1815 #define ISCSI_XHQE_STATUS_BIT_MASK 0x1 /* Whether this PDU is Data-In PDU with status_bit = 1 */
1826 * Per PF iSCSI receive path statistics - mStorm RAM structure
1831 …struct regpair iscsi_rx_dup_ack_cnt /* Received Dup-ACKs - after 3 dup ack, the counter doesnt cou…
1835 * Per PF iSCSI transmit path statistics - pStorm RAM structure
1844 * Per PF iSCSI receive path statistics - tStorm RAM structure
1850 …struct regpair iscsi_rx_new_ooo_isle_events_cnt /* Counts the number of new out-of-order isle even…
1851 struct regpair iscsi_rx_tcp_payload_bytes_cnt /* Received In-Order TCP Payload Bytes */;
1852 struct regpair iscsi_rx_tcp_pkt_cnt /* Received In-Order TCP Packets */;
1853 struct regpair iscsi_rx_pure_ack_cnt /* Received Pure-ACKs */;
1860 * Per PF iSCSI receive path statistics - uStorm RAM structure
1870 * Per PF iSCSI transmit path statistics - xStorm RAM structure
1876 struct regpair iscsi_tx_pure_ack_cnt /* Transmitted Pure-ACKs */;
1881 * Per PF iSCSI transmit path statistics - yStorm RAM structure
1888 struct regpair iscsi_tx_tcp_payload_bytes_cnt /* Transmitted In-Order TCP Payload Bytes */;
1889 struct regpair iscsi_tx_tcp_pkt_cnt /* Transmitted In-Order TCP Packets */;