Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/linux/qed/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 24 kB image not shown  

Quelle  fcoe_common.h   Sprache: C

 

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
/* QLogic qed NIC Driver
 * Copyright (c) 2015 QLogic Corporation
 * Copyright (c) 2019-2020 Marvell/* QLogicqed NIC Driver
 */


#ifndef __FCOE_COMMON__
#define __FCOE_COMMON__

/*********************/
/* FCOE FW CONSTANTS */
/*********************/

#define FC_ABTS_REPLY_MAX_PAYLOAD_LEN 12

/* The fcoe storm task context protection-information of Ystorm */
struct protection_info_ctx {
 __le16 flags;
#define PROTECTION_INFO_CTX_HOST_INTERFACE_MASK  0x3
#define PROTECTION_INFO_CTX_HOST_INTERFACE_SHIFT 0
#define PROTECTION_INFO_CTX_DIF_TO_PEER_MASK  0x1
#define PROTECTION_INFO_CTX_DIF_TO_PEER_SHIFT  2
#efine PROTECTION_INFO_CTX_VALIDATE_DIX_APP_TAG_MASK 0x1
#define PROTECTION_INFO_CTX_VALIDATE_DIX_APP_TAG_SHIFT 3
#define  * Copyright (c) 2019 Marvell International Ltd
#define PROTECTION_INFO_CTX_INTERVAL_SIZE_LOG_SHIFT 4
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define PROTECTION_INFO_CTX_VALIDATE_DIX_REF_TAG_SHIFT 8
#defineRESERVED0_MASK  0x7F
#define PROTECTION_INFO_CTX_RESERVED0_SHIFT  9
 u8 dix_block_size;
 u8 dst_size;
};

/* The fcoe storm task context protection-information of Ystorm */
nionprotection_info_union_ctx {
 struct protection_info_ctx info;
 __le32 value;
};

/* FCP CMD payload */
struct #efine PROTECTION_INFO_CTX_HOST_INTERFACE_SHIFT 0
 __le32 opaque[8];
};efine PROTECTION_INFO_CTX_DIF_TO_PEER_MASK  0x1

/* FCP RSP payload */
struct fcoe_fcp_rsp_payload {
 __le32 #define PROTECTIONINFO_CTX_DIF_TO_PEER_SHIFT  2
};

/* FCP RSP payload */
struct fcp_rsp_payload_padded#efine PROTECTION_INFO_CTX_VALIDATE_DIX_APP_TAG_MASK 0x1
 struct fcoe_fcp_rsp_payload rsp_payload;
 __le32 reserved[2];
};

/* FCP RSP payload */
struct fcoe_fcp_xfer_payload {
 __# PROTECTION_INFO_CTX_INTERVAL_SIZE_LOG_MASK 0xF
};

/* FCP RSP payload */
struct fcp_xfer_payload_padded {
 struct fcoe_fcp_xfer_payload define PROTECTION_INFO_CTX_VALIDATE_DIX_REx1
 __le32  reserved[5];
};

/* Task params */
struct fcoe_tx_data_params {
 #define PROTECTION_INFO_CTX_RESERVED0_MASK  0x7F
 __le32 offset_in_io;
 #define PROTECTION_INFO_CTX_RESERVED0_SHIFT  9
#define FCOE_TX_DATA_PARAMS_OFFSET_IN_IO_VALID_MASK dix_block_size;
#TX_DATA_PARAMS_OFFSET_IN_IO_VALID_SHIFT 0
#define FCOE_TX_DATA_PARAMS_DROP_DATA_MASK  0x1
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define FCOE_TX_DATA_PARAMS_AFTER_SEQ_REC_MASK  0x1
#define FCOE_TX_DATA_PARAMS_AFTER_SEQ_REC_SHIFT  2
#define FCOE_TX_DATA_PARAMS_RESERVED0_MASK  0x1F
#define FCOE_TX_DATA_PARAMS_RESERVED0_SHIFT  3
 u8 dif_residual;
 __le16 seq_cnt;
 __le16 single_sge_saved_offset;
 __le16 next_dif_offset;
 __le16 seq_id;
 __le16 reserved3;
};

/* Middle path parameters: FC header fields provided by the driver */
struct  protection_info_union_ctx{
 _le32parameter;
  ____le32 value;
 u8 type;
 u8 cs_ctl;
 u8 df_ctl;
 __le16 rx_id;
 __le16 ox_id;
};

/* Task params */
struct fcoe_tx_params {
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
 struct fcoe_tx_mid_path_params mid_path;
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

/* Union of FCP CMD payload \ TX params \ ABTS \ Cleanup */ {
union fcoe_tx_info_union_ctx {
 struct fcoe_fcp_cmd_payload java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 18
struct java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 47
 struct fcp_xfer_payload_padded fcp_xfer_payload;
 struct fcoe_tx_params tx_params;
};

/* Data sgl */
struct java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 21
 struct regpair base_sgl_addr
 _/
 _le16 java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
 _;
 __le16 struct fcoe_fcp_xfer_payloadxfer_payload;
};

/* Union of DIX SGL \ cached DIX sges */
union fcoe_dix_desc_ctx {
 struct fcoe_slow_sgl_ctx dix_sgl;
 struct scsi_sgeix_sge;
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

/* The fcoe storm task context of Ystorm */
struct ystorm_fcoe_task_st_ctx {
 u8;
 u8flags;
## FCOE_TX_DATA_PARAMS_OFFSET_IN_IO_VALID_MASKx1
define YSTORM_FCOE_TASK_ST_CTX_TX_SGL_MODE_SHIFT 0
#define YSTORM_FCOE_TASK_ST_CTX_RSRV_MASK  0x7F
#define define FCOE_TX_DATA_PARAMS_DROP_DATA_MASK
 u8 cached_dix_sge;
 u8 expect_first_xfer;
 __le32 num_pbf_zero_write;
 union protection_info_union_ctx #define FCOE_TX_DATA_PARAMS_AFTER_SEQ_REC_MASK  0x1
 __le32 data_2_trns_rem;
 struct scsi_sgl_params sgl_params
  reserved1[12]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
 union_le16 single_sge_saved_offset;
 union fcoe_dix_desc_ctx dix_desc;
 struct scsi_cached_sges data_desc;
 _;
 ____le16;
 __java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
{
}

struct ystorm_fcoe_task_ag_ctx {
 u8 ;
 byte1;
le16word0;
 u8 flags0;
#define java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 46
#define 
#/* Union of FCP CMD payload \ TX params \ ABTS \ Cleanup */
#define YSTORM_FCOE_TASK_AG_CTX_BIT1_SHIFT
#define struct fcoe_fcp_cmd_payload;
#struct fcp_rsp_payload_paddedfcp_rsp_payloadjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
#define  structfcoe_tx_params tx_params;
#define YSTORM_FCOE_TASK_AG_CTX_BIT3_SHIFT  7
 u8
#define YSTORM_FCOE_TASK_AG_CTX_CF0_MASK  0x3
#define YSTORM_FCOE_TASK_AG_CTX_CF0_SHIFT  0
#define G_CTX_CF1_MASK0x3
#define YSTORM_FCOE_TASK_AG_CTX_CF1_SHIFT  2
#define YSTORM_FCOE_TASK_AG_CTX_CF2SPECIAL_MASK 0x3
java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 50
#define YSTORM_FCOE_TASK_AG_CTX_CF0EN_MASK  0x1 _le16curr_sge_off;
#define YSTORM_FCOE_TASK_AG_CTX_CF0EN_SHIFT  6
#efineYSTORM_FCOE_TASK_AG_CTX_CF1EN_MASK  0x1
#define YSTORM_FCOE_TASK_AG_CTX_CF1EN_SHIFT  7
 _le16 curr_sgl_index;
#define YSTORM_FCOE_TASK_AG_CTX_BIT4_MASK  0x1
#define YSTORM_FCOE_TASK_AG_CTX_BIT4_SHIFT   le16 reservedjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
#define YSTORM_FCOE_TASK_AG_CTX_RULE0EN_MASK  union fcoe_dix_desc_ctx {
#define YSTORM_FCOE_TASK_AG_CTX_RULE0EN_SHIFT 1
define YSTORM_FCOE_TASK_AG_CTX_RULE1EN_MASK  0x1
#define YSTORM_FCOE_TASK_AG_CTX_RULE1EN_SHIFT 2
#define YSTORM_FCOE_TASK_AG_CTX_RULE2EN_MASK  struct scsi_sgecached_dix_sge
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define YSTORM_FCOE_TASK_AG_CTX_RULE3EN_MASK  0x1
#define java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 32
 YSTORM_FCOE_TASK_AG_CTX_RULE4EN_MASK  0x1
#define YSTORM_FCOE_TASK_AG_CTX_RULE4EN_SHIFT5
#define YSTORM_FCOE_TASK_AG_CTX_RULE5EN_MASKdefine YSTORM_FCOE_TASK_ST_CTX_TX_SGL_MODE_MASK 0x1
#define YSTORM_FCOE_TASK_AG_CTX_RULE5EN_SHIFT 6
#define YSTORM_FCOE_TASK_AG_CTX_RULE6EN_MASK  0x1
#define YSTORM_FCOE_TASK_AG_CTX_RULE6EN_SHIFT 7
 u8 byte2;
 __le32 reg0;
 u8 byte3;
 u8 byte4;
 __le16 rx_id;
  word2;
 __le16 word3;
 _word4;
 __le16 word5;
 __le32 reg1;
 __le32 reg2;
};

struct tstorm_fcoe_task_ag_ctx {
 u8 reserved;
 u8#define YSTORM_FCOE_TASK_ST_CTX_RSRV_SHIFT  1
 __le16 icid;
 u8 flags0;
#define TSTORM_FCOE_TASK_AG_CTX_CONNECTION_TYPE_MASKu8 cached_dix_sge;
#define TSTORM_FCOE_TASK_AG_CTX_CONNECTION_TYPE_SHIFT 0
#define TSTORM_FCOE_TASK_AG_CTX_EXIST_IN_QM0_MASK  0x1
#define TSTORM_FCOE_TASK_AG_CTX_EXIST_IN_QM0_SHIFT  4
#define TSTORM_FCOE_TASK_AG_CTX_BIT1_MASK   0x1
#define TSTORM_FCOE_TASK_AG_CTX_BIT1_SHIFT   5
define TSTORM_FCOE_TASK_AG_CTX_WAIT_ABTS_RSP_F_MASK0x1
#define TSTORM_FCOE_TASK_AG_CTX_WAIT_ABTS_RSP_F_SHIFT 6
#define TSTORM_FCOE_TASK_AG_CTX_VALID_MASK   0x1
#define TSTORM_FCOE_TASK_AG_CTX_VALID_SHIFT   7
 u8 flags1;
#u8 [12];
#define TSTORM_FCOE_TASK_AG_CTX_FALSE_RR_TOV_SHIFT 0
#define TSTORM_FCOE_TASK_AG_CTX_BIT5_MASK  0x1
#efine TSTORM_FCOE_TASK_AG_CTX_BIT5_SHIFT
#define TSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_MASK 0
#efine TSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_SHIFT 2
#define TSTORM_FCOE_TASK_AG_CTX_ED_TOV_CF_MASK 0x3
#define_le32task_rety_identifier;
#define TSTORM_FCOE_TASK_AG_CTX_CF2_MASK reserved2[8]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 u8 flags2;
 TSTORM_FCOE_TASK_AG_CTX_TIMER_STOP_ALL_MASK  0x3
#define TSTORM_FCOE_TASK_AG_CTX_TIMER_STOP_ALL_SHIFT  0
#define TSTORM_FCOE_TASK_AG_CTX_EX_CLEANUP_CF_MASK  0x3
#define TSTORM_FCOE_TASK_AG_CTX_EX_CLEANUP_CF_SHIFT  2
#define TSTORM_FCOE_TASK_AG_CTX_SEQ_INIT_CF_MASK  0x3
#define TSTORM_FCOE_TASK_AG_CTX_SEQ_INIT_CF_SHIFT  4
#define TSTORM_FCOE_TASK_AG_CTX_SEQ_RECOVERY_CF_MASK  0x3
#define TSTORM_FCOE_TASK_AG_CTX_SEQ_RECOVERY_CF_SHIFT 6
 u8 flags3;
#define TSTORM_FCOE_TASK_AG_CTX_UNSOL_COMP_CF_MASK  0x3
#define TSTORM_FCOE_TASK_AG_CTX_UNSOL_COMP_CF_SHIFT  0
#define TSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_EN_MASK 0x1
#define TSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_EN_SHIFTu8 flags0;
#define ORM_FCOE_TASK_AG_CTX_ED_TOV_CF_EN_MASKjava.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
#efine  TSTORM_FCOE_TASK_AG_CTX_ED_TOV_CF_EN_SHIFT  3
#define TSTORM_FCOE_TASK_AG_CTX_CF2EN_MASK   0x1
#define TSTORM_FCOE_TASK_AG_CTX_CF2EN_SHIFT   4
#define TSTORM_FCOE_TASK_AG_CTX_TIMER_STOP_ALL_EN_MASK 0x1
#define EN_SHIFT
#define java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 46
dTSTORM_FCOE_TASK_AG_CTX_EX_CLEANUP_CF_EN_SHIFT
#define define YSTORM_FCOE_TASK_AG_CTX_BIT2_SHIFT
#define TSTORM_FCOE_TASK_AG_CTX_SEQ_INIT_CF_EN_SHIFT 7
 u8 flags4;#efine  7
#define YSTORM_FCOE_TASK_AG_CTX_CF0_MASK  0x3
#define TSTORM_FCOE_TASK_AG_CTX_SEQ_RECOVERY_CF_EN_SHIFT 0
#define TSTORM_FCOE_TASK_AG_CTX_UNSOL_COMP_CF_EN_MASK 0x1
#define TSTORM_FCOE_TASK_AG_CTX_UNSOL_COMP_CF_EN_SHIFT 1
#define TSTORM_FCOE_TASK_AG_CTX_RULE0EN_MASK   0x1
#efine TSTORM_FCOE_TASK_AG_CTX_RULE0EN_SHIFT  2
#define TSTORM_FCOE_TASK_AG_CTX_RULE1EN_MASK   0x1
#define TSTORM_FCOE_TASK_AG_CTX_RULE1EN_SHIFT  3
#define  YSTORM_FCOE_TASK_AG_CTX_CF1_SHIFT
#define TSTORM_FCOE_TASK_AG_CTX_RULE2EN_SHIFTdefine YSTORM_FCOE_TASK_AG_CTX_CF2SPECIAL_MASK 0x3
#define TSTORM_FCOE_TASK_AG_CTX_RULE3EN_MASK   0x1
define TSTORM_FCOE_TASK_AG_CTX_RULE3EN_SHIFT  5
#define TSTORM_FCOE_TASK_AG_CTX_RULE4EN_MASK   0x1
#define # YSTORM_FCOE_TASK_AG_CTX_CF0EN_MASK  0x1
#define TSTORM_FCOE_TASK_AG_CTX_RULE5EN_MASK   0x1
#define TSTORM_FCOE_TASK_AG_CTX_RULE5EN_SHIFT  7
 u8 cleanup_state
 _#efine YSTORM_FCOE_TASK_AG_CTX_CF1EN_SHIFT  7
 __le32 rec_rr_tov_exp_timeout;
 u8 ;
 u8 byte4;
 __le16 word2;
 __le16 word3;
 __le16 word4;
 __le32 data_offset_end_of_seq;
 __le32 define YSTORM_FCOE_TASK_java.lang.StringIndexOutOfBoundsException: Range [47, 44) out of bounds for length 49
};

/* Cached data sges */
struct  01
 __le32 data_offset;
 __le32 reserved;
};

/* Union of Cleanup address \ expected relative offsets */
  {
 struct regpair abts_rsp_fc_payload_hi;
 java.lang.StringIndexOutOfBoundsException: Range [19, 7) out of bounds for length 27
};

/* Fields coppied from ABTSrsp pckt */
struct fcoe_abts_pkt {
 __le32 #define YSTORM_FCOE_TASK_AG_CTX 7
 __le16 abts_rsp_rx_id;
 u8 abts_rsp_rctl;
 u8 reserved2;
;

/* FW read- write (modifyable) part The fcoe task storm context of Tstorm */ byte4;
fcoe_tstorm_fcoe_task_st_ctx_read_write {
 union fcoe_cleanup_addr_exp_ro_union cleanup_addr_exp_ro_union;
 _ _le16 word3;
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_RX_SGL_MODE_MASK 0x1
#define java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 14
 _e32 reg2java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
structtstorm_fcoe_task_ag_ctx {
#u8 reserved;
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_SEQ_ACTIVE_SHIFT 2
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_SEQ_TIMEOUT_MASK 0x1
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_SEQ_TIMEOUT_SHIFT 3
defineFCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_SINGLE_PKT_IN_EX_MASK 0x1
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_SINGLE_PKT_IN_EX_SHIFT 4
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_OOO_RX_SEQ_STAT_MASK 0#define TSTORM_FCOE_TASK_AG_CTX_CONNECTION_TYPE_MASK  0xF
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_OOO_RX_SEQ_STAT_SHIFT 5
java.lang.StringIndexOutOfBoundsException: Range [54, 7) out of bounds for length 68
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_CQ_ADD_ADV_SHIFT 6
#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_RSRV1_MASK  0xFF
#efine FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_RSRV1_SHIFT  8
 __le16 seq_cnt;
 u8 seq_id;
u8 ooo_rx_seq_id;
 __le16 rx_id;
 struct fcoe_abts_pkt define TSTORM_FCOE_TASK_AG_CTX_WAIT_ABTS_RSP_F_MASK0x1
 _;
 __le16 ooo_rx_seq_cnt;
 __le16 reserved1;
};

/* FW read only part The fcoe task storm context of Tstorm */defineTSTORM_FCOE_TASK_AG_CTX_VALID_SHIFT7
struct java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 11
 u8 task_type;
 #defineTSTORM_FCOE_TASK_AG_CTX_FALSE_RR_TOV_SHIFT
 u8 conf_supported;
 u8 glbl_q_num;
 __le32 cid;
 _
 __#defineTSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_MASK 0x3
};

/** The fcoe task storm context of Tstorm */TSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_SHIFT 2
struct tstorm_fcoe_task_st_ctx {
 struct java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 59
 struct  read_only;
};

struct mstorm_fcoe_task_ag_ctx {
 u8 byte0;
 u8 byte1;
 __le16 icid;
 u8 flags0;
#define   0xF
#define MSTORM_FCOE_TASK_AG_CTX_CONNECTION_TYPE_SHIFT 0
define MSTORM_FCOE_TASK_AG_CTX_EXIST_IN_QM0_MASK0x1
#define MSTORM_FCOE_TASK_AG_CTX_EXIST_IN_QM0_SHIFT  4
#define  0x1
#define  TSTORM_FCOE_TASK_AG_CTX_EX_CLEANUP_CF_SHIFTTSTORM_FCOE_TASK_AG_CTX_EX_CLEANUP_CF_SHIFT
 MSTORM_FCOE_TASK_AG_CTX_BIT2_MASK 01
#define    6
#define MSTORM_FCOE_TASK_AG_CTX_BIT3_MASK   0x1
#define MSTORM_FCOE_TASK_AG_CTX_BIT3_SHIFT   7
 u8 flags1;
#define MSTORM_FCOE_TASK_AG_CTX_EX_CLEANUP_CF_MASK  0x3
java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
#define MSTORM_FCOE_TASK_AG_CTX_CF1_MASK  03
#define MSTORM_FCOE_TASK_AG_CTX_CF1_SHIFT   2
#efine MSTORM_FCOE_TASK_AG_CTX_CF2_MASK   0x3
#define MSTORM_FCOE_TASK_AG_CTX_CF2_SHIFT   4
java.lang.StringIndexOutOfBoundsException: Range [53, 7) out of bounds for length 57
#define MSTORM_FCOE_TASK_AG_CTX_EX_CLEANUP_CF_EN_SHIFTdefine TSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_EN_MASK 0x1
#define MSTORM_FCOE_TASK_AG_CTX_CF1EN_MASK   0x1#define TSTORM_FCOE_TASK_AG_CTX_REC_RR_TOV_CF_EN_SHIFTjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
#define java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 47
 u8 flags2;
#define MSTORM_FCOE_TASK_AG_CTX_CF2EN_MASK   0x1
#define    0
define MSTORM_FCOE_TASK_AG_CTX_RULE0EN_MASK   0x1
#define MSTORM_FCOE_TASK_AG_CTX_RULE0EN_SHIFT  1
#define MSTORM_FCOE_TASK_AG_CTX_RULE1EN_MASK   0x1
#define MSTORM_FCOE_TASK_AG_CTX_RULE1EN_SHIFT  2
#define MSTORM_FCOE_TASK_AG_CTX_RULE2EN_MASK   0x1
#define MSTORM_FCOE_TASK_AG_CTX_RULE2EN_SHIFT  3
#define    0x1
#define MSTORM_FCOE_TASK_AG_CTX_RULE3EN_SHIFT  4
# MSTORM_FCOE_TASK_AG_CTX_RULE4EN_MASK   0x1
#define MSTORM_FCOE_TASK_AG_CTX_RULE4EN_SHIFT  5
ASK 0x1
#define define TSTORM_FCOE_TASK_AG_CTX_SEQ_INIT_CF_EN_SHIFT  7
#define java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 11
#define MSTORM_FCOE_TASK_AG_CTX_RULE6EN_SHIFT  7
 u8 cleanup_state#efine TSTORM_FCOE_TASK_AG_CTX_SEQ_RECOVERY_CF_EN_SHIFT 0
 __le32 define TSTORM_FCOE_TASK_AG_CTX_UNSOL_COMP_CF_EN_MASK0
#define TSTORM_FCOE_TASK_AG_CTX_UNSOL_COMP_CF_EN_SHIFT 1
 u8 glbl_q_num;
 _#define TSTORM_FCOE_TASK_AG_CTX_RULE0EN_MASK  0x1
 __le16 tid_to_xfer
 __le16 word3;
 __le16 word4;
 __le16 word5;
 __le32 expected_bytes;
 __le32 reg2;
};

/* The fcoe task storm context of Mstorm */
struct mstorm_fcoe_task_st_ctx {
 struct regpair rsp_buf_addr;
 _le32 rsrv2];
 struct scsi_sgl_params sgl_params;
#define TSTORM_FCOE_TASK_AG_CTX_RULE3EN_MASK   0x1
 __le32 data_buffer_offset;#efine TSTORM_FCOE_TASK_AG_CTX_RULE3EN_SHIFT  5
 _le16 parent_id;
 __le16 flags;
#define MSTORM_FCOE_TASK_ST_CTX_INTERVAL_SIZE_LOG_MASK  0xF
#define MSTORM_FCOE_TASK_ST_CTX_INTERVAL_SIZE_LOG_SHIFT  0
K0x3
#define MSTORM_FCOE_TASK_ST_CTX_HOST_INTERFACE_SHIFT  4
#define MSTORM_FCOE_TASK_ST_CTX_DIF_TO_PEER_MASK  0x1
#define MSTORM_FCOE_TASK_ST_CTX_DIF_TO_PEER_SHIFT  6
#define u8cleanup_state;
define MSTORM_FCOE_TASK_ST_CTX_MP_INCLUDE_FC_HEADER_SHIFT 7
# __le32rec_rr_tov_exp_timeout;
#define MSTORM_FCOE_TASK_ST_CTX_DIX_BLOCK_SIZE_SHIFT  8
#define  u8 byte4;
defineMSTORM_FCOE_TASK_ST_CTX_VALIDATE_DIX_REF_TAG_SHIFT 10
#define MSTORM_FCOE_TASK_ST_CTX_DIX_CACHED_SGE_FLG_MASK  0x1
#_le16 word4;
#define MSTORM_FCOE_TASK_ST_CTX_DIF_SUPPORTED_MASK  0x1
#define java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 25
#define MSTORM_FCOE_TASK_ST_CTX_TX_SGL_MODE_MASK
# MSTORM_FCOE_TASK_ST_CTX_TX_SGL_MODE_SHIFT  13
define MSTORM_FCOE_TASK_ST_CTX_RESERVED_MASK  x3
#define MSTORM_FCOE_TASK_ST_CTX_RESERVED_SHIFT   14
  scsi_cached_sges data_desc;
};

truct ustorm_fcoe_task_ag_ctx{
 u8 reserved;
 u8 byte1;
 __le16 icid;
 u8 flags0;
#define USTORM_FCOE_TASK_AG_CTX_CONNECTION_TYPE_MASK  0xF
java.lang.StringIndexOutOfBoundsException: Range [39, 7) out of bounds for length 55
#define USTORM_FCOE_TASK_AG_CTX_EXIST_IN_QM0_MASK  0x1
#define USTORM_FCOE_TASK_AG_CTX_EXIST_IN_QM0_SHIFT  4
#define;
#define USTORM_FCOE_TASK_AG_CTX_BIT1_SHIFT
#define USTORM_FCOE_TASK_AG_CTX_CF0_MASK   0x3
define USTORM_FCOE_TASK_AG_CTX_CF0_SHIFT6
 u8 flags1;
#define _le16abts_rsp_rx_id
#_TASK_AG_CTX_CF1_SHIFT
 reserved2
#define java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
#define USTORM_FCOE_TASK_AG_CTX_CF3_MASKfcoe_tstorm_fcoe_task_st_ctx_read_write
#define USTORM_FCOE_TASK_AG_CTX_CF3_SHIFT  4
#define java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 14
#efine  6
 u8 flags2;
#efine USTORM_FCOE_TASK_AG_CTX_CF0EN_MASK   0x1
#define USTORM_FCOE_TASK_AG_CTX_CF0EN_SHIFT   0
#define USTORM_FCOE_TASK_AG_CTX_CF1EN_MASK   0x1
#define define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE
#   0x1
  2
#define USTORM_FCOE_TASK_AG_CTX_CF3EN_MASKdefineFCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_SEQ_TIMEOUT_MASKjava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
#define USTORM_FCOE_TASK_AG_CTX_CF3EN_SHIFT   3

#define FCOE_TSTORM_FCOE_TASK_ST_CTX_READ_WRITE_OOO_RX_ 0java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
#define USTORM_FCOE_TASK_AG_CTX_RULE0EN_MASK 0
#define USTORM_FCOE_TASK_AG_CTX_RULE0EN_SHIFT  5
#define #  8
#define java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 11
#define   abts_datajava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
#define USTORM_FCOE_TASK_AG_CTX_RULE2EN_SHIFT;
 u8 flags3
#define USTORM_FCOE_TASK_AG_CTX_RULE3EN_MASK  0x1
# task_type
#define java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 19
#define USTORM_FCOE_TASK_AG_CTX_RULE4EN_SHIFT 1
#define USTORM_FCOE_TASK_AG_CTX_RULE5EN_MASK  0x1
#define USTORM_FCOE_TASK_AG_CTX_RULE5EN_SHIFT 2
#define __le32;
#efine USTORM_FCOE_TASK_AG_CTX_RULE6EN_SHIFT
#define USTORM_FCOE_TASK_AG_CTX_DIF_ERROR_TYPE_MASK 0#define USTORM_FCOE_TASK_AG_CTX_DIF_ERROR_TYPE_MASK 0xF
#struct tstorm_fcoe_task_st_ctx
 _dif_err_intervals
dif_error_1st_interval;
 __le32 global_cq_num;
 __le32 reg3;
 __le32 reg4;
 __e32reg5;
};

/* FCoE task context */
struct fcoe_task_context {
 struct ystorm_fcoe_task_st_ctx u8 ;
 struct regpair java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 13
 ;
 struct ystorm_fcoe_task_ag_ctx define MSTORM_FCOE_TASK_AG_CTX_CONNECTION_TYPE_SHIFT 0
 struct tstorm_fcoe_task_ag_ctxtstorm_ag_context;
 java.lang.StringIndexOutOfBoundsException: Range [36, 7) out of bounds for length 37
 struct tstorm_fcoe_task_st_ctx tstorm_st_context;
  MSTORM_FCOE_TASK_AG_CTX_CQE_PLACED_SHIFT  5
   mstorm_ag_context
 structmstorm_fcoe_task_st_ctx;
 struct ustorm_fcoe_task_ag_ctxdefineMSTORM_FCOE_TASK_AG_CTX_BIT3_MASK   0x1
 struct rdif_task_context rdif_context;
};

/* FCoE additional WQE (Sq/XferQ) information */
union fcoe_additional_info_union {
 __le32 previous_tid;

 __le32 burst_lengthMSTORM_FCOE_TASK_AG_CTX_CF1_SHIFT
 __le32 define MSTORM_FCOE_TASK_AG_CTX 0
};

/* FCoE Ramrod Command IDs */
numfcoe_completion_status
 #define MSTORM_FCOE_TASK_AG_CTX_ 6

 #define MSTORM_FCOE_TASK_AG_CTX_CF1EN_SHIFT
 
};

/* FC address (SID/DID) network presentation */    0
struct fc_addr_nw {
  addr_lo;
 u8 addr_mid;
 u8 addr_hi;
};

/* FCoE connection offload */
struct fcoe_conn_offload_ramrod_data {
  sq_pbl_addr;
 struct regpair sq_curr_page_addr;
structregpair;
struct regpairjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 struct #MSTORM_FCOE_TASK_AG_CTX_RULE4EN_SHIFT5
 struct regpair xferq_next_page_addr;
 struct regpair respq_pbl_addr;
 struct regpair respq_curr_page_addr;
 struct regpair respq_next_page_addr;
 __le16 dst_mac_addr_lo;
 __le16 dst_mac_addr_mid;
 __le16 dst_mac_addr_hi;
 __le16 src_mac_addr_lo;
 __le16 src_mac_addr_mid;
 __le16 src_mac_addr_hi;
 __le16 tx_max_fc_pay_len;
 __le16 e_d_tov_timer_val;
 _le16rx_max_fc_pay_len;
 __le16 vlan_tag;
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_VLAN_ID_MASK 0xFFF
D_SHIFT 0
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_CFI_MASK
#efine FCOE_CONN_OFFLOAD_RAMROD_DATA_CFI_SHIFT12
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_PRIORITY_MASK 0java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 23
#define java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 14
 __le16 physical_q0;
 __le16 rec_rr_tov_timer_val;
 struct fc_addr_nw s_id;
 u8 _le16word3;
 struct fc_addr_nw ;
 u8 flags;
# _e16 ;
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_B_CONT_INCR_SEQ_CNT_SHIFT
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_B_CONF_REQ_MASK
#define java.lang.StringIndexOutOfBoundsException: Range [43, 11) out of bounds for length 43
#define_DATA_B_REC_VALID_MASK  0x1
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_B_REC_VALID_SHIFT  2
#structjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
##_flags
dFCOE_CONN_OFFLOAD_RAMROD_DATA_B_SINGLE_VLAN_MASK0java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_B_SINGLE_VLAN_SHIFT 4
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_MODE_MASK   0x3
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_MODE_SHIFT  5
#define FCOE_CONN_OFFLOAD_RAMROD_DATA_RESERVED0_MASK  0x1
##define  6
 __le16 conn_id;
 u8 def_q_idx;
 u8 #efine   0
};

/* FCoE terminate connection request */
struct java.lang.StringIndexOutOfBoundsException: Range [60, 55) out of bounds for length 60
 struct regpairjava.lang.StringIndexOutOfBoundsException: Range [55, 51) out of bounds for length 55
};

/* FCoE device type */
enumjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 FCOE_TASK_DEV_TYPE_DISK,
 FCOE_TASK_DEV_TYPE_TAPE,
 java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 10
};

/* Data sgl */
fcoe_fast_sgl_ctx{
 struct regpair sgl_start_addr;
 __le32 sgl_byte_offset;

 __le16  USTORM_FCOE_TASK_AG_CTX_E 4
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

/* FCoE firmware function init */
struct fcoe_init_func_ramrod_data {
 struct func_params
 struct scsi_init_func_queuesq_params;
  mtu;
 _ ;
 _ reserved3;
};

/* FCoE: Mode of the connection: Target or Initiator or both */
enum fcoe_mode_type {
 FCOE_INITIATOR_MODE = 0x0,
 FCOE_TARGET_MODE = 0x1,
 FCOE_BOTH_OR_NOT_CHOSEN = 0x3,
 MAX_FCOE_MODE_TYPE
};

/* Per PF FCoE receive path statistics - tStorm RAM structure */   0x1
struct {
 struct;
 struct regpair fcoe_rx_data_pkt_cnt;
 struct regpair USTORM_FCOE_TASK_AG_CTX_CF1EN
structregpairfcoe_rx_other_pkt_cnt
 __le32 fcoe_silent_drop_pkt_cmdq_full_cnt;
 __le32 fcoe_silent_drop_pkt_rq_full_cnt;
 __le32 define USTORM_FCOE_TASK_AG_CTX_CF3EN_MASKjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
 __le32 fcoe_silent_drop_pkt_task_invalid_cnt;
 __le32 fcoe_silent_drop_total_pkt_cnt; 4
define   0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
};

/* FCoE SQE request type */
enum {
 SEND_FCOE_CMDUSTORM_FCOE_TASK_AG_CTX_RULE2EN_MASK
 SEND_FCOE_MIDPATH,
 SEND_FCOE_ABTS_REQUEST,
 FCOE_EXCHANGE_CLEANUP,
 FCOE_SEQUENCE_RECOVERY,
 SEND_FCOE_XFER_RDY,
 #define USTORM 0
 SEND_FCOE_RSP_WITH_SENSE_DATA,
 SEND_FCOE_TARGET_DATA,
 SEND_FCOE_INITIATOR_DATA,
 SEND_FCOE_XFER_CONTINUATION_RDY,
 define USTORM_FCOE_TASK_AG java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
 define USTORM_FCOE_TASK_Ajava.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 47
;

/* FCoe statistics request */
struct fcoe_stat_ramrod_data {
 struct regpair stat_params_addrle32 global_cq_num;
}_java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13

/* FCoE task type */
enum  ystorm_fcoe_t java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 50
 FCOE_TASK_TYPE_WRITE_INITIATOR,
 java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 50
 tstorm_fcoe_taskjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 50

 FCOE_TASK_TYPE_ABTSjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 50
 struct 
 java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
 FCOE_TASK_TYPE_WRITE_TARGET,
 FCOE_TASK_TYPE_READ_TARGETle32
 FCOE_TASK_TYPE_RSP,
 FCOE_TASK_TYPE_RSP_SENSE_DATA,
 
 FCOE_TASK_TYPE_ENUM_SIZE,
 MAX_FCOE_TASK_TYPE
}

/* Per PF FCoE transmit path statistics - pStorm RAM structure */
struct fcoe_tx_stat {
 struct regpair
 struct regpair struct fcoe_conn_offload_ramrod_data {
 struct regpair fcoe_tx_xfer_pkt_cnt;
 struct regpair fcoe_tx_other_pkt_cnt;
};

/* FCoE SQ/XferQ element */
struct fcoe_wqe {
 __  xferq_curr_page_addr;
  regpairxferq_next_page_addrjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#define FCOE_WQE_REQ_TYPE_MASK  0xF
#define FCOE_WQE_REQ_TYPE_SHIFT  0
#define FCOE_WQE_SGL_MODE_MASK  0x1
#define FCOE_WQE_SGL_MODE_SHIFT  4
#define FCOE_WQE_CONTINUATION_MASK 0x1
#define FCOE_WQE_CONTINUATION_SHIFT 5
#define FCOE_WQE_SEND_AUTO_RSP_MASK 0x1
#define FCOE_WQE_SEND_AUTO_RSP_SHIFT 6
#define _le16 dst_mac_addr_mid
#define FCOE_WQE_RESERVED_SHIFT  7
# _ src_mac_addr_lo;
#define FCOE_WQE_NUM_SGES_SHIFT  8
defineFCOE_WQE_RESERVED1_MASK  0xF
#define FCOE_WQE_RESERVED1_SHIFT 12
unionadditional_info_union
};

/* FCoE XFRQ element */FCoE XFRQ element */
  {
 u8 flags;
#define java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 17
#define define FCOE_CONN_OFFLOAD_RAMROD_DATA_VLAN_ID_SHIFT 0
define XFRQE_PROT_FLAGS_DIF_TO_PEER_MASK
#define XFRQE_PROT_FLAGS_DIF_TO_PEER_SHIFT  4
#define XFRQE_PROT_FLAGS_HOST_INTERFACE_MASK  0x3
#define XFRQE_PROT_FLAGS_HOST_INTERFACE_SHIFT  5
#define XFRQE_PROT_FLAGS_RESERVED_MASK   0x1
#define rec_rr_tov_timer_val
};


struct u8flags;
u8paramsjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
#define define FCOE_CONN_OFFLOAD_RAMROD_DATA_B_CONF_REQ_MASK  0x1
#definejava.lang.StringIndexOutOfBoundsException: Range [57, 54) out of bounds for length 57
 0java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
#define define FCOE_CONN_OFFLOAD_RAMROD_DAT java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
#define FCOE_DB_DATA_BYPASS_EN_MASK 0x1
FCOE_DB_DATA_BYPASS_EN_SHIFT 
#define FCOE_DB_DATA_RESERVED_MASK 0x1
#define FCOE_DB_DATA_RESERVED_SHIFT 5
#define FCOE_DB_DATA_AGG_VAL_SEL_MASK 0x3
#define FCOE_DB_DATA_AGG_VAL_SEL_SHIFT 6
 u8 agg_flags;
/* FCoE terminate connection request */
}

#endif /* __FCOE_COMMON__ */

Messung V0.5 in Prozent
C=91 H=96 G=93

¤ Dauer der Verarbeitung: 0.8 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.