Lines Matching +full:data +full:- +full:only

2  * Copyright (c) 2017-2018 Cavium, Inc. 
21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
105 * Union of data bd_opaque/ tq_tid
109 __le16 bd_opaque /* BDs opaque data */;
110 __le16 tq_tid /* Immediate Data with DIF TQe TID */;
119 …TS_MASK 0x7 /* Mark task with DIF error (3 bit): [0]-CRC/checksum, [1]-app tag, [2]-refere…
121 #define CQE_ERROR_BITMAP_DATA_DIGEST_ERR_MASK 0x1 /* Mark task with data digest error (1 bit) …
125 …QE_ERROR_BITMAP_DATA_TRUNCATED_ERR_MASK 0x1 /* Target Mode - Mark middle task error, data trunca…
144 __le32 data[12] /* iscsi header data */; member
195 #define DIF_ON_IMMEDIATE_PARAMS_PROTECTION_TYPE_MASK 0x3 /* 1/2/3 - Protection Type */
214 * Union of data/r2t sequence number
218 __le16 data_sn /* data-in sequence number */;
243 …__le32 exp_r2t_sn /* Initiator mode - Expected R2T PDU index in sequence. [variable, initialized 0…
244 __le32 buffer_offset /* Payload data offset */;
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 */;
297 __le32 data[3] /* bytes 36 to 47 */; member
330 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
331 __le32 expected_transfer_length /* Expected Data Transfer Length (only 3 bytes are significant) */;
333 __le32 exp_stat_sn /* various fields for middle-path PDU. [constant, initialized] */;
361 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
362 __le32 expected_transfer_length /* Expected Data Transfer Length (only 3 bytes are significant) */;
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 */;
395 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
399 __le32 exp_stat_sn /* various fields for middle-path PDU. [constant, initialized] */;
413 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
417 __le32 exp_stat_sn /* various fields for middle-path PDU. [constant, initialized] */;
422 * iSCSI Data-out PDU header
435 __le32 itt /* Initiator Task Tag (only 2 bytes are significant) */;
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 */
468 __le32 itt /* Initiator Task Tag (only 2 bytes are significant) */;
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 */;
494 __le32 desired_data_trns_len /* Desired data trnsfer len */;
498 * iSCSI NOP-out PDU header
511 __le32 itt /* Initiator Task Tag (only 2 bytes are significant) */;
522 * iSCSI NOP-in PDU header
539 __le32 itt /* Initiator Task Tag (only 2 bytes are significant) */;
554 u8 version_active /* Version-active */;
555 u8 version_max /* Version-max */;
576 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
579 __le32 exp_cmd_sn /* various fields for middle-path PDU. [constant, initialized] */;
602 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
633 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
660 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [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 */;
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 */;
726 __le32 itt /* Initiator Task Tag (only 2 bytes are significant). [constant, initialized] */;
797 struct data_hdr data /* Command PDU header */; member
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] */;
1001 struct scsi_cached_sges data_desc /* Union of Data SGL / cached sge */;
1007 __le16 dif_task_icid /* save tasks CID for validation - dif on immediate flow */;
1008 struct regpair sense_db /* Pointer to sense data buffer */;
1009 __le32 expected_itt /* ITT - for target mode validations */;
1032 __le32 rem_rcv_len /* Remaining data to be received in bytes. Used in validations */;
1033 …__le32 exp_data_transfer_len /* iSCSI Initiator - The size of the transmitted task, iSCSI Target -
1034 __le32 exp_data_sn /* Expected data SN */;
1038 #define USTORM_ISCSI_TASK_ST_CTX_AHS_EXIST_MASK 0x1 /* Initiator Mode - Mark AHS exist…
1050 #define USTORM_ISCSI_TASK_ST_CTX_DATA_DIGEST_ERROR_MASK 0x1 /* Mark task with data digest erro…
1052 …I_TASK_ST_CTX_DATA_TRUNCATED_ERROR_MASK 0x1 /* Target Mode - Mark middle task error, data trunca…
1065 #define USTORM_ISCSI_TASK_ST_CTX_TOTAL_DATA_ACKED_DONE_MASK 0x1 /* Mark total data acked or disabl…
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
1342 u8 default_cq /* Default CQ used to write unsolicited data */;
1343 …__le32 stat_sn /* StatSn for Target Mode only: the first Login Response StatSn value for Target mo…
1366 u8 op_code /* iscsi bus-drv message opcode */;
1387 #define ISCSI_CONN_UPDATE_RAMROD_PARAMS_DD_EN_MASK 0x1 /* Is data digest enabled */
1391 #define ISCSI_CONN_UPDATE_RAMROD_PARAMS_IMMEDIATE_DATA_MASK 0x1 /* Immediate data */
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 */
1399 #define ISCSI_CONN_UPDATE_RAMROD_PARAMS_LUN_MAPPER_EN_MASK 0x1 /* valid only if dif_on_imm_en=1 D…
1406 __le32 exp_stat_sn /* ExpStatSn - Option1 Only */;
1407 union dif_configuration_params dif_on_imme_params /* dif on immediate params - Target mode Only */;
1435 …__le32 data_truncated_bytes /* Target Mode only: Valid only if data_truncated_err equals 1: The re…
1450 __le16 rqe_opaque /* Relevant for Unsolicited CQE only: The opaque data of RQ BDQ */;
1462 …struct iscsi_cqe_unsolicited cqe_unsolicited /* Unsolicited CQE. relevant only when cqe_opcode == …
1470 ISCSI_CQE_TYPE_SOLICITED=1 /* iSCSI CQE with solicited data */,
1471 ISCSI_CQE_TYPE_UNSOLICITED /* iSCSI CQE with unsolicited data */,
1472 ISCSI_CQE_TYPE_SOLICITED_WITH_SENSE /* iSCSI CQE with solicited with sense data */,
1483 ISCSI_CQE_UNSOLICITED_NONE /* iSCSI CQE with unsolicited data */,
1484 ISCSI_CQE_UNSOLICITED_SINGLE /* iSCSI CQE with unsolicited data */,
1485 ISCSI_CQE_UNSOLICITED_FIRST /* iSCSI CQE with unsolicited data */,
1486 ISCSI_CQE_UNSOLICITED_MIDDLE /* iSCSI CQE with unsolicited data */,
1487 ISCSI_CQE_UNSOLICITED_LAST /* iSCSI CQE with unsolicited data */,
1509 #define ISCSI_DEBUG_MODES_ASSERT_IF_DIF_OR_DATA_DIGEST_ERROR_MASK 0x1 /* Assert if DIF or data dig…
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 …NN_ERROR_CONNECT_INVALID_TCP_OPTION /* TCP connection error - tcp options error(option 2 only) */,
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 …CONN_ERROR_PROTOCOL_ERR_TTT_OUT_OF_RANGE /* iSCSI connection error - invalid TTT (Target only) */,
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 …_OPCODE_BEFORE_UPDATE /* iSCSI connection error - invalid PDU opcode before update ramrod (Option …
1570 …ERROR_UNVALID_NOPIN_DSL /* iSCSI connection error - NOPIN dsl > 0 and ITT = 0xffffffff (Initiator
1571 …RROR_PROTOCOL_ERR_R2T_CARRIES_NO_DATA /* iSCSI connection error - R2T dsl > 0 (Initiator only) */,
1572 ISCSI_CONN_ERROR_PROTOCOL_ERR_DATA_SN /* iSCSI connection error - DATA-SN error */,
1573 …N_ERROR_PROTOCOL_ERR_DATA_IN_TTT /* iSCSI connection error - DATA-IN TTT error (Initiator only) *…
1574 …N_ERROR_PROTOCOL_ERR_DATA_OUT_ITT /* iSCSI connection error - DATA-OUT ITT error (Target only) */,
1575 …ISCSI_CONN_ERROR_PROTOCOL_ERR_R2T_TTT /* iSCSI connection error - R2T TTT error (Initiator only) …
1576 …ROTOCOL_ERR_R2T_BUFFER_OFFSET /* iSCSI connection error - R2T buffer offset error (Initiator only)…
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 …ESIRED_DATA_TRNS_LEN_0 /* iSCSI connection error - R2T desired data transfer length = 0 (Initiator…
1580 …A_TRNS_LEN_1 /* iSCSI connection error - R2T desired data transfer length less then max burst size…
1581 …TRNS_LEN_2 /* iSCSI connection error - R2T desired data transfer length + buffer offset > task siz…
1582 ISCSI_CONN_ERROR_PROTOCOL_ERR_LUN /* iSCSI connection error - R2T unvalid LUN (Initiator only) */,
1583 …ZERO /* iSCSI connection error - All data has been already received, however it is not the end of …
1584 …OCOL_ERR_F_BIT_ZERO_S_BIT_ONE /* iSCSI connection error - S-bit and final bit = 1 (Initiator only)…
1585 …CONN_ERROR_PROTOCOL_ERR_EXP_STAT_SN /* iSCSI connection error - STAT SN error (Initiator only) */,
1586 …R_PROTOCOL_ERR_DSL_NOT_ZERO /* iSCSI connection error - TMF or LOGOUT PDUs dsl > 0 (Initiator only
1587 …COL_ERR_INVALID_DSL /* iSCSI connection error - CMD PDU dsl>0 while immediate data is disabled (Ta…
1588 …PROTOCOL_ERR_DATA_SEG_LEN_TOO_BIG /* iSCSI connection error - Data In overrun (Initiator only) */,
1589 …TOCOL_ERR_OUTSTANDING_R2T_COUNT /* iSCSI connection error - >1 outstanding R2T (Initiator only) *…
1590 …OR_PROTOCOL_ERR_DIF_TX /* iSCSI connection error - DIF Tx error + DIF error drop is enabled (Targe…
1591 …_CONN_ERROR_SENSE_DATA_LENGTH /* iSCSI connection error - Sense data length > 256 (Initiator only)…
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) */,
1608 …ISCSI_RAMROD_CMD_ID_TERMINATION_CONN=5 /* iSCSI connection offload Ramrod. Command ID known only t…
1609 ISCSI_RAMROD_CMD_ID_CLEAR_SQ=6 /* iSCSI connection clear-sq ramrod. */,
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…
1737 __le32 desired_tx_len /* desired data transfer length */;
1779 struct iscsi_dif_flags prot_flags /* Task data-integrity flags (protection) */;
1781 #define ISCSI_WQE_CONT_LEN_MASK 0xFFFFFF /* expected/desired data transfer length */
1783 #define ISCSI_WQE_CDB_SIZE_MASK 0xFF /* Initiator mode only: equals SCSI command CDB size if exten…
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) */;
1810 …u8 total_ahs_length /* Initiator mode only: Total AHS Length. greater than zero if and only if PDU…
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
1864 struct regpair iscsi_rx_data_pdu_cnt /* Number of data PDUs that were received */;
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
1885 struct regpair iscsi_tx_data_pdu_cnt /* Number of data PDUs that were transmitted */;
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 */;
2053 * iSCSI doorbell data