• Home
  • Raw
  • Download

Lines Matching refs:stats

116 			    struct rdma_hw_stats *stats,  in bnxt_re_ib_get_hw_stats()  argument
120 struct ctx_hw_stats *bnxt_re_stats = rdev->qplib_ctx.stats.dma; in bnxt_re_ib_get_hw_stats()
123 if (!port || !stats) in bnxt_re_ib_get_hw_stats()
126 stats->value[BNXT_RE_ACTIVE_QP] = atomic_read(&rdev->qp_count); in bnxt_re_ib_get_hw_stats()
127 stats->value[BNXT_RE_ACTIVE_SRQ] = atomic_read(&rdev->srq_count); in bnxt_re_ib_get_hw_stats()
128 stats->value[BNXT_RE_ACTIVE_CQ] = atomic_read(&rdev->cq_count); in bnxt_re_ib_get_hw_stats()
129 stats->value[BNXT_RE_ACTIVE_MR] = atomic_read(&rdev->mr_count); in bnxt_re_ib_get_hw_stats()
130 stats->value[BNXT_RE_ACTIVE_MW] = atomic_read(&rdev->mw_count); in bnxt_re_ib_get_hw_stats()
132 stats->value[BNXT_RE_RECOVERABLE_ERRORS] = in bnxt_re_ib_get_hw_stats()
134 stats->value[BNXT_RE_RX_DROPS] = in bnxt_re_ib_get_hw_stats()
136 stats->value[BNXT_RE_RX_DISCARDS] = in bnxt_re_ib_get_hw_stats()
138 stats->value[BNXT_RE_RX_PKTS] = in bnxt_re_ib_get_hw_stats()
140 stats->value[BNXT_RE_RX_BYTES] = in bnxt_re_ib_get_hw_stats()
142 stats->value[BNXT_RE_TX_PKTS] = in bnxt_re_ib_get_hw_stats()
144 stats->value[BNXT_RE_TX_BYTES] = in bnxt_re_ib_get_hw_stats()
148 rc = bnxt_qplib_get_roce_stats(&rdev->rcfw, &rdev->stats); in bnxt_re_ib_get_hw_stats()
152 stats->value[BNXT_RE_TO_RETRANSMITS] = in bnxt_re_ib_get_hw_stats()
153 rdev->stats.to_retransmits; in bnxt_re_ib_get_hw_stats()
154 stats->value[BNXT_RE_SEQ_ERR_NAKS_RCVD] = in bnxt_re_ib_get_hw_stats()
155 rdev->stats.seq_err_naks_rcvd; in bnxt_re_ib_get_hw_stats()
156 stats->value[BNXT_RE_MAX_RETRY_EXCEEDED] = in bnxt_re_ib_get_hw_stats()
157 rdev->stats.max_retry_exceeded; in bnxt_re_ib_get_hw_stats()
158 stats->value[BNXT_RE_RNR_NAKS_RCVD] = in bnxt_re_ib_get_hw_stats()
159 rdev->stats.rnr_naks_rcvd; in bnxt_re_ib_get_hw_stats()
160 stats->value[BNXT_RE_MISSING_RESP] = in bnxt_re_ib_get_hw_stats()
161 rdev->stats.missing_resp; in bnxt_re_ib_get_hw_stats()
162 stats->value[BNXT_RE_UNRECOVERABLE_ERR] = in bnxt_re_ib_get_hw_stats()
163 rdev->stats.unrecoverable_err; in bnxt_re_ib_get_hw_stats()
164 stats->value[BNXT_RE_BAD_RESP_ERR] = in bnxt_re_ib_get_hw_stats()
165 rdev->stats.bad_resp_err; in bnxt_re_ib_get_hw_stats()
166 stats->value[BNXT_RE_LOCAL_QP_OP_ERR] = in bnxt_re_ib_get_hw_stats()
167 rdev->stats.local_qp_op_err; in bnxt_re_ib_get_hw_stats()
168 stats->value[BNXT_RE_LOCAL_PROTECTION_ERR] = in bnxt_re_ib_get_hw_stats()
169 rdev->stats.local_protection_err; in bnxt_re_ib_get_hw_stats()
170 stats->value[BNXT_RE_MEM_MGMT_OP_ERR] = in bnxt_re_ib_get_hw_stats()
171 rdev->stats.mem_mgmt_op_err; in bnxt_re_ib_get_hw_stats()
172 stats->value[BNXT_RE_REMOTE_INVALID_REQ_ERR] = in bnxt_re_ib_get_hw_stats()
173 rdev->stats.remote_invalid_req_err; in bnxt_re_ib_get_hw_stats()
174 stats->value[BNXT_RE_REMOTE_ACCESS_ERR] = in bnxt_re_ib_get_hw_stats()
175 rdev->stats.remote_access_err; in bnxt_re_ib_get_hw_stats()
176 stats->value[BNXT_RE_REMOTE_OP_ERR] = in bnxt_re_ib_get_hw_stats()
177 rdev->stats.remote_op_err; in bnxt_re_ib_get_hw_stats()
178 stats->value[BNXT_RE_DUP_REQ] = in bnxt_re_ib_get_hw_stats()
179 rdev->stats.dup_req; in bnxt_re_ib_get_hw_stats()
180 stats->value[BNXT_RE_RES_EXCEED_MAX] = in bnxt_re_ib_get_hw_stats()
181 rdev->stats.res_exceed_max; in bnxt_re_ib_get_hw_stats()
182 stats->value[BNXT_RE_RES_LENGTH_MISMATCH] = in bnxt_re_ib_get_hw_stats()
183 rdev->stats.res_length_mismatch; in bnxt_re_ib_get_hw_stats()
184 stats->value[BNXT_RE_RES_EXCEEDS_WQE] = in bnxt_re_ib_get_hw_stats()
185 rdev->stats.res_exceeds_wqe; in bnxt_re_ib_get_hw_stats()
186 stats->value[BNXT_RE_RES_OPCODE_ERR] = in bnxt_re_ib_get_hw_stats()
187 rdev->stats.res_opcode_err; in bnxt_re_ib_get_hw_stats()
188 stats->value[BNXT_RE_RES_RX_INVALID_RKEY] = in bnxt_re_ib_get_hw_stats()
189 rdev->stats.res_rx_invalid_rkey; in bnxt_re_ib_get_hw_stats()
190 stats->value[BNXT_RE_RES_RX_DOMAIN_ERR] = in bnxt_re_ib_get_hw_stats()
191 rdev->stats.res_rx_domain_err; in bnxt_re_ib_get_hw_stats()
192 stats->value[BNXT_RE_RES_RX_NO_PERM] = in bnxt_re_ib_get_hw_stats()
193 rdev->stats.res_rx_no_perm; in bnxt_re_ib_get_hw_stats()
194 stats->value[BNXT_RE_RES_RX_RANGE_ERR] = in bnxt_re_ib_get_hw_stats()
195 rdev->stats.res_rx_range_err; in bnxt_re_ib_get_hw_stats()
196 stats->value[BNXT_RE_RES_TX_INVALID_RKEY] = in bnxt_re_ib_get_hw_stats()
197 rdev->stats.res_tx_invalid_rkey; in bnxt_re_ib_get_hw_stats()
198 stats->value[BNXT_RE_RES_TX_DOMAIN_ERR] = in bnxt_re_ib_get_hw_stats()
199 rdev->stats.res_tx_domain_err; in bnxt_re_ib_get_hw_stats()
200 stats->value[BNXT_RE_RES_TX_NO_PERM] = in bnxt_re_ib_get_hw_stats()
201 rdev->stats.res_tx_no_perm; in bnxt_re_ib_get_hw_stats()
202 stats->value[BNXT_RE_RES_TX_RANGE_ERR] = in bnxt_re_ib_get_hw_stats()
203 rdev->stats.res_tx_range_err; in bnxt_re_ib_get_hw_stats()
204 stats->value[BNXT_RE_RES_IRRQ_OFLOW] = in bnxt_re_ib_get_hw_stats()
205 rdev->stats.res_irrq_oflow; in bnxt_re_ib_get_hw_stats()
206 stats->value[BNXT_RE_RES_UNSUP_OPCODE] = in bnxt_re_ib_get_hw_stats()
207 rdev->stats.res_unsup_opcode; in bnxt_re_ib_get_hw_stats()
208 stats->value[BNXT_RE_RES_UNALIGNED_ATOMIC] = in bnxt_re_ib_get_hw_stats()
209 rdev->stats.res_unaligned_atomic; in bnxt_re_ib_get_hw_stats()
210 stats->value[BNXT_RE_RES_REM_INV_ERR] = in bnxt_re_ib_get_hw_stats()
211 rdev->stats.res_rem_inv_err; in bnxt_re_ib_get_hw_stats()
212 stats->value[BNXT_RE_RES_MEM_ERROR] = in bnxt_re_ib_get_hw_stats()
213 rdev->stats.res_mem_error; in bnxt_re_ib_get_hw_stats()
214 stats->value[BNXT_RE_RES_SRQ_ERR] = in bnxt_re_ib_get_hw_stats()
215 rdev->stats.res_srq_err; in bnxt_re_ib_get_hw_stats()
216 stats->value[BNXT_RE_RES_CMP_ERR] = in bnxt_re_ib_get_hw_stats()
217 rdev->stats.res_cmp_err; in bnxt_re_ib_get_hw_stats()
218 stats->value[BNXT_RE_RES_INVALID_DUP_RKEY] = in bnxt_re_ib_get_hw_stats()
219 rdev->stats.res_invalid_dup_rkey; in bnxt_re_ib_get_hw_stats()
220 stats->value[BNXT_RE_RES_WQE_FORMAT_ERR] = in bnxt_re_ib_get_hw_stats()
221 rdev->stats.res_wqe_format_err; in bnxt_re_ib_get_hw_stats()
222 stats->value[BNXT_RE_RES_CQ_LOAD_ERR] = in bnxt_re_ib_get_hw_stats()
223 rdev->stats.res_cq_load_err; in bnxt_re_ib_get_hw_stats()
224 stats->value[BNXT_RE_RES_SRQ_LOAD_ERR] = in bnxt_re_ib_get_hw_stats()
225 rdev->stats.res_srq_load_err; in bnxt_re_ib_get_hw_stats()
226 stats->value[BNXT_RE_RES_TX_PCI_ERR] = in bnxt_re_ib_get_hw_stats()
227 rdev->stats.res_tx_pci_err; in bnxt_re_ib_get_hw_stats()
228 stats->value[BNXT_RE_RES_RX_PCI_ERR] = in bnxt_re_ib_get_hw_stats()
229 rdev->stats.res_rx_pci_err; in bnxt_re_ib_get_hw_stats()
230 stats->value[BNXT_RE_OUT_OF_SEQ_ERR] = in bnxt_re_ib_get_hw_stats()
231 rdev->stats.res_oos_drop_count; in bnxt_re_ib_get_hw_stats()