| 1 | /* |
| 2 | * Copyright (c) 2015-2016 QLogic Corporation |
| 3 | * |
| 4 | * This software is available to you under a choice of one of two |
| 5 | * licenses. You may choose to be licensed under the terms of the GNU |
| 6 | * General Public License (GPL) Version 2, available from the file |
| 7 | * COPYING in the main directory of this source tree, or the |
| 8 | * OpenIB.org BSD license below: |
| 9 | * |
| 10 | * Redistribution and use in source and binary forms, with or |
| 11 | * without modification, are permitted provided that the following |
| 12 | * conditions are met: |
| 13 | * |
| 14 | * - Redistributions of source code must retain the above |
| 15 | * copyright notice, this list of conditions and the following |
| 16 | * disclaimer. |
| 17 | * |
| 18 | * - Redistributions in binary form must reproduce the above |
| 19 | * copyright notice, this list of conditions and the following |
| 20 | * disclaimer in the documentation and /or other materials |
| 21 | * provided with the distribution. |
| 22 | * |
| 23 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 24 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 25 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 26 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
| 27 | * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| 28 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 29 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 30 | * SOFTWARE. |
| 31 | */ |
| 32 | |
| 33 | #ifndef __QED_HSI_RDMA__ |
| 34 | #define __QED_HSI_RDMA__cxx . . $ `providers/qedr/qelr_hsi_rdma.h:34:9`! |
| 35 | |
| 36 | #include "common_hsi.h"cxx . . $ `<file>/providers/qedr/common_hsi.h`/ |
| 37 | #include "rdma_common.h"cxx . . $ `<file>/providers/qedr/rdma_common.h`/ |
| 38 | |
| 39 | /* |
| 40 | * rdma completion notification queue element |
| 41 | */ |
| 42 | struct rdma_cnqecxx . . $ rdma_cnqe# |
| 43 | { |
| 44 | struct regpaircxx . . $ regpair# cq_handlecxx . . $ rdma_cnqe#cq_handle.; |
| 45 | }; |
| 46 | |
| 47 | |
| 48 | struct rdma_cqe_respondercxx . . $ rdma_cqe_responder# |
| 49 | { |
| 50 | struct regpaircxx . . $ regpair# srq_wr_idcxx . . $ rdma_cqe_responder#srq_wr_id.; |
| 51 | struct regpaircxx . . $ regpair# qp_handlecxx . . $ rdma_cqe_responder#qp_handle.; |
| 52 | __le32cxx . . $ __le32# imm_data_or_inv_r_Keycxx . . $ rdma_cqe_responder#imm_data_or_inv_r_Key. /* immediate data in case imm_flg is set, or invalidated r_key in case inv_flg is set */; |
| 53 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_cqe_responder#length.; |
| 54 | __le32cxx . . $ __le32# imm_data_hicxx . . $ rdma_cqe_responder#imm_data_hi. /* High bytes of immediate data in case imm_flg is set in iWARP only */; |
| 55 | __le16cxx . . $ __le16# rq_cons_or_srq_idcxx . . $ rdma_cqe_responder#rq_cons_or_srq_id.;/* When type is RDMA_CQE_TYPE_RESPONDER_RQ and status is |
| 56 | * WORK_REQUEST_FLUSHED_ERR it indicates an aggregative |
| 57 | * flush on all posted RQ WQEs until the reported rq_cons. |
| 58 | * When type is RDMA_CQE_TYPE_RESPONDER_XRC_SRQ it is the srq_id |
| 59 | */ |
| 60 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_cqe_responder#flags.; |
| 61 | #define RDMA_CQE_RESPONDER_TOGGLE_BIT_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:61:9`! 0x1 /* indicates a valid completion written by FW. FW toggle this bit each time it finishes producing all PBL entries */ |
| 62 | #define RDMA_CQE_RESPONDER_TOGGLE_BIT_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:62:9`! 0 |
| 63 | #define RDMA_CQE_RESPONDER_TYPE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:63:9`! 0x3 /* (use enum rdma_cqe_type) */ |
| 64 | #define RDMA_CQE_RESPONDER_TYPE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:64:9`! 1 |
| 65 | #define RDMA_CQE_RESPONDER_INV_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:65:9`! 0x1 /* r_key invalidated indicator */ |
| 66 | #define RDMA_CQE_RESPONDER_INV_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:66:9`! 3 |
| 67 | #define RDMA_CQE_RESPONDER_IMM_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:67:9`! 0x1 /* immediate data indicator */ |
| 68 | #define RDMA_CQE_RESPONDER_IMM_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:68:9`! 4 |
| 69 | #define RDMA_CQE_RESPONDER_RDMA_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:69:9`! 0x1 /* 1=this CQE relates to an RDMA Write. 0=Send. */ |
| 70 | #define RDMA_CQE_RESPONDER_RDMA_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:70:9`! 5 |
| 71 | #define RDMA_CQE_RESPONDER_RESERVED2_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:71:9`! 0x3 |
| 72 | #define RDMA_CQE_RESPONDER_RESERVED2_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:72:9`! 6 |
| 73 | uint8_tcxx . . $ uint8_t# statuscxx . . $ rdma_cqe_responder#status.; |
| 74 | }; |
| 75 | |
| 76 | struct rdma_cqe_requestercxx . . $ rdma_cqe_requester# |
| 77 | { |
| 78 | __le16cxx . . $ __le16# sq_conscxx . . $ rdma_cqe_requester#sq_cons.; |
| 79 | __le16cxx . . $ __le16# reserved0cxx . . $ rdma_cqe_requester#reserved0.; |
| 80 | __le32cxx . . $ __le32# reserved1cxx . . $ rdma_cqe_requester#reserved1.; |
| 81 | struct regpaircxx . . $ regpair# qp_handlecxx . . $ rdma_cqe_requester#qp_handle.; |
| 82 | struct regpaircxx . . $ regpair# reserved2cxx . . $ rdma_cqe_requester#reserved2.; |
| 83 | __le32cxx . . $ __le32# reserved3cxx . . $ rdma_cqe_requester#reserved3.; |
| 84 | __le16cxx . . $ __le16# reserved4cxx . . $ rdma_cqe_requester#reserved4.; |
| 85 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_cqe_requester#flags.; |
| 86 | #define RDMA_CQE_REQUESTER_TOGGLE_BIT_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:86:9`! 0x1 /* indicates a valid completion written by FW. FW toggle this bit each time it finishes producing all PBL entries */ |
| 87 | #define RDMA_CQE_REQUESTER_TOGGLE_BIT_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:87:9`! 0 |
| 88 | #define RDMA_CQE_REQUESTER_TYPE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:88:9`! 0x3 /* (use enum rdma_cqe_type) */ |
| 89 | #define RDMA_CQE_REQUESTER_TYPE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:89:9`! 1 |
| 90 | #define RDMA_CQE_REQUESTER_RESERVED5_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:90:9`! 0x1F |
| 91 | #define RDMA_CQE_REQUESTER_RESERVED5_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:91:9`! 3 |
| 92 | uint8_tcxx . . $ uint8_t# statuscxx . . $ rdma_cqe_requester#status.; |
| 93 | }; |
| 94 | |
| 95 | struct rdma_cqe_commoncxx . . $ rdma_cqe_common# |
| 96 | { |
| 97 | struct regpaircxx . . $ regpair# reserved0cxx . . $ rdma_cqe_common#reserved0.; |
| 98 | struct regpaircxx . . $ regpair# qp_handlecxx . . $ rdma_cqe_common#qp_handle.; |
| 99 | __le16cxx . . $ __le16# reserved1cxx . . $ rdma_cqe_common#reserved1.[7]; |
| 100 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_cqe_common#flags.; |
| 101 | #define RDMA_CQE_COMMON_TOGGLE_BIT_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:101:9`! 0x1 /* indicates a valid completion written by FW. FW toggle this bit each time it finishes producing all PBL entries */ |
| 102 | #define RDMA_CQE_COMMON_TOGGLE_BIT_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:102:9`! 0 |
| 103 | #define RDMA_CQE_COMMON_TYPE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:103:9`! 0x3 /* (use enum rdma_cqe_type) */ |
| 104 | #define RDMA_CQE_COMMON_TYPE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:104:9`! 1 |
| 105 | #define RDMA_CQE_COMMON_RESERVED2_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:105:9`! 0x1F |
| 106 | #define RDMA_CQE_COMMON_RESERVED2_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:106:9`! 3 |
| 107 | uint8_tcxx . . $ uint8_t# statuscxx . . $ rdma_cqe_common#status.; |
| 108 | }; |
| 109 | |
| 110 | /* |
| 111 | * rdma completion queue element |
| 112 | */ |
| 113 | union rdma_cqecxx . . $ rdma_cqe# |
| 114 | { |
| 115 | struct rdma_cqe_respondercxx . . $ rdma_cqe_responder# respcxx . . $ rdma_cqe#resp.; |
| 116 | struct rdma_cqe_requestercxx . . $ rdma_cqe_requester# reqcxx . . $ rdma_cqe#req.; |
| 117 | struct rdma_cqe_commoncxx . . $ rdma_cqe_common# cmncxx . . $ rdma_cqe#cmn.; |
| 118 | }; |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | /* |
| 124 | * CQE requester status enumeration |
| 125 | */ |
| 126 | enum rdma_cqe_requester_status_enumcxx . . $ rdma_cqe_requester_status_enum# |
| 127 | { |
| 128 | RDMA_CQE_REQ_STS_OKcxx . . $ RDMA_CQE_REQ_STS_OK., |
| 129 | RDMA_CQE_REQ_STS_BAD_RESPONSE_ERRcxx . . $ RDMA_CQE_REQ_STS_BAD_RESPONSE_ERR., |
| 130 | RDMA_CQE_REQ_STS_LOCAL_LENGTH_ERRcxx . . $ RDMA_CQE_REQ_STS_LOCAL_LENGTH_ERR., |
| 131 | RDMA_CQE_REQ_STS_LOCAL_QP_OPERATION_ERRcxx . . $ RDMA_CQE_REQ_STS_LOCAL_QP_OPERATION_ERR., |
| 132 | RDMA_CQE_REQ_STS_LOCAL_PROTECTION_ERRcxx . . $ RDMA_CQE_REQ_STS_LOCAL_PROTECTION_ERR., |
| 133 | RDMA_CQE_REQ_STS_MEMORY_MGT_OPERATION_ERRcxx . . $ RDMA_CQE_REQ_STS_MEMORY_MGT_OPERATION_ERR., |
| 134 | RDMA_CQE_REQ_STS_REMOTE_INVALID_REQUEST_ERRcxx . . $ RDMA_CQE_REQ_STS_REMOTE_INVALID_REQUEST_ERR., |
| 135 | RDMA_CQE_REQ_STS_REMOTE_ACCESS_ERRcxx . . $ RDMA_CQE_REQ_STS_REMOTE_ACCESS_ERR., |
| 136 | RDMA_CQE_REQ_STS_REMOTE_OPERATION_ERRcxx . . $ RDMA_CQE_REQ_STS_REMOTE_OPERATION_ERR., |
| 137 | RDMA_CQE_REQ_STS_RNR_NAK_RETRY_CNT_ERRcxx . . $ RDMA_CQE_REQ_STS_RNR_NAK_RETRY_CNT_ERR., |
| 138 | RDMA_CQE_REQ_STS_TRANSPORT_RETRY_CNT_ERRcxx . . $ RDMA_CQE_REQ_STS_TRANSPORT_RETRY_CNT_ERR., |
| 139 | RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERRcxx . . $ RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR., |
| 140 | RDMA_CQE_REQ_STS_XRC_VIOLATION_ERRcxx . . $ RDMA_CQE_REQ_STS_XRC_VIOLATION_ERR., |
| 141 | MAX_RDMA_CQE_REQUESTER_STATUS_ENUMcxx . . $ MAX_RDMA_CQE_REQUESTER_STATUS_ENUM. |
| 142 | }; |
| 143 | |
| 144 | |
| 145 | |
| 146 | /* |
| 147 | * CQE responder status enumeration |
| 148 | */ |
| 149 | enum rdma_cqe_responder_status_enumcxx . . $ rdma_cqe_responder_status_enum# |
| 150 | { |
| 151 | RDMA_CQE_RESP_STS_OKcxx . . $ RDMA_CQE_RESP_STS_OK., |
| 152 | RDMA_CQE_RESP_STS_LOCAL_ACCESS_ERRcxx . . $ RDMA_CQE_RESP_STS_LOCAL_ACCESS_ERR., |
| 153 | RDMA_CQE_RESP_STS_LOCAL_LENGTH_ERRcxx . . $ RDMA_CQE_RESP_STS_LOCAL_LENGTH_ERR., |
| 154 | RDMA_CQE_RESP_STS_LOCAL_QP_OPERATION_ERRcxx . . $ RDMA_CQE_RESP_STS_LOCAL_QP_OPERATION_ERR., |
| 155 | RDMA_CQE_RESP_STS_LOCAL_PROTECTION_ERRcxx . . $ RDMA_CQE_RESP_STS_LOCAL_PROTECTION_ERR., |
| 156 | RDMA_CQE_RESP_STS_MEMORY_MGT_OPERATION_ERRcxx . . $ RDMA_CQE_RESP_STS_MEMORY_MGT_OPERATION_ERR., |
| 157 | RDMA_CQE_RESP_STS_REMOTE_INVALID_REQUEST_ERRcxx . . $ RDMA_CQE_RESP_STS_REMOTE_INVALID_REQUEST_ERR., |
| 158 | RDMA_CQE_RESP_STS_WORK_REQUEST_FLUSHED_ERRcxx . . $ RDMA_CQE_RESP_STS_WORK_REQUEST_FLUSHED_ERR., |
| 159 | MAX_RDMA_CQE_RESPONDER_STATUS_ENUMcxx . . $ MAX_RDMA_CQE_RESPONDER_STATUS_ENUM. |
| 160 | }; |
| 161 | |
| 162 | |
| 163 | /* |
| 164 | * CQE type enumeration |
| 165 | */ |
| 166 | enum rdma_cqe_typecxx . . $ rdma_cqe_type# |
| 167 | { |
| 168 | RDMA_CQE_TYPE_REQUESTERcxx . . $ RDMA_CQE_TYPE_REQUESTER., |
| 169 | RDMA_CQE_TYPE_RESPONDER_RQcxx . . $ RDMA_CQE_TYPE_RESPONDER_RQ., |
| 170 | RDMA_CQE_TYPE_RESPONDER_SRQcxx . . $ RDMA_CQE_TYPE_RESPONDER_SRQ., |
| 171 | RDMA_CQE_TYPE_RESPONDER_XRC_SRQcxx . . $ RDMA_CQE_TYPE_RESPONDER_XRC_SRQ., |
| 172 | RDMA_CQE_TYPE_INVALIDcxx . . $ RDMA_CQE_TYPE_INVALID., |
| 173 | MAX_RDMA_CQE_TYPEcxx . . $ MAX_RDMA_CQE_TYPE. |
| 174 | }; |
| 175 | |
| 176 | |
| 177 | /* |
| 178 | * DIF Block size options |
| 179 | */ |
| 180 | enum rdma_dif_block_sizecxx . . $ rdma_dif_block_size# |
| 181 | { |
| 182 | RDMA_DIF_BLOCK_512cxx . . $ RDMA_DIF_BLOCK_512.=0, |
| 183 | RDMA_DIF_BLOCK_4096cxx . . $ RDMA_DIF_BLOCK_4096.=1, |
| 184 | MAX_RDMA_DIF_BLOCK_SIZEcxx . . $ MAX_RDMA_DIF_BLOCK_SIZE. |
| 185 | }; |
| 186 | |
| 187 | |
| 188 | /* |
| 189 | * DIF CRC initial value |
| 190 | */ |
| 191 | enum rdma_dif_crc_seedcxx . . $ rdma_dif_crc_seed# |
| 192 | { |
| 193 | RDMA_DIF_CRC_SEED_0000cxx . . $ RDMA_DIF_CRC_SEED_0000.=0, |
| 194 | RDMA_DIF_CRC_SEED_FFFFcxx . . $ RDMA_DIF_CRC_SEED_FFFF.=1, |
| 195 | MAX_RDMA_DIF_CRC_SEEDcxx . . $ MAX_RDMA_DIF_CRC_SEED. |
| 196 | }; |
| 197 | |
| 198 | |
| 199 | /* |
| 200 | * RDMA DIF Error Result Structure |
| 201 | */ |
| 202 | struct rdma_dif_error_resultcxx . . $ rdma_dif_error_result# |
| 203 | { |
| 204 | __le32cxx . . $ __le32# error_intervalscxx . . $ rdma_dif_error_result#error_intervals. /* Total number of error intervals in the IO. */; |
| 205 | __le32cxx . . $ __le32# dif_error_1st_intervalcxx . . $ rdma_dif_error_result#dif_error_1st_interval. /* Number of the first interval that contained error. Set to 0xFFFFFFFF if error occurred in the Runt Block. */; |
| 206 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_dif_error_result#flags.; |
| 207 | #define RDMA_DIF_ERROR_RESULT_DIF_ERROR_TYPE_CRC_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:207:9`! 0x1 /* CRC error occurred. */ |
| 208 | #define RDMA_DIF_ERROR_RESULT_DIF_ERROR_TYPE_CRC_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:208:9`! 0 |
| 209 | #define RDMA_DIF_ERROR_RESULT_DIF_ERROR_TYPE_APP_TAG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:209:9`! 0x1 /* App Tag error occurred. */ |
| 210 | #define RDMA_DIF_ERROR_RESULT_DIF_ERROR_TYPE_APP_TAG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:210:9`! 1 |
| 211 | #define RDMA_DIF_ERROR_RESULT_DIF_ERROR_TYPE_REF_TAG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:211:9`! 0x1 /* Ref Tag error occurred. */ |
| 212 | #define RDMA_DIF_ERROR_RESULT_DIF_ERROR_TYPE_REF_TAG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:212:9`! 2 |
| 213 | #define RDMA_DIF_ERROR_RESULT_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:213:9`! 0xF |
| 214 | #define RDMA_DIF_ERROR_RESULT_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:214:9`! 3 |
| 215 | #define RDMA_DIF_ERROR_RESULT_TOGGLE_BIT_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:215:9`! 0x1 /* Used to indicate the structure is valid. Toggles each time an invalidate region is performed. */ |
| 216 | #define RDMA_DIF_ERROR_RESULT_TOGGLE_BIT_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:216:9`! 7 |
| 217 | uint8_tcxx . . $ uint8_t# reserved1cxx . . $ rdma_dif_error_result#reserved1.[55] /* Pad to 64 bytes to ensure efficient word line writing. */; |
| 218 | }; |
| 219 | |
| 220 | |
| 221 | /* |
| 222 | * DIF IO direction |
| 223 | */ |
| 224 | enum rdma_dif_io_direction_flgcxx . . $ rdma_dif_io_direction_flg# |
| 225 | { |
| 226 | RDMA_DIF_DIR_RXcxx . . $ RDMA_DIF_DIR_RX.=0, |
| 227 | RDMA_DIF_DIR_TXcxx . . $ RDMA_DIF_DIR_TX.=1, |
| 228 | MAX_RDMA_DIF_IO_DIRECTION_FLGcxx . . $ MAX_RDMA_DIF_IO_DIRECTION_FLG. |
| 229 | }; |
| 230 | |
| 231 | |
| 232 | /* |
| 233 | * RDMA DIF Runt Result Structure |
| 234 | */ |
| 235 | struct rdma_dif_runt_resultcxx . . $ rdma_dif_runt_result# |
| 236 | { |
| 237 | __le16cxx . . $ __le16# guard_tagcxx . . $ rdma_dif_runt_result#guard_tag. /* CRC result of received IO. */; |
| 238 | __le16cxx . . $ __le16# reservedcxx . . $ rdma_dif_runt_result#reserved.[3]; |
| 239 | }; |
| 240 | |
| 241 | |
| 242 | /* |
| 243 | * memory window type enumeration |
| 244 | */ |
| 245 | enum rdma_mw_typecxx . . $ rdma_mw_type# |
| 246 | { |
| 247 | RDMA_MW_TYPE_1cxx . . $ RDMA_MW_TYPE_1., |
| 248 | RDMA_MW_TYPE_2Acxx . . $ RDMA_MW_TYPE_2A., |
| 249 | MAX_RDMA_MW_TYPEcxx . . $ MAX_RDMA_MW_TYPE. |
| 250 | }; |
| 251 | |
| 252 | |
| 253 | struct rdma_rq_sgecxx . . $ rdma_rq_sge# |
| 254 | { |
| 255 | struct regpaircxx . . $ regpair# addrcxx . . $ rdma_rq_sge#addr.; |
| 256 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_rq_sge#length.; |
| 257 | __le32cxx . . $ __le32# flagscxx . . $ rdma_rq_sge#flags.; |
| 258 | #define RDMA_RQ_SGE_L_KEY_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:258:9`! 0x3FFFFFF /* key of memory relating to this RQ */ |
| 259 | #define RDMA_RQ_SGE_L_KEY_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:259:9`! 0 |
| 260 | #define RDMA_RQ_SGE_NUM_SGES_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:260:9`! 0x7 /* first SGE - number of SGEs in this RQ WQE. Other SGEs - should be set to 0 */ |
| 261 | #define RDMA_RQ_SGE_NUM_SGES_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:261:9`! 26 |
| 262 | #define RDMA_RQ_SGE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:262:9`! 0x7 |
| 263 | #define RDMA_RQ_SGE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:263:9`! 29 |
| 264 | }; |
| 265 | |
| 266 | |
| 267 | struct rdma_sq_atomic_wqecxx . . $ rdma_sq_atomic_wqe# |
| 268 | { |
| 269 | __le32cxx . . $ __le32# reserved1cxx . . $ rdma_sq_atomic_wqe#reserved1.; |
| 270 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_sq_atomic_wqe#length. /* Total data length (8 bytes for Atomic) */; |
| 271 | __le32cxx . . $ __le32# xrc_srqcxx . . $ rdma_sq_atomic_wqe#xrc_srq. /* Valid only when XRC is set for the QP */; |
| 272 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_atomic_wqe#req_type. /* Type of WQE */; |
| 273 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_atomic_wqe#flags.; |
| 274 | #define RDMA_SQ_ATOMIC_WQE_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:274:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 275 | #define RDMA_SQ_ATOMIC_WQE_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:275:9`! 0 |
| 276 | #define RDMA_SQ_ATOMIC_WQE_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:276:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 277 | #define RDMA_SQ_ATOMIC_WQE_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:277:9`! 1 |
| 278 | #define RDMA_SQ_ATOMIC_WQE_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:278:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 279 | #define RDMA_SQ_ATOMIC_WQE_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:279:9`! 2 |
| 280 | #define RDMA_SQ_ATOMIC_WQE_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:280:9`! 0x1 /* Don't care for atomic wqe */ |
| 281 | #define RDMA_SQ_ATOMIC_WQE_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:281:9`! 3 |
| 282 | #define RDMA_SQ_ATOMIC_WQE_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:282:9`! 0x1 /* Should be 0 for atomic wqe */ |
| 283 | #define RDMA_SQ_ATOMIC_WQE_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:283:9`! 4 |
| 284 | #define RDMA_SQ_ATOMIC_WQE_DIF_ON_HOST_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:284:9`! 0x1 /* Should be 0 for atomic wqe */ |
| 285 | #define RDMA_SQ_ATOMIC_WQE_DIF_ON_HOST_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:285:9`! 5 |
| 286 | #define RDMA_SQ_ATOMIC_WQE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:286:9`! 0x3 |
| 287 | #define RDMA_SQ_ATOMIC_WQE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:287:9`! 6 |
| 288 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_atomic_wqe#wqe_size. /* Size of WQE in 16B chunks including SGE */; |
| 289 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_atomic_wqe#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 290 | struct regpaircxx . . $ regpair# remote_vacxx . . $ rdma_sq_atomic_wqe#remote_va. /* remote virtual address */; |
| 291 | __le32cxx . . $ __le32# r_keycxx . . $ rdma_sq_atomic_wqe#r_key. /* Remote key */; |
| 292 | __le32cxx . . $ __le32# reserved2cxx . . $ rdma_sq_atomic_wqe#reserved2.; |
| 293 | struct regpaircxx . . $ regpair# cmp_datacxx . . $ rdma_sq_atomic_wqe#cmp_data. /* Data to compare in case of ATOMIC_CMP_AND_SWAP */; |
| 294 | struct regpaircxx . . $ regpair# swap_datacxx . . $ rdma_sq_atomic_wqe#swap_data. /* Swap or add data */; |
| 295 | }; |
| 296 | |
| 297 | |
| 298 | /* |
| 299 | * First element (16 bytes) of atomic wqe |
| 300 | */ |
| 301 | struct rdma_sq_atomic_wqe_1stcxx . . $ rdma_sq_atomic_wqe_1st# |
| 302 | { |
| 303 | __le32cxx . . $ __le32# reserved1cxx . . $ rdma_sq_atomic_wqe_1st#reserved1.; |
| 304 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_sq_atomic_wqe_1st#length. /* Total data length (8 bytes for Atomic) */; |
| 305 | __le32cxx . . $ __le32# xrc_srqcxx . . $ rdma_sq_atomic_wqe_1st#xrc_srq. /* Valid only when XRC is set for the QP */; |
| 306 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_atomic_wqe_1st#req_type. /* Type of WQE */; |
| 307 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_atomic_wqe_1st#flags.; |
| 308 | #define RDMA_SQ_ATOMIC_WQE_1ST_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:308:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 309 | #define RDMA_SQ_ATOMIC_WQE_1ST_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:309:9`! 0 |
| 310 | #define RDMA_SQ_ATOMIC_WQE_1ST_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:310:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 311 | #define RDMA_SQ_ATOMIC_WQE_1ST_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:311:9`! 1 |
| 312 | #define RDMA_SQ_ATOMIC_WQE_1ST_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:312:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 313 | #define RDMA_SQ_ATOMIC_WQE_1ST_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:313:9`! 2 |
| 314 | #define RDMA_SQ_ATOMIC_WQE_1ST_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:314:9`! 0x1 /* Don't care for atomic wqe */ |
| 315 | #define RDMA_SQ_ATOMIC_WQE_1ST_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:315:9`! 3 |
| 316 | #define RDMA_SQ_ATOMIC_WQE_1ST_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:316:9`! 0x1 /* Should be 0 for atomic wqe */ |
| 317 | #define RDMA_SQ_ATOMIC_WQE_1ST_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:317:9`! 4 |
| 318 | #define RDMA_SQ_ATOMIC_WQE_1ST_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:318:9`! 0x7 |
| 319 | #define RDMA_SQ_ATOMIC_WQE_1ST_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:319:9`! 5 |
| 320 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_atomic_wqe_1st#wqe_size. /* Size of WQE in 16B chunks including all SGEs. Set to number of SGEs + 1. */; |
| 321 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_atomic_wqe_1st#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 322 | }; |
| 323 | |
| 324 | |
| 325 | /* |
| 326 | * Second element (16 bytes) of atomic wqe |
| 327 | */ |
| 328 | struct rdma_sq_atomic_wqe_2ndcxx . . $ rdma_sq_atomic_wqe_2nd# |
| 329 | { |
| 330 | struct regpaircxx . . $ regpair# remote_vacxx . . $ rdma_sq_atomic_wqe_2nd#remote_va. /* remote virtual address */; |
| 331 | __le32cxx . . $ __le32# r_keycxx . . $ rdma_sq_atomic_wqe_2nd#r_key. /* Remote key */; |
| 332 | __le32cxx . . $ __le32# reserved2cxx . . $ rdma_sq_atomic_wqe_2nd#reserved2.; |
| 333 | }; |
| 334 | |
| 335 | |
| 336 | /* |
| 337 | * Third element (16 bytes) of atomic wqe |
| 338 | */ |
| 339 | struct rdma_sq_atomic_wqe_3rdcxx . . $ rdma_sq_atomic_wqe_3rd# |
| 340 | { |
| 341 | struct regpaircxx . . $ regpair# cmp_datacxx . . $ rdma_sq_atomic_wqe_3rd#cmp_data. /* Data to compare in case of ATOMIC_CMP_AND_SWAP */; |
| 342 | struct regpaircxx . . $ regpair# swap_datacxx . . $ rdma_sq_atomic_wqe_3rd#swap_data. /* Swap or add data */; |
| 343 | }; |
| 344 | |
| 345 | |
| 346 | struct rdma_sq_bind_wqecxx . . $ rdma_sq_bind_wqe# |
| 347 | { |
| 348 | struct regpaircxx . . $ regpair# addrcxx . . $ rdma_sq_bind_wqe#addr.; |
| 349 | __le32cxx . . $ __le32# l_keycxx . . $ rdma_sq_bind_wqe#l_key.; |
| 350 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_bind_wqe#req_type. /* Type of WQE */; |
| 351 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_bind_wqe#flags.; |
| 352 | #define RDMA_SQ_BIND_WQE_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:352:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 353 | #define RDMA_SQ_BIND_WQE_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:353:9`! 0 |
| 354 | #define RDMA_SQ_BIND_WQE_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:354:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 355 | #define RDMA_SQ_BIND_WQE_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:355:9`! 1 |
| 356 | #define RDMA_SQ_BIND_WQE_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:356:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 357 | #define RDMA_SQ_BIND_WQE_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:357:9`! 2 |
| 358 | #define RDMA_SQ_BIND_WQE_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:358:9`! 0x1 /* Don't care for bind wqe */ |
| 359 | #define RDMA_SQ_BIND_WQE_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:359:9`! 3 |
| 360 | #define RDMA_SQ_BIND_WQE_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:360:9`! 0x1 /* Should be 0 for bind wqe */ |
| 361 | #define RDMA_SQ_BIND_WQE_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:361:9`! 4 |
| 362 | #define RDMA_SQ_BIND_WQE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:362:9`! 0x7 |
| 363 | #define RDMA_SQ_BIND_WQE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:363:9`! 5 |
| 364 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_bind_wqe#wqe_size. /* Size of WQE in 16B chunks */; |
| 365 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_bind_wqe#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 366 | uint8_tcxx . . $ uint8_t# bind_ctrlcxx . . $ rdma_sq_bind_wqe#bind_ctrl.; |
| 367 | #define RDMA_SQ_BIND_WQE_ZERO_BASED_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:367:9`! 0x1 /* zero based indication */ |
| 368 | #define RDMA_SQ_BIND_WQE_ZERO_BASED_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:368:9`! 0 |
| 369 | #define RDMA_SQ_BIND_WQE_MW_TYPE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:369:9`! 0x1 /* (use enum rdma_mw_type) */ |
| 370 | #define RDMA_SQ_BIND_WQE_MW_TYPE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:370:9`! 1 |
| 371 | #define RDMA_SQ_BIND_WQE_RESERVED1_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:371:9`! 0x3F |
| 372 | #define RDMA_SQ_BIND_WQE_RESERVED1_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:372:9`! 2 |
| 373 | uint8_tcxx . . $ uint8_t# access_ctrlcxx . . $ rdma_sq_bind_wqe#access_ctrl.; |
| 374 | #define RDMA_SQ_BIND_WQE_REMOTE_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:374:9`! 0x1 |
| 375 | #define RDMA_SQ_BIND_WQE_REMOTE_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:375:9`! 0 |
| 376 | #define RDMA_SQ_BIND_WQE_REMOTE_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:376:9`! 0x1 |
| 377 | #define RDMA_SQ_BIND_WQE_REMOTE_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:377:9`! 1 |
| 378 | #define RDMA_SQ_BIND_WQE_ENABLE_ATOMIC_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:378:9`! 0x1 |
| 379 | #define RDMA_SQ_BIND_WQE_ENABLE_ATOMIC_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:379:9`! 2 |
| 380 | #define RDMA_SQ_BIND_WQE_LOCAL_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:380:9`! 0x1 |
| 381 | #define RDMA_SQ_BIND_WQE_LOCAL_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:381:9`! 3 |
| 382 | #define RDMA_SQ_BIND_WQE_LOCAL_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:382:9`! 0x1 |
| 383 | #define RDMA_SQ_BIND_WQE_LOCAL_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:383:9`! 4 |
| 384 | #define RDMA_SQ_BIND_WQE_RESERVED2_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:384:9`! 0x7 |
| 385 | #define RDMA_SQ_BIND_WQE_RESERVED2_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:385:9`! 5 |
| 386 | uint8_tcxx . . $ uint8_t# reserved3cxx . . $ rdma_sq_bind_wqe#reserved3.; |
| 387 | uint8_tcxx . . $ uint8_t# length_hicxx . . $ rdma_sq_bind_wqe#length_hi. /* upper 8 bits of the registered MW length */; |
| 388 | __le32cxx . . $ __le32# length_locxx . . $ rdma_sq_bind_wqe#length_lo. /* lower 32 bits of the registered MW length */; |
| 389 | __le32cxx . . $ __le32# parent_l_keycxx . . $ rdma_sq_bind_wqe#parent_l_key. /* l_key of the parent MR */; |
| 390 | __le32cxx . . $ __le32# reserved4cxx . . $ rdma_sq_bind_wqe#reserved4.; |
| 391 | }; |
| 392 | |
| 393 | |
| 394 | /* |
| 395 | * First element (16 bytes) of bind wqe |
| 396 | */ |
| 397 | struct rdma_sq_bind_wqe_1stcxx . . $ rdma_sq_bind_wqe_1st# |
| 398 | { |
| 399 | struct regpaircxx . . $ regpair# addrcxx . . $ rdma_sq_bind_wqe_1st#addr.; |
| 400 | __le32cxx . . $ __le32# l_keycxx . . $ rdma_sq_bind_wqe_1st#l_key.; |
| 401 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_bind_wqe_1st#req_type. /* Type of WQE */; |
| 402 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_bind_wqe_1st#flags.; |
| 403 | #define RDMA_SQ_BIND_WQE_1ST_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:403:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 404 | #define RDMA_SQ_BIND_WQE_1ST_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:404:9`! 0 |
| 405 | #define RDMA_SQ_BIND_WQE_1ST_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:405:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 406 | #define RDMA_SQ_BIND_WQE_1ST_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:406:9`! 1 |
| 407 | #define RDMA_SQ_BIND_WQE_1ST_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:407:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 408 | #define RDMA_SQ_BIND_WQE_1ST_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:408:9`! 2 |
| 409 | #define RDMA_SQ_BIND_WQE_1ST_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:409:9`! 0x1 /* Don't care for bind wqe */ |
| 410 | #define RDMA_SQ_BIND_WQE_1ST_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:410:9`! 3 |
| 411 | #define RDMA_SQ_BIND_WQE_1ST_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:411:9`! 0x1 /* Should be 0 for bind wqe */ |
| 412 | #define RDMA_SQ_BIND_WQE_1ST_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:412:9`! 4 |
| 413 | #define RDMA_SQ_BIND_WQE_1ST_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:413:9`! 0x7 |
| 414 | #define RDMA_SQ_BIND_WQE_1ST_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:414:9`! 5 |
| 415 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_bind_wqe_1st#wqe_size. /* Size of WQE in 16B chunks */; |
| 416 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_bind_wqe_1st#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 417 | }; |
| 418 | |
| 419 | |
| 420 | /* |
| 421 | * Second element (16 bytes) of bind wqe |
| 422 | */ |
| 423 | struct rdma_sq_bind_wqe_2ndcxx . . $ rdma_sq_bind_wqe_2nd# |
| 424 | { |
| 425 | uint8_tcxx . . $ uint8_t# bind_ctrlcxx . . $ rdma_sq_bind_wqe_2nd#bind_ctrl.; |
| 426 | #define RDMA_SQ_BIND_WQE_2ND_ZERO_BASED_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:426:9`! 0x1 /* zero based indication */ |
| 427 | #define RDMA_SQ_BIND_WQE_2ND_ZERO_BASED_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:427:9`! 0 |
| 428 | #define RDMA_SQ_BIND_WQE_2ND_MW_TYPE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:428:9`! 0x1 /* (use enum rdma_mw_type) */ |
| 429 | #define RDMA_SQ_BIND_WQE_2ND_MW_TYPE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:429:9`! 1 |
| 430 | #define RDMA_SQ_BIND_WQE_2ND_RESERVED1_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:430:9`! 0x3F |
| 431 | #define RDMA_SQ_BIND_WQE_2ND_RESERVED1_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:431:9`! 2 |
| 432 | uint8_tcxx . . $ uint8_t# access_ctrlcxx . . $ rdma_sq_bind_wqe_2nd#access_ctrl.; |
| 433 | #define RDMA_SQ_BIND_WQE_2ND_REMOTE_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:433:9`! 0x1 |
| 434 | #define RDMA_SQ_BIND_WQE_2ND_REMOTE_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:434:9`! 0 |
| 435 | #define RDMA_SQ_BIND_WQE_2ND_REMOTE_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:435:9`! 0x1 |
| 436 | #define RDMA_SQ_BIND_WQE_2ND_REMOTE_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:436:9`! 1 |
| 437 | #define RDMA_SQ_BIND_WQE_2ND_ENABLE_ATOMIC_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:437:9`! 0x1 |
| 438 | #define RDMA_SQ_BIND_WQE_2ND_ENABLE_ATOMIC_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:438:9`! 2 |
| 439 | #define RDMA_SQ_BIND_WQE_2ND_LOCAL_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:439:9`! 0x1 |
| 440 | #define RDMA_SQ_BIND_WQE_2ND_LOCAL_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:440:9`! 3 |
| 441 | #define RDMA_SQ_BIND_WQE_2ND_LOCAL_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:441:9`! 0x1 |
| 442 | #define RDMA_SQ_BIND_WQE_2ND_LOCAL_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:442:9`! 4 |
| 443 | #define RDMA_SQ_BIND_WQE_2ND_RESERVED2_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:443:9`! 0x7 |
| 444 | #define RDMA_SQ_BIND_WQE_2ND_RESERVED2_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:444:9`! 5 |
| 445 | uint8_tcxx . . $ uint8_t# reserved3cxx . . $ rdma_sq_bind_wqe_2nd#reserved3.; |
| 446 | uint8_tcxx . . $ uint8_t# length_hicxx . . $ rdma_sq_bind_wqe_2nd#length_hi. /* upper 8 bits of the registered MW length */; |
| 447 | __le32cxx . . $ __le32# length_locxx . . $ rdma_sq_bind_wqe_2nd#length_lo. /* lower 32 bits of the registered MW length */; |
| 448 | __le32cxx . . $ __le32# parent_l_keycxx . . $ rdma_sq_bind_wqe_2nd#parent_l_key. /* l_key of the parent MR */; |
| 449 | __le32cxx . . $ __le32# reserved4cxx . . $ rdma_sq_bind_wqe_2nd#reserved4.; |
| 450 | }; |
| 451 | |
| 452 | |
| 453 | /* |
| 454 | * Structure with only the SQ WQE common fields. Size is of one SQ element (16B) |
| 455 | */ |
| 456 | struct rdma_sq_common_wqecxx . . $ rdma_sq_common_wqe# |
| 457 | { |
| 458 | __le32cxx . . $ __le32# reserved1cxx . . $ rdma_sq_common_wqe#reserved1.[3]; |
| 459 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_common_wqe#req_type. /* Type of WQE */; |
| 460 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_common_wqe#flags.; |
| 461 | #define RDMA_SQ_COMMON_WQE_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:461:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 462 | #define RDMA_SQ_COMMON_WQE_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:462:9`! 0 |
| 463 | #define RDMA_SQ_COMMON_WQE_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:463:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 464 | #define RDMA_SQ_COMMON_WQE_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:464:9`! 1 |
| 465 | #define RDMA_SQ_COMMON_WQE_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:465:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 466 | #define RDMA_SQ_COMMON_WQE_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:466:9`! 2 |
| 467 | #define RDMA_SQ_COMMON_WQE_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:467:9`! 0x1 /* If set, signal the responder to generate a solicited event on this WQE (only relevant in SENDs and RDMA write with Imm) */ |
| 468 | #define RDMA_SQ_COMMON_WQE_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:468:9`! 3 |
| 469 | #define RDMA_SQ_COMMON_WQE_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:469:9`! 0x1 /* if set, indicates inline data is following this WQE instead of SGEs (only relevant in SENDs and RDMA writes) */ |
| 470 | #define RDMA_SQ_COMMON_WQE_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:470:9`! 4 |
| 471 | #define RDMA_SQ_COMMON_WQE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:471:9`! 0x7 |
| 472 | #define RDMA_SQ_COMMON_WQE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:472:9`! 5 |
| 473 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_common_wqe#wqe_size. /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; |
| 474 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_common_wqe#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 475 | }; |
| 476 | |
| 477 | |
| 478 | struct rdma_sq_fmr_wqecxx . . $ rdma_sq_fmr_wqe# |
| 479 | { |
| 480 | struct regpaircxx . . $ regpair# addrcxx . . $ rdma_sq_fmr_wqe#addr.; |
| 481 | __le32cxx . . $ __le32# l_keycxx . . $ rdma_sq_fmr_wqe#l_key.; |
| 482 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_fmr_wqe#req_type. /* Type of WQE */; |
| 483 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_fmr_wqe#flags.; |
| 484 | #define RDMA_SQ_FMR_WQE_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:484:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 485 | #define RDMA_SQ_FMR_WQE_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:485:9`! 0 |
| 486 | #define RDMA_SQ_FMR_WQE_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:486:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 487 | #define RDMA_SQ_FMR_WQE_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:487:9`! 1 |
| 488 | #define RDMA_SQ_FMR_WQE_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:488:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 489 | #define RDMA_SQ_FMR_WQE_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:489:9`! 2 |
| 490 | #define RDMA_SQ_FMR_WQE_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:490:9`! 0x1 /* Don't care for FMR wqe */ |
| 491 | #define RDMA_SQ_FMR_WQE_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:491:9`! 3 |
| 492 | #define RDMA_SQ_FMR_WQE_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:492:9`! 0x1 /* Should be 0 for FMR wqe */ |
| 493 | #define RDMA_SQ_FMR_WQE_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:493:9`! 4 |
| 494 | #define RDMA_SQ_FMR_WQE_DIF_ON_HOST_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:494:9`! 0x1 /* If set, indicated host memory of this WQE is DIF protected. */ |
| 495 | #define RDMA_SQ_FMR_WQE_DIF_ON_HOST_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:495:9`! 5 |
| 496 | #define RDMA_SQ_FMR_WQE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:496:9`! 0x3 |
| 497 | #define RDMA_SQ_FMR_WQE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:497:9`! 6 |
| 498 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_fmr_wqe#wqe_size. /* Size of WQE in 16B chunks */; |
| 499 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_fmr_wqe#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 500 | uint8_tcxx . . $ uint8_t# fmr_ctrlcxx . . $ rdma_sq_fmr_wqe#fmr_ctrl.; |
| 501 | #define RDMA_SQ_FMR_WQE_PAGE_SIZE_LOG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:501:9`! 0x1F /* 0 is 4k, 1 is 8k... */ |
| 502 | #define RDMA_SQ_FMR_WQE_PAGE_SIZE_LOG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:502:9`! 0 |
| 503 | #define RDMA_SQ_FMR_WQE_ZERO_BASED_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:503:9`! 0x1 /* zero based indication */ |
| 504 | #define RDMA_SQ_FMR_WQE_ZERO_BASED_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:504:9`! 5 |
| 505 | #define RDMA_SQ_FMR_WQE_BIND_EN_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:505:9`! 0x1 /* indication whether bind is enabled for this MR */ |
| 506 | #define RDMA_SQ_FMR_WQE_BIND_EN_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:506:9`! 6 |
| 507 | #define RDMA_SQ_FMR_WQE_RESERVED1_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:507:9`! 0x1 |
| 508 | #define RDMA_SQ_FMR_WQE_RESERVED1_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:508:9`! 7 |
| 509 | uint8_tcxx . . $ uint8_t# access_ctrlcxx . . $ rdma_sq_fmr_wqe#access_ctrl.; |
| 510 | #define RDMA_SQ_FMR_WQE_REMOTE_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:510:9`! 0x1 |
| 511 | #define RDMA_SQ_FMR_WQE_REMOTE_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:511:9`! 0 |
| 512 | #define RDMA_SQ_FMR_WQE_REMOTE_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:512:9`! 0x1 |
| 513 | #define RDMA_SQ_FMR_WQE_REMOTE_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:513:9`! 1 |
| 514 | #define RDMA_SQ_FMR_WQE_ENABLE_ATOMIC_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:514:9`! 0x1 |
| 515 | #define RDMA_SQ_FMR_WQE_ENABLE_ATOMIC_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:515:9`! 2 |
| 516 | #define RDMA_SQ_FMR_WQE_LOCAL_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:516:9`! 0x1 |
| 517 | #define RDMA_SQ_FMR_WQE_LOCAL_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:517:9`! 3 |
| 518 | #define RDMA_SQ_FMR_WQE_LOCAL_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:518:9`! 0x1 |
| 519 | #define RDMA_SQ_FMR_WQE_LOCAL_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:519:9`! 4 |
| 520 | #define RDMA_SQ_FMR_WQE_RESERVED2_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:520:9`! 0x7 |
| 521 | #define RDMA_SQ_FMR_WQE_RESERVED2_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:521:9`! 5 |
| 522 | uint8_tcxx . . $ uint8_t# reserved3cxx . . $ rdma_sq_fmr_wqe#reserved3.; |
| 523 | uint8_tcxx . . $ uint8_t# length_hicxx . . $ rdma_sq_fmr_wqe#length_hi. /* upper 8 bits of the registered MR length */; |
| 524 | __le32cxx . . $ __le32# length_locxx . . $ rdma_sq_fmr_wqe#length_lo. /* lower 32 bits of the registered MR length. In case of DIF the length is specified including the DIF guards. */; |
| 525 | struct regpaircxx . . $ regpair# pbl_addrcxx . . $ rdma_sq_fmr_wqe#pbl_addr. /* Address of PBL */; |
| 526 | __le32cxx . . $ __le32# dif_base_ref_tagcxx . . $ rdma_sq_fmr_wqe#dif_base_ref_tag. /* Ref tag of the first DIF Block. */; |
| 527 | __le16cxx . . $ __le16# dif_app_tagcxx . . $ rdma_sq_fmr_wqe#dif_app_tag. /* App tag of all DIF Blocks. */; |
| 528 | __le16cxx . . $ __le16# dif_app_tag_maskcxx . . $ rdma_sq_fmr_wqe#dif_app_tag_mask. /* Bitmask for verifying dif_app_tag. */; |
| 529 | __le16cxx . . $ __le16# dif_runt_crc_valuecxx . . $ rdma_sq_fmr_wqe#dif_runt_crc_value. /* In TX IO, in case the runt_valid_flg is set, this value is used to validate the last Block in the IO. */; |
| 530 | __le16cxx . . $ __le16# dif_flagscxx . . $ rdma_sq_fmr_wqe#dif_flags.; |
| 531 | #define RDMA_SQ_FMR_WQE_DIF_IO_DIRECTION_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:531:9`! 0x1 /* 0=RX, 1=TX (use enum rdma_dif_io_direction_flg) */ |
| 532 | #define RDMA_SQ_FMR_WQE_DIF_IO_DIRECTION_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:532:9`! 0 |
| 533 | #define RDMA_SQ_FMR_WQE_DIF_BLOCK_SIZE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:533:9`! 0x1 /* DIF block size. 0=512B 1=4096B (use enum rdma_dif_block_size) */ |
| 534 | #define RDMA_SQ_FMR_WQE_DIF_BLOCK_SIZE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:534:9`! 1 |
| 535 | #define RDMA_SQ_FMR_WQE_DIF_RUNT_VALID_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:535:9`! 0x1 /* In TX IO, indicates the runt_value field is valid. In RX IO, indicates the calculated runt value is to be placed on host buffer. */ |
| 536 | #define RDMA_SQ_FMR_WQE_DIF_RUNT_VALID_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:536:9`! 2 |
| 537 | #define RDMA_SQ_FMR_WQE_DIF_VALIDATE_CRC_GUARD_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:537:9`! 0x1 /* In TX IO, indicates CRC of each DIF guard tag is checked. */ |
| 538 | #define RDMA_SQ_FMR_WQE_DIF_VALIDATE_CRC_GUARD_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:538:9`! 3 |
| 539 | #define RDMA_SQ_FMR_WQE_DIF_VALIDATE_REF_TAG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:539:9`! 0x1 /* In TX IO, indicates Ref tag of each DIF guard tag is checked. */ |
| 540 | #define RDMA_SQ_FMR_WQE_DIF_VALIDATE_REF_TAG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:540:9`! 4 |
| 541 | #define RDMA_SQ_FMR_WQE_DIF_VALIDATE_APP_TAG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:541:9`! 0x1 /* In TX IO, indicates App tag of each DIF guard tag is checked. */ |
| 542 | #define RDMA_SQ_FMR_WQE_DIF_VALIDATE_APP_TAG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:542:9`! 5 |
| 543 | #define RDMA_SQ_FMR_WQE_DIF_CRC_SEED_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:543:9`! 0x1 /* DIF CRC Seed to use. 0=0x000 1=0xFFFF (use enum rdma_dif_crc_seed) */ |
| 544 | #define RDMA_SQ_FMR_WQE_DIF_CRC_SEED_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:544:9`! 6 |
| 545 | #define RDMA_SQ_FMR_WQE_RESERVED4_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:545:9`! 0x1FF |
| 546 | #define RDMA_SQ_FMR_WQE_RESERVED4_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:546:9`! 7 |
| 547 | __le32cxx . . $ __le32# Reserved5cxx . . $ rdma_sq_fmr_wqe#Reserved5.; |
| 548 | }; |
| 549 | |
| 550 | |
| 551 | /* |
| 552 | * First element (16 bytes) of fmr wqe |
| 553 | */ |
| 554 | struct rdma_sq_fmr_wqe_1stcxx . . $ rdma_sq_fmr_wqe_1st# |
| 555 | { |
| 556 | struct regpaircxx . . $ regpair# addrcxx . . $ rdma_sq_fmr_wqe_1st#addr.; |
| 557 | __le32cxx . . $ __le32# l_keycxx . . $ rdma_sq_fmr_wqe_1st#l_key.; |
| 558 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_fmr_wqe_1st#req_type. /* Type of WQE */; |
| 559 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_fmr_wqe_1st#flags.; |
| 560 | #define RDMA_SQ_FMR_WQE_1ST_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:560:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 561 | #define RDMA_SQ_FMR_WQE_1ST_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:561:9`! 0 |
| 562 | #define RDMA_SQ_FMR_WQE_1ST_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:562:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 563 | #define RDMA_SQ_FMR_WQE_1ST_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:563:9`! 1 |
| 564 | #define RDMA_SQ_FMR_WQE_1ST_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:564:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 565 | #define RDMA_SQ_FMR_WQE_1ST_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:565:9`! 2 |
| 566 | #define RDMA_SQ_FMR_WQE_1ST_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:566:9`! 0x1 /* Don't care for FMR wqe */ |
| 567 | #define RDMA_SQ_FMR_WQE_1ST_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:567:9`! 3 |
| 568 | #define RDMA_SQ_FMR_WQE_1ST_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:568:9`! 0x1 /* Should be 0 for FMR wqe */ |
| 569 | #define RDMA_SQ_FMR_WQE_1ST_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:569:9`! 4 |
| 570 | #define RDMA_SQ_FMR_WQE_1ST_DIF_ON_HOST_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:570:9`! 0x1 /* If set, indicated host memory of this WQE is DIF protected. */ |
| 571 | #define RDMA_SQ_FMR_WQE_1ST_DIF_ON_HOST_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:571:9`! 5 |
| 572 | #define RDMA_SQ_FMR_WQE_1ST_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:572:9`! 0x3 |
| 573 | #define RDMA_SQ_FMR_WQE_1ST_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:573:9`! 6 |
| 574 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_fmr_wqe_1st#wqe_size. /* Size of WQE in 16B chunks */; |
| 575 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_fmr_wqe_1st#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 576 | }; |
| 577 | |
| 578 | |
| 579 | /* |
| 580 | * Second element (16 bytes) of fmr wqe |
| 581 | */ |
| 582 | struct rdma_sq_fmr_wqe_2ndcxx . . $ rdma_sq_fmr_wqe_2nd# |
| 583 | { |
| 584 | uint8_tcxx . . $ uint8_t# fmr_ctrlcxx . . $ rdma_sq_fmr_wqe_2nd#fmr_ctrl.; |
| 585 | #define RDMA_SQ_FMR_WQE_2ND_PAGE_SIZE_LOG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:585:9`! 0x1F /* 0 is 4k, 1 is 8k... */ |
| 586 | #define RDMA_SQ_FMR_WQE_2ND_PAGE_SIZE_LOG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:586:9`! 0 |
| 587 | #define RDMA_SQ_FMR_WQE_2ND_ZERO_BASED_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:587:9`! 0x1 /* zero based indication */ |
| 588 | #define RDMA_SQ_FMR_WQE_2ND_ZERO_BASED_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:588:9`! 5 |
| 589 | #define RDMA_SQ_FMR_WQE_2ND_BIND_EN_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:589:9`! 0x1 /* indication whether bind is enabled for this MR */ |
| 590 | #define RDMA_SQ_FMR_WQE_2ND_BIND_EN_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:590:9`! 6 |
| 591 | #define RDMA_SQ_FMR_WQE_2ND_RESERVED1_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:591:9`! 0x1 |
| 592 | #define RDMA_SQ_FMR_WQE_2ND_RESERVED1_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:592:9`! 7 |
| 593 | uint8_tcxx . . $ uint8_t# access_ctrlcxx . . $ rdma_sq_fmr_wqe_2nd#access_ctrl.; |
| 594 | #define RDMA_SQ_FMR_WQE_2ND_REMOTE_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:594:9`! 0x1 |
| 595 | #define RDMA_SQ_FMR_WQE_2ND_REMOTE_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:595:9`! 0 |
| 596 | #define RDMA_SQ_FMR_WQE_2ND_REMOTE_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:596:9`! 0x1 |
| 597 | #define RDMA_SQ_FMR_WQE_2ND_REMOTE_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:597:9`! 1 |
| 598 | #define RDMA_SQ_FMR_WQE_2ND_ENABLE_ATOMIC_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:598:9`! 0x1 |
| 599 | #define RDMA_SQ_FMR_WQE_2ND_ENABLE_ATOMIC_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:599:9`! 2 |
| 600 | #define RDMA_SQ_FMR_WQE_2ND_LOCAL_READ_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:600:9`! 0x1 |
| 601 | #define RDMA_SQ_FMR_WQE_2ND_LOCAL_READ_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:601:9`! 3 |
| 602 | #define RDMA_SQ_FMR_WQE_2ND_LOCAL_WRITE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:602:9`! 0x1 |
| 603 | #define RDMA_SQ_FMR_WQE_2ND_LOCAL_WRITE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:603:9`! 4 |
| 604 | #define RDMA_SQ_FMR_WQE_2ND_RESERVED2_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:604:9`! 0x7 |
| 605 | #define RDMA_SQ_FMR_WQE_2ND_RESERVED2_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:605:9`! 5 |
| 606 | uint8_tcxx . . $ uint8_t# reserved3cxx . . $ rdma_sq_fmr_wqe_2nd#reserved3.; |
| 607 | uint8_tcxx . . $ uint8_t# length_hicxx . . $ rdma_sq_fmr_wqe_2nd#length_hi. /* upper 8 bits of the registered MR length */; |
| 608 | __le32cxx . . $ __le32# length_locxx . . $ rdma_sq_fmr_wqe_2nd#length_lo. /* lower 32 bits of the registered MR length. In case of zero based MR, will hold FBO */; |
| 609 | struct regpaircxx . . $ regpair# pbl_addrcxx . . $ rdma_sq_fmr_wqe_2nd#pbl_addr. /* Address of PBL */; |
| 610 | }; |
| 611 | |
| 612 | |
| 613 | /* |
| 614 | * Third element (16 bytes) of fmr wqe |
| 615 | */ |
| 616 | struct rdma_sq_fmr_wqe_3rdcxx . . $ rdma_sq_fmr_wqe_3rd# |
| 617 | { |
| 618 | __le32cxx . . $ __le32# dif_base_ref_tagcxx . . $ rdma_sq_fmr_wqe_3rd#dif_base_ref_tag. /* Ref tag of the first DIF Block. */; |
| 619 | __le16cxx . . $ __le16# dif_app_tagcxx . . $ rdma_sq_fmr_wqe_3rd#dif_app_tag. /* App tag of all DIF Blocks. */; |
| 620 | __le16cxx . . $ __le16# dif_app_tag_maskcxx . . $ rdma_sq_fmr_wqe_3rd#dif_app_tag_mask. /* Bitmask for verifying dif_app_tag. */; |
| 621 | __le16cxx . . $ __le16# dif_runt_crc_valuecxx . . $ rdma_sq_fmr_wqe_3rd#dif_runt_crc_value. /* In TX IO, in case the runt_valid_flg is set, this value is used to validate the last Block in the IO. */; |
| 622 | __le16cxx . . $ __le16# dif_flagscxx . . $ rdma_sq_fmr_wqe_3rd#dif_flags.; |
| 623 | #define RDMA_SQ_FMR_WQE_3RD_DIF_IO_DIRECTION_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:623:9`! 0x1 /* 0=RX, 1=TX (use enum rdma_dif_io_direction_flg) */ |
| 624 | #define RDMA_SQ_FMR_WQE_3RD_DIF_IO_DIRECTION_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:624:9`! 0 |
| 625 | #define RDMA_SQ_FMR_WQE_3RD_DIF_BLOCK_SIZE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:625:9`! 0x1 /* DIF block size. 0=512B 1=4096B (use enum rdma_dif_block_size) */ |
| 626 | #define RDMA_SQ_FMR_WQE_3RD_DIF_BLOCK_SIZE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:626:9`! 1 |
| 627 | #define RDMA_SQ_FMR_WQE_3RD_DIF_RUNT_VALID_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:627:9`! 0x1 /* In TX IO, indicates the runt_value field is valid. In RX IO, indicates the calculated runt value is to be placed on host buffer. */ |
| 628 | #define RDMA_SQ_FMR_WQE_3RD_DIF_RUNT_VALID_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:628:9`! 2 |
| 629 | #define RDMA_SQ_FMR_WQE_3RD_DIF_VALIDATE_CRC_GUARD_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:629:9`! 0x1 /* In TX IO, indicates CRC of each DIF guard tag is checked. */ |
| 630 | #define RDMA_SQ_FMR_WQE_3RD_DIF_VALIDATE_CRC_GUARD_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:630:9`! 3 |
| 631 | #define RDMA_SQ_FMR_WQE_3RD_DIF_VALIDATE_REF_TAG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:631:9`! 0x1 /* In TX IO, indicates Ref tag of each DIF guard tag is checked. */ |
| 632 | #define RDMA_SQ_FMR_WQE_3RD_DIF_VALIDATE_REF_TAG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:632:9`! 4 |
| 633 | #define RDMA_SQ_FMR_WQE_3RD_DIF_VALIDATE_APP_TAG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:633:9`! 0x1 /* In TX IO, indicates App tag of each DIF guard tag is checked. */ |
| 634 | #define RDMA_SQ_FMR_WQE_3RD_DIF_VALIDATE_APP_TAG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:634:9`! 5 |
| 635 | #define RDMA_SQ_FMR_WQE_3RD_DIF_CRC_SEED_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:635:9`! 0x1 /* DIF CRC Seed to use. 0=0x000 1=0xFFFF (use enum rdma_dif_crc_seed) */ |
| 636 | #define RDMA_SQ_FMR_WQE_3RD_DIF_CRC_SEED_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:636:9`! 6 |
| 637 | #define RDMA_SQ_FMR_WQE_3RD_RESERVED4_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:637:9`! 0x1FF |
| 638 | #define RDMA_SQ_FMR_WQE_3RD_RESERVED4_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:638:9`! 7 |
| 639 | __le32cxx . . $ __le32# Reserved5cxx . . $ rdma_sq_fmr_wqe_3rd#Reserved5.; |
| 640 | }; |
| 641 | |
| 642 | |
| 643 | struct rdma_sq_local_inv_wqecxx . . $ rdma_sq_local_inv_wqe# |
| 644 | { |
| 645 | struct regpaircxx . . $ regpair# reservedcxx . . $ rdma_sq_local_inv_wqe#reserved.; |
| 646 | __le32cxx . . $ __le32# inv_l_keycxx . . $ rdma_sq_local_inv_wqe#inv_l_key. /* The invalidate local key */; |
| 647 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_local_inv_wqe#req_type. /* Type of WQE */; |
| 648 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_local_inv_wqe#flags.; |
| 649 | #define RDMA_SQ_LOCAL_INV_WQE_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:649:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 650 | #define RDMA_SQ_LOCAL_INV_WQE_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:650:9`! 0 |
| 651 | #define RDMA_SQ_LOCAL_INV_WQE_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:651:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 652 | #define RDMA_SQ_LOCAL_INV_WQE_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:652:9`! 1 |
| 653 | #define RDMA_SQ_LOCAL_INV_WQE_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:653:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 654 | #define RDMA_SQ_LOCAL_INV_WQE_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:654:9`! 2 |
| 655 | #define RDMA_SQ_LOCAL_INV_WQE_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:655:9`! 0x1 /* Don't care for local invalidate wqe */ |
| 656 | #define RDMA_SQ_LOCAL_INV_WQE_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:656:9`! 3 |
| 657 | #define RDMA_SQ_LOCAL_INV_WQE_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:657:9`! 0x1 /* Should be 0 for local invalidate wqe */ |
| 658 | #define RDMA_SQ_LOCAL_INV_WQE_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:658:9`! 4 |
| 659 | #define RDMA_SQ_LOCAL_INV_WQE_DIF_ON_HOST_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:659:9`! 0x1 /* If set, indicated host memory of this WQE is DIF protected. */ |
| 660 | #define RDMA_SQ_LOCAL_INV_WQE_DIF_ON_HOST_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:660:9`! 5 |
| 661 | #define RDMA_SQ_LOCAL_INV_WQE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:661:9`! 0x3 |
| 662 | #define RDMA_SQ_LOCAL_INV_WQE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:662:9`! 6 |
| 663 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_local_inv_wqe#wqe_size. /* Size of WQE in 16B chunks */; |
| 664 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_local_inv_wqe#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 665 | }; |
| 666 | |
| 667 | |
| 668 | struct rdma_sq_rdma_wqecxx . . $ rdma_sq_rdma_wqe# |
| 669 | { |
| 670 | __le32cxx . . $ __le32# imm_datacxx . . $ rdma_sq_rdma_wqe#imm_data. /* The immediate data in case of RDMA_WITH_IMM */; |
| 671 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_sq_rdma_wqe#length. /* Total data length. If DIF on host is enabled, length does NOT include DIF guards. */; |
| 672 | __le32cxx . . $ __le32# xrc_srqcxx . . $ rdma_sq_rdma_wqe#xrc_srq. /* Valid only when XRC is set for the QP */; |
| 673 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_rdma_wqe#req_type. /* Type of WQE */; |
| 674 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_rdma_wqe#flags.; |
| 675 | #define RDMA_SQ_RDMA_WQE_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:675:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 676 | #define RDMA_SQ_RDMA_WQE_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:676:9`! 0 |
| 677 | #define RDMA_SQ_RDMA_WQE_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:677:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 678 | #define RDMA_SQ_RDMA_WQE_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:678:9`! 1 |
| 679 | #define RDMA_SQ_RDMA_WQE_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:679:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 680 | #define RDMA_SQ_RDMA_WQE_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:680:9`! 2 |
| 681 | #define RDMA_SQ_RDMA_WQE_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:681:9`! 0x1 /* If set, signal the responder to generate a solicited event on this WQE */ |
| 682 | #define RDMA_SQ_RDMA_WQE_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:682:9`! 3 |
| 683 | #define RDMA_SQ_RDMA_WQE_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:683:9`! 0x1 /* if set, indicates inline data is following this WQE instead of SGEs. Applicable for RDMA_WR or RDMA_WR_WITH_IMM. Should be 0 for RDMA_RD */ |
| 684 | #define RDMA_SQ_RDMA_WQE_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:684:9`! 4 |
| 685 | #define RDMA_SQ_RDMA_WQE_DIF_ON_HOST_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:685:9`! 0x1 /* If set, indicated host memory of this WQE is DIF protected. */ |
| 686 | #define RDMA_SQ_RDMA_WQE_DIF_ON_HOST_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:686:9`! 5 |
| 687 | #define RDMA_SQ_RDMA_WQE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:687:9`! 0x3 |
| 688 | #define RDMA_SQ_RDMA_WQE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:688:9`! 6 |
| 689 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_rdma_wqe#wqe_size. /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; |
| 690 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_rdma_wqe#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 691 | struct regpaircxx . . $ regpair# remote_vacxx . . $ rdma_sq_rdma_wqe#remote_va. /* Remote virtual address */; |
| 692 | __le32cxx . . $ __le32# r_keycxx . . $ rdma_sq_rdma_wqe#r_key. /* Remote key */; |
| 693 | uint8_tcxx . . $ uint8_t# dif_flagscxx . . $ rdma_sq_rdma_wqe#dif_flags.; |
| 694 | #define RDMA_SQ_RDMA_WQE_DIF_BLOCK_SIZE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:694:9`! 0x1 /* if dif_on_host_flg set: DIF block size. 0=512B 1=4096B (use enum rdma_dif_block_size) */ |
| 695 | #define RDMA_SQ_RDMA_WQE_DIF_BLOCK_SIZE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:695:9`! 0 |
| 696 | #define RDMA_SQ_RDMA_WQE_DIF_FIRST_RDMA_IN_IO_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:696:9`! 0x1 /* if dif_on_host_flg set: WQE executes first RDMA on related IO. */ |
| 697 | #define RDMA_SQ_RDMA_WQE_DIF_FIRST_RDMA_IN_IO_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:697:9`! 1 |
| 698 | #define RDMA_SQ_RDMA_WQE_DIF_LAST_RDMA_IN_IO_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:698:9`! 0x1 /* if dif_on_host_flg set: WQE executes last RDMA on related IO. */ |
| 699 | #define RDMA_SQ_RDMA_WQE_DIF_LAST_RDMA_IN_IO_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:699:9`! 2 |
| 700 | #define RDMA_SQ_RDMA_WQE_RESERVED1_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:700:9`! 0x1F |
| 701 | #define RDMA_SQ_RDMA_WQE_RESERVED1_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:701:9`! 3 |
| 702 | uint8_tcxx . . $ uint8_t# reserved2cxx . . $ rdma_sq_rdma_wqe#reserved2.[3]; |
| 703 | }; |
| 704 | |
| 705 | |
| 706 | /* |
| 707 | * First element (16 bytes) of rdma wqe |
| 708 | */ |
| 709 | struct rdma_sq_rdma_wqe_1stcxx . . $ rdma_sq_rdma_wqe_1st# |
| 710 | { |
| 711 | __le32cxx . . $ __le32# imm_datacxx . . $ rdma_sq_rdma_wqe_1st#imm_data. /* The immediate data in case of RDMA_WITH_IMM */; |
| 712 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_sq_rdma_wqe_1st#length. /* Total data length */; |
| 713 | __le32cxx . . $ __le32# xrc_srqcxx . . $ rdma_sq_rdma_wqe_1st#xrc_srq. /* Valid only when XRC is set for the QP */; |
| 714 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_rdma_wqe_1st#req_type. /* Type of WQE */; |
| 715 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_rdma_wqe_1st#flags.; |
| 716 | #define RDMA_SQ_RDMA_WQE_1ST_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:716:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 717 | #define RDMA_SQ_RDMA_WQE_1ST_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:717:9`! 0 |
| 718 | #define RDMA_SQ_RDMA_WQE_1ST_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:718:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 719 | #define RDMA_SQ_RDMA_WQE_1ST_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:719:9`! 1 |
| 720 | #define RDMA_SQ_RDMA_WQE_1ST_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:720:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 721 | #define RDMA_SQ_RDMA_WQE_1ST_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:721:9`! 2 |
| 722 | #define RDMA_SQ_RDMA_WQE_1ST_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:722:9`! 0x1 /* If set, signal the responder to generate a solicited event on this WQE */ |
| 723 | #define RDMA_SQ_RDMA_WQE_1ST_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:723:9`! 3 |
| 724 | #define RDMA_SQ_RDMA_WQE_1ST_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:724:9`! 0x1 /* if set, indicates inline data is following this WQE instead of SGEs. Applicable for RDMA_WR or RDMA_WR_WITH_IMM. Should be 0 for RDMA_RD */ |
| 725 | #define RDMA_SQ_RDMA_WQE_1ST_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:725:9`! 4 |
| 726 | #define RDMA_SQ_RDMA_WQE_1ST_DIF_ON_HOST_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:726:9`! 0x1 /* If set, indicated host memory of this WQE is DIF protected. */ |
| 727 | #define RDMA_SQ_RDMA_WQE_1ST_DIF_ON_HOST_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:727:9`! 5 |
| 728 | #define RDMA_SQ_RDMA_WQE_1ST_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:728:9`! 0x3 |
| 729 | #define RDMA_SQ_RDMA_WQE_1ST_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:729:9`! 6 |
| 730 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_rdma_wqe_1st#wqe_size. /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; |
| 731 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_rdma_wqe_1st#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 732 | }; |
| 733 | |
| 734 | |
| 735 | /* |
| 736 | * Second element (16 bytes) of rdma wqe |
| 737 | */ |
| 738 | struct rdma_sq_rdma_wqe_2ndcxx . . $ rdma_sq_rdma_wqe_2nd# |
| 739 | { |
| 740 | struct regpaircxx . . $ regpair# remote_vacxx . . $ rdma_sq_rdma_wqe_2nd#remote_va. /* Remote virtual address */; |
| 741 | __le32cxx . . $ __le32# r_keycxx . . $ rdma_sq_rdma_wqe_2nd#r_key. /* Remote key */; |
| 742 | uint8_tcxx . . $ uint8_t# dif_flagscxx . . $ rdma_sq_rdma_wqe_2nd#dif_flags.; |
| 743 | #define RDMA_SQ_RDMA_WQE_2ND_DIF_BLOCK_SIZE_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:743:9`! 0x1 /* if dif_on_host_flg set: DIF block size. 0=512B 1=4096B (use enum rdma_dif_block_size) */ |
| 744 | #define RDMA_SQ_RDMA_WQE_2ND_DIF_BLOCK_SIZE_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:744:9`! 0 |
| 745 | #define RDMA_SQ_RDMA_WQE_2ND_DIF_FIRST_SEGMENT_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:745:9`! 0x1 /* if dif_on_host_flg set: WQE executes first DIF on related MR. */ |
| 746 | #define RDMA_SQ_RDMA_WQE_2ND_DIF_FIRST_SEGMENT_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:746:9`! 1 |
| 747 | #define RDMA_SQ_RDMA_WQE_2ND_DIF_LAST_SEGMENT_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:747:9`! 0x1 /* if dif_on_host_flg set: WQE executes last DIF on related MR. */ |
| 748 | #define RDMA_SQ_RDMA_WQE_2ND_DIF_LAST_SEGMENT_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:748:9`! 2 |
| 749 | #define RDMA_SQ_RDMA_WQE_2ND_RESERVED1_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:749:9`! 0x1F |
| 750 | #define RDMA_SQ_RDMA_WQE_2ND_RESERVED1_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:750:9`! 3 |
| 751 | uint8_tcxx . . $ uint8_t# reserved2cxx . . $ rdma_sq_rdma_wqe_2nd#reserved2.[3]; |
| 752 | }; |
| 753 | |
| 754 | |
| 755 | /* |
| 756 | * SQ WQE req type enumeration |
| 757 | */ |
| 758 | enum rdma_sq_req_typecxx . . $ rdma_sq_req_type# |
| 759 | { |
| 760 | RDMA_SQ_REQ_TYPE_SENDcxx . . $ RDMA_SQ_REQ_TYPE_SEND., |
| 761 | RDMA_SQ_REQ_TYPE_SEND_WITH_IMMcxx . . $ RDMA_SQ_REQ_TYPE_SEND_WITH_IMM., |
| 762 | RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATEcxx . . $ RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE., |
| 763 | RDMA_SQ_REQ_TYPE_RDMA_WRcxx . . $ RDMA_SQ_REQ_TYPE_RDMA_WR., |
| 764 | RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMMcxx . . $ RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM., |
| 765 | RDMA_SQ_REQ_TYPE_RDMA_RDcxx . . $ RDMA_SQ_REQ_TYPE_RDMA_RD., |
| 766 | RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAPcxx . . $ RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP., |
| 767 | RDMA_SQ_REQ_TYPE_ATOMIC_ADDcxx . . $ RDMA_SQ_REQ_TYPE_ATOMIC_ADD., |
| 768 | RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATEcxx . . $ RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE., |
| 769 | RDMA_SQ_REQ_TYPE_FAST_MRcxx . . $ RDMA_SQ_REQ_TYPE_FAST_MR., |
| 770 | RDMA_SQ_REQ_TYPE_BINDcxx . . $ RDMA_SQ_REQ_TYPE_BIND., |
| 771 | RDMA_SQ_REQ_TYPE_INVALIDcxx . . $ RDMA_SQ_REQ_TYPE_INVALID., |
| 772 | MAX_RDMA_SQ_REQ_TYPEcxx . . $ MAX_RDMA_SQ_REQ_TYPE. |
| 773 | }; |
| 774 | |
| 775 | |
| 776 | struct rdma_sq_send_wqecxx . . $ rdma_sq_send_wqe# |
| 777 | { |
| 778 | __le32cxx . . $ __le32# inv_key_or_imm_datacxx . . $ rdma_sq_send_wqe#inv_key_or_imm_data. /* the r_key to invalidate in case of SEND_WITH_INVALIDATE, or the immediate data in case of SEND_WITH_IMM */; |
| 779 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_sq_send_wqe#length. /* Total data length */; |
| 780 | __le32cxx . . $ __le32# xrc_srqcxx . . $ rdma_sq_send_wqe#xrc_srq. /* Valid only when XRC is set for the QP */; |
| 781 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_send_wqe#req_type. /* Type of WQE */; |
| 782 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_send_wqe#flags.; |
| 783 | #define RDMA_SQ_SEND_WQE_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:783:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 784 | #define RDMA_SQ_SEND_WQE_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:784:9`! 0 |
| 785 | #define RDMA_SQ_SEND_WQE_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:785:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 786 | #define RDMA_SQ_SEND_WQE_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:786:9`! 1 |
| 787 | #define RDMA_SQ_SEND_WQE_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:787:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 788 | #define RDMA_SQ_SEND_WQE_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:788:9`! 2 |
| 789 | #define RDMA_SQ_SEND_WQE_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:789:9`! 0x1 /* If set, signal the responder to generate a solicited event on this WQE */ |
| 790 | #define RDMA_SQ_SEND_WQE_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:790:9`! 3 |
| 791 | #define RDMA_SQ_SEND_WQE_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:791:9`! 0x1 /* if set, indicates inline data is following this WQE instead of SGEs */ |
| 792 | #define RDMA_SQ_SEND_WQE_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:792:9`! 4 |
| 793 | #define RDMA_SQ_SEND_WQE_DIF_ON_HOST_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:793:9`! 0x1 /* Should be 0 for send wqe */ |
| 794 | #define RDMA_SQ_SEND_WQE_DIF_ON_HOST_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:794:9`! 5 |
| 795 | #define RDMA_SQ_SEND_WQE_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:795:9`! 0x3 |
| 796 | #define RDMA_SQ_SEND_WQE_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:796:9`! 6 |
| 797 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_send_wqe#wqe_size. /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; |
| 798 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_send_wqe#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 799 | __le32cxx . . $ __le32# reserved1cxx . . $ rdma_sq_send_wqe#reserved1.[4]; |
| 800 | }; |
| 801 | |
| 802 | |
| 803 | struct rdma_sq_send_wqe_1stcxx . . $ rdma_sq_send_wqe_1st# |
| 804 | { |
| 805 | __le32cxx . . $ __le32# inv_key_or_imm_datacxx . . $ rdma_sq_send_wqe_1st#inv_key_or_imm_data. /* the r_key to invalidate in case of SEND_WITH_INVALIDATE, or the immediate data in case of SEND_WITH_IMM */; |
| 806 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_sq_send_wqe_1st#length. /* Total data length */; |
| 807 | __le32cxx . . $ __le32# xrc_srqcxx . . $ rdma_sq_send_wqe_1st#xrc_srq. /* Valid only when XRC is set for the QP */; |
| 808 | uint8_tcxx . . $ uint8_t# req_typecxx . . $ rdma_sq_send_wqe_1st#req_type. /* Type of WQE */; |
| 809 | uint8_tcxx . . $ uint8_t# flagscxx . . $ rdma_sq_send_wqe_1st#flags.; |
| 810 | #define RDMA_SQ_SEND_WQE_1ST_COMP_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:810:9`! 0x1 /* If set, completion will be generated when the WQE is completed */ |
| 811 | #define RDMA_SQ_SEND_WQE_1ST_COMP_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:811:9`! 0 |
| 812 | #define RDMA_SQ_SEND_WQE_1ST_RD_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:812:9`! 0x1 /* If set, all pending RDMA read or Atomic operations will be completed before start processing this WQE */ |
| 813 | #define RDMA_SQ_SEND_WQE_1ST_RD_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:813:9`! 1 |
| 814 | #define RDMA_SQ_SEND_WQE_1ST_INV_FENCE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:814:9`! 0x1 /* If set, all pending operations will be completed before start processing this WQE */ |
| 815 | #define RDMA_SQ_SEND_WQE_1ST_INV_FENCE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:815:9`! 2 |
| 816 | #define RDMA_SQ_SEND_WQE_1ST_SE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:816:9`! 0x1 /* If set, signal the responder to generate a solicited event on this WQE */ |
| 817 | #define RDMA_SQ_SEND_WQE_1ST_SE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:817:9`! 3 |
| 818 | #define RDMA_SQ_SEND_WQE_1ST_INLINE_FLG_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:818:9`! 0x1 /* if set, indicates inline data is following this WQE instead of SGEs */ |
| 819 | #define RDMA_SQ_SEND_WQE_1ST_INLINE_FLG_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:819:9`! 4 |
| 820 | #define RDMA_SQ_SEND_WQE_1ST_RESERVED0_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:820:9`! 0x7 |
| 821 | #define RDMA_SQ_SEND_WQE_1ST_RESERVED0_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:821:9`! 5 |
| 822 | uint8_tcxx . . $ uint8_t# wqe_sizecxx . . $ rdma_sq_send_wqe_1st#wqe_size. /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; |
| 823 | uint8_tcxx . . $ uint8_t# prev_wqe_sizecxx . . $ rdma_sq_send_wqe_1st#prev_wqe_size. /* Previous WQE size in 16B chunks */; |
| 824 | }; |
| 825 | |
| 826 | |
| 827 | struct rdma_sq_send_wqe_2stcxx . . $ rdma_sq_send_wqe_2st# |
| 828 | { |
| 829 | __le32cxx . . $ __le32# reserved1cxx . . $ rdma_sq_send_wqe_2st#reserved1.[4]; |
| 830 | }; |
| 831 | |
| 832 | |
| 833 | struct rdma_sq_sgecxx . . $ rdma_sq_sge# |
| 834 | { |
| 835 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_sq_sge#length. /* Total length of the send. If DIF on host is enabled, SGE length includes the DIF guards. */; |
| 836 | struct regpaircxx . . $ regpair# addrcxx . . $ rdma_sq_sge#addr.; |
| 837 | __le32cxx . . $ __le32# l_keycxx . . $ rdma_sq_sge#l_key.; |
| 838 | }; |
| 839 | |
| 840 | |
| 841 | struct rdma_srq_wqe_headercxx . . $ rdma_srq_wqe_header# |
| 842 | { |
| 843 | struct regpaircxx . . $ regpair# wr_idcxx . . $ rdma_srq_wqe_header#wr_id.; |
| 844 | uint8_tcxx . . $ uint8_t# num_sgescxx . . $ rdma_srq_wqe_header#num_sges. /* number of SGEs in WQE */; |
| 845 | uint8_tcxx . . $ uint8_t# reserved2cxx . . $ rdma_srq_wqe_header#reserved2.[7]; |
| 846 | }; |
| 847 | |
| 848 | struct rdma_srq_sgecxx . . $ rdma_srq_sge# |
| 849 | { |
| 850 | struct regpaircxx . . $ regpair# addrcxx . . $ rdma_srq_sge#addr.; |
| 851 | __le32cxx . . $ __le32# lengthcxx . . $ rdma_srq_sge#length.; |
| 852 | __le32cxx . . $ __le32# l_keycxx . . $ rdma_srq_sge#l_key.; |
| 853 | }; |
| 854 | |
| 855 | /* |
| 856 | * rdma srq sge |
| 857 | */ |
| 858 | union rdma_srq_elmcxx . . $ rdma_srq_elm# |
| 859 | { |
| 860 | struct rdma_srq_wqe_headercxx . . $ rdma_srq_wqe_header# headercxx . . $ rdma_srq_elm#header.; |
| 861 | struct rdma_srq_sgecxx . . $ rdma_srq_sge# sgecxx . . $ rdma_srq_elm#sge.; |
| 862 | }; |
| 863 | |
| 864 | |
| 865 | |
| 866 | |
| 867 | /* |
| 868 | * Rdma doorbell data for flags update |
| 869 | */ |
| 870 | struct rdma_pwm_flags_datacxx . . $ rdma_pwm_flags_data# |
| 871 | { |
| 872 | __le16cxx . . $ __le16# icidcxx . . $ rdma_pwm_flags_data#icid. /* internal CID */; |
| 873 | uint8_tcxx . . $ uint8_t# agg_flagscxx . . $ rdma_pwm_flags_data#agg_flags. /* aggregative flags */; |
| 874 | uint8_tcxx . . $ uint8_t# reservedcxx . . $ rdma_pwm_flags_data#reserved.; |
| 875 | }; |
| 876 | |
| 877 | |
| 878 | /* |
| 879 | * Rdma doorbell data for SQ and RQ |
| 880 | */ |
| 881 | struct rdma_pwm_val16_datacxx . . $ rdma_pwm_val16_data# |
| 882 | { |
| 883 | __le16cxx . . $ __le16# icidcxx . . $ rdma_pwm_val16_data#icid. /* internal CID */; |
| 884 | __le16cxx . . $ __le16# valuecxx . . $ rdma_pwm_val16_data#value. /* aggregated value to update */; |
| 885 | }; |
| 886 | |
| 887 | |
| 888 | union rdma_pwm_val16_data_unioncxx . . $ rdma_pwm_val16_data_union# |
| 889 | { |
| 890 | struct rdma_pwm_val16_datacxx . . $ rdma_pwm_val16_data# as_structcxx . . $ rdma_pwm_val16_data_union#as_struct. /* Parameters field */; |
| 891 | __le32cxx . . $ __le32# as_dwordcxx . . $ rdma_pwm_val16_data_union#as_dword.; |
| 892 | }; |
| 893 | |
| 894 | |
| 895 | /* |
| 896 | * Rdma doorbell data for CQ |
| 897 | */ |
| 898 | struct rdma_pwm_val32_datacxx . . $ rdma_pwm_val32_data# |
| 899 | { |
| 900 | __le16cxx . . $ __le16# icidcxx . . $ rdma_pwm_val32_data#icid. /* internal CID */; |
| 901 | uint8_tcxx . . $ uint8_t# agg_flagscxx . . $ rdma_pwm_val32_data#agg_flags. /* bit for every DQ counter flags in CM context that DQ can increment */; |
| 902 | uint8_tcxx . . $ uint8_t# paramscxx . . $ rdma_pwm_val32_data#params.; |
| 903 | #define RDMA_PWM_VAL32_DATA_AGG_CMD_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:903:9`! 0x3 /* aggregative command to CM (use enum db_agg_cmd_sel) */ |
| 904 | #define RDMA_PWM_VAL32_DATA_AGG_CMD_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:904:9`! 0 |
| 905 | #define RDMA_PWM_VAL32_DATA_BYPASS_EN_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:905:9`! 0x1 /* enable QM bypass */ |
| 906 | #define RDMA_PWM_VAL32_DATA_BYPASS_EN_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:906:9`! 2 |
| 907 | #define RDMA_PWM_VAL32_DATA_RESERVED_MASKcxx . . $ `providers/qedr/qelr_hsi_rdma.h:907:9`! 0x1F |
| 908 | #define RDMA_PWM_VAL32_DATA_RESERVED_SHIFTcxx . . $ `providers/qedr/qelr_hsi_rdma.h:908:9`! 3 |
| 909 | __le32cxx . . $ __le32# valuecxx . . $ rdma_pwm_val32_data#value. /* aggregated value to update */; |
| 910 | }; |
| 911 | |
| 912 | |
| 913 | union rdma_pwm_val32_data_unioncxx . . $ rdma_pwm_val32_data_union# |
| 914 | { |
| 915 | struct rdma_pwm_val32_datacxx . . $ rdma_pwm_val32_data# as_structcxx . . $ rdma_pwm_val32_data_union#as_struct. /* Parameters field */; |
| 916 | struct regpaircxx . . $ regpair# as_repaircxx . . $ rdma_pwm_val32_data_union#as_repair.; |
| 917 | }; |
| 918 | |
| 919 | #endif /* __QED_HSI_RDMA__ */ |