[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202007271554.jseiHP8T%lkp@intel.com>
Date: Mon, 27 Jul 2020 15:31:52 +0800
From: kernel test robot <lkp@...el.com>
To: Michael Chan <michael.chan@...adcom.com>, davem@...emloft.net
Cc: kbuild-all@...ts.01.org, netdev@...r.kernel.org, kuba@...nel.org
Subject: Re: [PATCH net-next 02/10] bnxt_en: Update firmware interface to
1.10.1.54.
Hi Michael,
I love your patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Michael-Chan/bnxt_en-update/20200727-113250
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git a57066b1a01977a646145f4ce8dfb4538b08368a
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/linux/swab.h:5,
from include/uapi/linux/byteorder/big_endian.h:13,
from include/linux/byteorder/big_endian.h:5,
from arch/powerpc/include/uapi/asm/byteorder.h:14,
from include/asm-generic/bitops/le.h:6,
from arch/powerpc/include/asm/bitops.h:246,
from include/linux/bitops.h:29,
from include/linux/kernel.h:12,
from include/linux/interrupt.h:6,
from drivers/infiniband/hw/bnxt_re/hw_counters.c:40:
drivers/infiniband/hw/bnxt_re/hw_counters.c: In function 'bnxt_re_ib_get_hw_stats':
>> drivers/infiniband/hw/bnxt_re/hw_counters.c:135:31: error: 'struct ctx_hw_stats' has no member named 'rx_drop_pkts'; did you mean 'rx_error_pkts'?
135 | le64_to_cpu(bnxt_re_stats->rx_drop_pkts);
| ^~~~~~~~~~~~
include/uapi/linux/swab.h:128:54: note: in definition of macro '__swab64'
128 | #define __swab64(x) (__u64)__builtin_bswap64((__u64)(x))
| ^
include/linux/byteorder/generic.h:87:21: note: in expansion of macro '__le64_to_cpu'
87 | #define le64_to_cpu __le64_to_cpu
| ^~~~~~~~~~~~~
drivers/infiniband/hw/bnxt_re/hw_counters.c:135:4: note: in expansion of macro 'le64_to_cpu'
135 | le64_to_cpu(bnxt_re_stats->rx_drop_pkts);
| ^~~~~~~~~~~
vim +135 drivers/infiniband/hw/bnxt_re/hw_counters.c
225937d6ccff3b Somnath Kotur 2017-08-02 @40 #include <linux/interrupt.h>
225937d6ccff3b Somnath Kotur 2017-08-02 41 #include <linux/types.h>
225937d6ccff3b Somnath Kotur 2017-08-02 42 #include <linux/spinlock.h>
225937d6ccff3b Somnath Kotur 2017-08-02 43 #include <linux/sched.h>
225937d6ccff3b Somnath Kotur 2017-08-02 44 #include <linux/slab.h>
225937d6ccff3b Somnath Kotur 2017-08-02 45 #include <linux/pci.h>
225937d6ccff3b Somnath Kotur 2017-08-02 46 #include <linux/prefetch.h>
225937d6ccff3b Somnath Kotur 2017-08-02 47 #include <linux/delay.h>
225937d6ccff3b Somnath Kotur 2017-08-02 48
225937d6ccff3b Somnath Kotur 2017-08-02 49 #include <rdma/ib_addr.h>
225937d6ccff3b Somnath Kotur 2017-08-02 50
225937d6ccff3b Somnath Kotur 2017-08-02 51 #include "bnxt_ulp.h"
225937d6ccff3b Somnath Kotur 2017-08-02 52 #include "roce_hsi.h"
225937d6ccff3b Somnath Kotur 2017-08-02 53 #include "qplib_res.h"
225937d6ccff3b Somnath Kotur 2017-08-02 54 #include "qplib_sp.h"
225937d6ccff3b Somnath Kotur 2017-08-02 55 #include "qplib_fp.h"
225937d6ccff3b Somnath Kotur 2017-08-02 56 #include "qplib_rcfw.h"
225937d6ccff3b Somnath Kotur 2017-08-02 57 #include "bnxt_re.h"
225937d6ccff3b Somnath Kotur 2017-08-02 58 #include "hw_counters.h"
225937d6ccff3b Somnath Kotur 2017-08-02 59
225937d6ccff3b Somnath Kotur 2017-08-02 60 static const char * const bnxt_re_stat_name[] = {
225937d6ccff3b Somnath Kotur 2017-08-02 61 [BNXT_RE_ACTIVE_QP] = "active_qps",
225937d6ccff3b Somnath Kotur 2017-08-02 62 [BNXT_RE_ACTIVE_SRQ] = "active_srqs",
225937d6ccff3b Somnath Kotur 2017-08-02 63 [BNXT_RE_ACTIVE_CQ] = "active_cqs",
225937d6ccff3b Somnath Kotur 2017-08-02 64 [BNXT_RE_ACTIVE_MR] = "active_mrs",
225937d6ccff3b Somnath Kotur 2017-08-02 65 [BNXT_RE_ACTIVE_MW] = "active_mws",
225937d6ccff3b Somnath Kotur 2017-08-02 66 [BNXT_RE_RX_PKTS] = "rx_pkts",
225937d6ccff3b Somnath Kotur 2017-08-02 67 [BNXT_RE_RX_BYTES] = "rx_bytes",
225937d6ccff3b Somnath Kotur 2017-08-02 68 [BNXT_RE_TX_PKTS] = "tx_pkts",
225937d6ccff3b Somnath Kotur 2017-08-02 69 [BNXT_RE_TX_BYTES] = "tx_bytes",
89f81008baac88 Selvin Xavier 2018-01-11 70 [BNXT_RE_RECOVERABLE_ERRORS] = "recoverable_errors",
5c80c9138e28f6 Selvin Xavier 2018-10-08 71 [BNXT_RE_RX_DROPS] = "rx_roce_drops",
5c80c9138e28f6 Selvin Xavier 2018-10-08 72 [BNXT_RE_RX_DISCARDS] = "rx_roce_discards",
89f81008baac88 Selvin Xavier 2018-01-11 73 [BNXT_RE_TO_RETRANSMITS] = "to_retransmits",
89f81008baac88 Selvin Xavier 2018-01-11 74 [BNXT_RE_SEQ_ERR_NAKS_RCVD] = "seq_err_naks_rcvd",
89f81008baac88 Selvin Xavier 2018-01-11 75 [BNXT_RE_MAX_RETRY_EXCEEDED] = "max_retry_exceeded",
89f81008baac88 Selvin Xavier 2018-01-11 76 [BNXT_RE_RNR_NAKS_RCVD] = "rnr_naks_rcvd",
d97a3e92f33685 Colin Ian King 2019-09-11 77 [BNXT_RE_MISSING_RESP] = "missing_resp",
89f81008baac88 Selvin Xavier 2018-01-11 78 [BNXT_RE_UNRECOVERABLE_ERR] = "unrecoverable_err",
89f81008baac88 Selvin Xavier 2018-01-11 79 [BNXT_RE_BAD_RESP_ERR] = "bad_resp_err",
89f81008baac88 Selvin Xavier 2018-01-11 80 [BNXT_RE_LOCAL_QP_OP_ERR] = "local_qp_op_err",
89f81008baac88 Selvin Xavier 2018-01-11 81 [BNXT_RE_LOCAL_PROTECTION_ERR] = "local_protection_err",
89f81008baac88 Selvin Xavier 2018-01-11 82 [BNXT_RE_MEM_MGMT_OP_ERR] = "mem_mgmt_op_err",
89f81008baac88 Selvin Xavier 2018-01-11 83 [BNXT_RE_REMOTE_INVALID_REQ_ERR] = "remote_invalid_req_err",
89f81008baac88 Selvin Xavier 2018-01-11 84 [BNXT_RE_REMOTE_ACCESS_ERR] = "remote_access_err",
89f81008baac88 Selvin Xavier 2018-01-11 85 [BNXT_RE_REMOTE_OP_ERR] = "remote_op_err",
89f81008baac88 Selvin Xavier 2018-01-11 86 [BNXT_RE_DUP_REQ] = "dup_req",
89f81008baac88 Selvin Xavier 2018-01-11 87 [BNXT_RE_RES_EXCEED_MAX] = "res_exceed_max",
89f81008baac88 Selvin Xavier 2018-01-11 88 [BNXT_RE_RES_LENGTH_MISMATCH] = "res_length_mismatch",
89f81008baac88 Selvin Xavier 2018-01-11 89 [BNXT_RE_RES_EXCEEDS_WQE] = "res_exceeds_wqe",
89f81008baac88 Selvin Xavier 2018-01-11 90 [BNXT_RE_RES_OPCODE_ERR] = "res_opcode_err",
89f81008baac88 Selvin Xavier 2018-01-11 91 [BNXT_RE_RES_RX_INVALID_RKEY] = "res_rx_invalid_rkey",
89f81008baac88 Selvin Xavier 2018-01-11 92 [BNXT_RE_RES_RX_DOMAIN_ERR] = "res_rx_domain_err",
89f81008baac88 Selvin Xavier 2018-01-11 93 [BNXT_RE_RES_RX_NO_PERM] = "res_rx_no_perm",
89f81008baac88 Selvin Xavier 2018-01-11 94 [BNXT_RE_RES_RX_RANGE_ERR] = "res_rx_range_err",
89f81008baac88 Selvin Xavier 2018-01-11 95 [BNXT_RE_RES_TX_INVALID_RKEY] = "res_tx_invalid_rkey",
89f81008baac88 Selvin Xavier 2018-01-11 96 [BNXT_RE_RES_TX_DOMAIN_ERR] = "res_tx_domain_err",
89f81008baac88 Selvin Xavier 2018-01-11 97 [BNXT_RE_RES_TX_NO_PERM] = "res_tx_no_perm",
89f81008baac88 Selvin Xavier 2018-01-11 98 [BNXT_RE_RES_TX_RANGE_ERR] = "res_tx_range_err",
89f81008baac88 Selvin Xavier 2018-01-11 99 [BNXT_RE_RES_IRRQ_OFLOW] = "res_irrq_oflow",
89f81008baac88 Selvin Xavier 2018-01-11 100 [BNXT_RE_RES_UNSUP_OPCODE] = "res_unsup_opcode",
89f81008baac88 Selvin Xavier 2018-01-11 101 [BNXT_RE_RES_UNALIGNED_ATOMIC] = "res_unaligned_atomic",
89f81008baac88 Selvin Xavier 2018-01-11 102 [BNXT_RE_RES_REM_INV_ERR] = "res_rem_inv_err",
89f81008baac88 Selvin Xavier 2018-01-11 103 [BNXT_RE_RES_MEM_ERROR] = "res_mem_err",
89f81008baac88 Selvin Xavier 2018-01-11 104 [BNXT_RE_RES_SRQ_ERR] = "res_srq_err",
89f81008baac88 Selvin Xavier 2018-01-11 105 [BNXT_RE_RES_CMP_ERR] = "res_cmp_err",
89f81008baac88 Selvin Xavier 2018-01-11 106 [BNXT_RE_RES_INVALID_DUP_RKEY] = "res_invalid_dup_rkey",
89f81008baac88 Selvin Xavier 2018-01-11 107 [BNXT_RE_RES_WQE_FORMAT_ERR] = "res_wqe_format_err",
89f81008baac88 Selvin Xavier 2018-01-11 108 [BNXT_RE_RES_CQ_LOAD_ERR] = "res_cq_load_err",
89f81008baac88 Selvin Xavier 2018-01-11 109 [BNXT_RE_RES_SRQ_LOAD_ERR] = "res_srq_load_err",
89f81008baac88 Selvin Xavier 2018-01-11 110 [BNXT_RE_RES_TX_PCI_ERR] = "res_tx_pci_err",
316dd2825db139 Selvin Xavier 2018-10-08 111 [BNXT_RE_RES_RX_PCI_ERR] = "res_rx_pci_err",
316dd2825db139 Selvin Xavier 2018-10-08 112 [BNXT_RE_OUT_OF_SEQ_ERR] = "oos_drop_count"
225937d6ccff3b Somnath Kotur 2017-08-02 113 };
225937d6ccff3b Somnath Kotur 2017-08-02 114
225937d6ccff3b Somnath Kotur 2017-08-02 115 int bnxt_re_ib_get_hw_stats(struct ib_device *ibdev,
225937d6ccff3b Somnath Kotur 2017-08-02 116 struct rdma_hw_stats *stats,
225937d6ccff3b Somnath Kotur 2017-08-02 117 u8 port, int index)
225937d6ccff3b Somnath Kotur 2017-08-02 118 {
225937d6ccff3b Somnath Kotur 2017-08-02 119 struct bnxt_re_dev *rdev = to_bnxt_re_dev(ibdev, ibdev);
225937d6ccff3b Somnath Kotur 2017-08-02 120 struct ctx_hw_stats *bnxt_re_stats = rdev->qplib_ctx.stats.dma;
89f81008baac88 Selvin Xavier 2018-01-11 121 int rc = 0;
225937d6ccff3b Somnath Kotur 2017-08-02 122
225937d6ccff3b Somnath Kotur 2017-08-02 123 if (!port || !stats)
225937d6ccff3b Somnath Kotur 2017-08-02 124 return -EINVAL;
225937d6ccff3b Somnath Kotur 2017-08-02 125
225937d6ccff3b Somnath Kotur 2017-08-02 126 stats->value[BNXT_RE_ACTIVE_QP] = atomic_read(&rdev->qp_count);
225937d6ccff3b Somnath Kotur 2017-08-02 127 stats->value[BNXT_RE_ACTIVE_SRQ] = atomic_read(&rdev->srq_count);
225937d6ccff3b Somnath Kotur 2017-08-02 128 stats->value[BNXT_RE_ACTIVE_CQ] = atomic_read(&rdev->cq_count);
225937d6ccff3b Somnath Kotur 2017-08-02 129 stats->value[BNXT_RE_ACTIVE_MR] = atomic_read(&rdev->mr_count);
225937d6ccff3b Somnath Kotur 2017-08-02 130 stats->value[BNXT_RE_ACTIVE_MW] = atomic_read(&rdev->mw_count);
225937d6ccff3b Somnath Kotur 2017-08-02 131 if (bnxt_re_stats) {
225937d6ccff3b Somnath Kotur 2017-08-02 132 stats->value[BNXT_RE_RECOVERABLE_ERRORS] =
225937d6ccff3b Somnath Kotur 2017-08-02 133 le64_to_cpu(bnxt_re_stats->tx_bcast_pkts);
5c80c9138e28f6 Selvin Xavier 2018-10-08 134 stats->value[BNXT_RE_RX_DROPS] =
5c80c9138e28f6 Selvin Xavier 2018-10-08 @135 le64_to_cpu(bnxt_re_stats->rx_drop_pkts);
5c80c9138e28f6 Selvin Xavier 2018-10-08 136 stats->value[BNXT_RE_RX_DISCARDS] =
5c80c9138e28f6 Selvin Xavier 2018-10-08 137 le64_to_cpu(bnxt_re_stats->rx_discard_pkts);
225937d6ccff3b Somnath Kotur 2017-08-02 138 stats->value[BNXT_RE_RX_PKTS] =
225937d6ccff3b Somnath Kotur 2017-08-02 139 le64_to_cpu(bnxt_re_stats->rx_ucast_pkts);
225937d6ccff3b Somnath Kotur 2017-08-02 140 stats->value[BNXT_RE_RX_BYTES] =
225937d6ccff3b Somnath Kotur 2017-08-02 141 le64_to_cpu(bnxt_re_stats->rx_ucast_bytes);
225937d6ccff3b Somnath Kotur 2017-08-02 142 stats->value[BNXT_RE_TX_PKTS] =
225937d6ccff3b Somnath Kotur 2017-08-02 143 le64_to_cpu(bnxt_re_stats->tx_ucast_pkts);
225937d6ccff3b Somnath Kotur 2017-08-02 144 stats->value[BNXT_RE_TX_BYTES] =
225937d6ccff3b Somnath Kotur 2017-08-02 145 le64_to_cpu(bnxt_re_stats->tx_ucast_bytes);
225937d6ccff3b Somnath Kotur 2017-08-02 146 }
89f81008baac88 Selvin Xavier 2018-01-11 147 if (test_bit(BNXT_RE_FLAG_ISSUE_ROCE_STATS, &rdev->flags)) {
89f81008baac88 Selvin Xavier 2018-01-11 148 rc = bnxt_qplib_get_roce_stats(&rdev->rcfw, &rdev->stats);
89f81008baac88 Selvin Xavier 2018-01-11 149 if (rc)
89f81008baac88 Selvin Xavier 2018-01-11 150 clear_bit(BNXT_RE_FLAG_ISSUE_ROCE_STATS,
89f81008baac88 Selvin Xavier 2018-01-11 151 &rdev->flags);
89f81008baac88 Selvin Xavier 2018-01-11 152 stats->value[BNXT_RE_TO_RETRANSMITS] =
89f81008baac88 Selvin Xavier 2018-01-11 153 rdev->stats.to_retransmits;
89f81008baac88 Selvin Xavier 2018-01-11 154 stats->value[BNXT_RE_SEQ_ERR_NAKS_RCVD] =
89f81008baac88 Selvin Xavier 2018-01-11 155 rdev->stats.seq_err_naks_rcvd;
89f81008baac88 Selvin Xavier 2018-01-11 156 stats->value[BNXT_RE_MAX_RETRY_EXCEEDED] =
89f81008baac88 Selvin Xavier 2018-01-11 157 rdev->stats.max_retry_exceeded;
89f81008baac88 Selvin Xavier 2018-01-11 158 stats->value[BNXT_RE_RNR_NAKS_RCVD] =
89f81008baac88 Selvin Xavier 2018-01-11 159 rdev->stats.rnr_naks_rcvd;
89f81008baac88 Selvin Xavier 2018-01-11 160 stats->value[BNXT_RE_MISSING_RESP] =
89f81008baac88 Selvin Xavier 2018-01-11 161 rdev->stats.missing_resp;
89f81008baac88 Selvin Xavier 2018-01-11 162 stats->value[BNXT_RE_UNRECOVERABLE_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 163 rdev->stats.unrecoverable_err;
89f81008baac88 Selvin Xavier 2018-01-11 164 stats->value[BNXT_RE_BAD_RESP_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 165 rdev->stats.bad_resp_err;
89f81008baac88 Selvin Xavier 2018-01-11 166 stats->value[BNXT_RE_LOCAL_QP_OP_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 167 rdev->stats.local_qp_op_err;
89f81008baac88 Selvin Xavier 2018-01-11 168 stats->value[BNXT_RE_LOCAL_PROTECTION_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 169 rdev->stats.local_protection_err;
89f81008baac88 Selvin Xavier 2018-01-11 170 stats->value[BNXT_RE_MEM_MGMT_OP_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 171 rdev->stats.mem_mgmt_op_err;
89f81008baac88 Selvin Xavier 2018-01-11 172 stats->value[BNXT_RE_REMOTE_INVALID_REQ_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 173 rdev->stats.remote_invalid_req_err;
89f81008baac88 Selvin Xavier 2018-01-11 174 stats->value[BNXT_RE_REMOTE_ACCESS_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 175 rdev->stats.remote_access_err;
89f81008baac88 Selvin Xavier 2018-01-11 176 stats->value[BNXT_RE_REMOTE_OP_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 177 rdev->stats.remote_op_err;
89f81008baac88 Selvin Xavier 2018-01-11 178 stats->value[BNXT_RE_DUP_REQ] =
89f81008baac88 Selvin Xavier 2018-01-11 179 rdev->stats.dup_req;
89f81008baac88 Selvin Xavier 2018-01-11 180 stats->value[BNXT_RE_RES_EXCEED_MAX] =
89f81008baac88 Selvin Xavier 2018-01-11 181 rdev->stats.res_exceed_max;
89f81008baac88 Selvin Xavier 2018-01-11 182 stats->value[BNXT_RE_RES_LENGTH_MISMATCH] =
89f81008baac88 Selvin Xavier 2018-01-11 183 rdev->stats.res_length_mismatch;
89f81008baac88 Selvin Xavier 2018-01-11 184 stats->value[BNXT_RE_RES_EXCEEDS_WQE] =
89f81008baac88 Selvin Xavier 2018-01-11 185 rdev->stats.res_exceeds_wqe;
89f81008baac88 Selvin Xavier 2018-01-11 186 stats->value[BNXT_RE_RES_OPCODE_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 187 rdev->stats.res_opcode_err;
89f81008baac88 Selvin Xavier 2018-01-11 188 stats->value[BNXT_RE_RES_RX_INVALID_RKEY] =
89f81008baac88 Selvin Xavier 2018-01-11 189 rdev->stats.res_rx_invalid_rkey;
89f81008baac88 Selvin Xavier 2018-01-11 190 stats->value[BNXT_RE_RES_RX_DOMAIN_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 191 rdev->stats.res_rx_domain_err;
89f81008baac88 Selvin Xavier 2018-01-11 192 stats->value[BNXT_RE_RES_RX_NO_PERM] =
89f81008baac88 Selvin Xavier 2018-01-11 193 rdev->stats.res_rx_no_perm;
89f81008baac88 Selvin Xavier 2018-01-11 194 stats->value[BNXT_RE_RES_RX_RANGE_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 195 rdev->stats.res_rx_range_err;
89f81008baac88 Selvin Xavier 2018-01-11 196 stats->value[BNXT_RE_RES_TX_INVALID_RKEY] =
89f81008baac88 Selvin Xavier 2018-01-11 197 rdev->stats.res_tx_invalid_rkey;
89f81008baac88 Selvin Xavier 2018-01-11 198 stats->value[BNXT_RE_RES_TX_DOMAIN_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 199 rdev->stats.res_tx_domain_err;
89f81008baac88 Selvin Xavier 2018-01-11 200 stats->value[BNXT_RE_RES_TX_NO_PERM] =
89f81008baac88 Selvin Xavier 2018-01-11 201 rdev->stats.res_tx_no_perm;
89f81008baac88 Selvin Xavier 2018-01-11 202 stats->value[BNXT_RE_RES_TX_RANGE_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 203 rdev->stats.res_tx_range_err;
89f81008baac88 Selvin Xavier 2018-01-11 204 stats->value[BNXT_RE_RES_IRRQ_OFLOW] =
89f81008baac88 Selvin Xavier 2018-01-11 205 rdev->stats.res_irrq_oflow;
89f81008baac88 Selvin Xavier 2018-01-11 206 stats->value[BNXT_RE_RES_UNSUP_OPCODE] =
89f81008baac88 Selvin Xavier 2018-01-11 207 rdev->stats.res_unsup_opcode;
89f81008baac88 Selvin Xavier 2018-01-11 208 stats->value[BNXT_RE_RES_UNALIGNED_ATOMIC] =
89f81008baac88 Selvin Xavier 2018-01-11 209 rdev->stats.res_unaligned_atomic;
89f81008baac88 Selvin Xavier 2018-01-11 210 stats->value[BNXT_RE_RES_REM_INV_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 211 rdev->stats.res_rem_inv_err;
89f81008baac88 Selvin Xavier 2018-01-11 212 stats->value[BNXT_RE_RES_MEM_ERROR] =
89f81008baac88 Selvin Xavier 2018-01-11 213 rdev->stats.res_mem_error;
89f81008baac88 Selvin Xavier 2018-01-11 214 stats->value[BNXT_RE_RES_SRQ_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 215 rdev->stats.res_srq_err;
89f81008baac88 Selvin Xavier 2018-01-11 216 stats->value[BNXT_RE_RES_CMP_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 217 rdev->stats.res_cmp_err;
89f81008baac88 Selvin Xavier 2018-01-11 218 stats->value[BNXT_RE_RES_INVALID_DUP_RKEY] =
89f81008baac88 Selvin Xavier 2018-01-11 219 rdev->stats.res_invalid_dup_rkey;
89f81008baac88 Selvin Xavier 2018-01-11 220 stats->value[BNXT_RE_RES_WQE_FORMAT_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 221 rdev->stats.res_wqe_format_err;
89f81008baac88 Selvin Xavier 2018-01-11 222 stats->value[BNXT_RE_RES_CQ_LOAD_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 223 rdev->stats.res_cq_load_err;
89f81008baac88 Selvin Xavier 2018-01-11 224 stats->value[BNXT_RE_RES_SRQ_LOAD_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 225 rdev->stats.res_srq_load_err;
89f81008baac88 Selvin Xavier 2018-01-11 226 stats->value[BNXT_RE_RES_TX_PCI_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 227 rdev->stats.res_tx_pci_err;
89f81008baac88 Selvin Xavier 2018-01-11 228 stats->value[BNXT_RE_RES_RX_PCI_ERR] =
89f81008baac88 Selvin Xavier 2018-01-11 229 rdev->stats.res_rx_pci_err;
316dd2825db139 Selvin Xavier 2018-10-08 230 stats->value[BNXT_RE_OUT_OF_SEQ_ERR] =
316dd2825db139 Selvin Xavier 2018-10-08 231 rdev->stats.res_oos_drop_count;
89f81008baac88 Selvin Xavier 2018-01-11 232 }
89f81008baac88 Selvin Xavier 2018-01-11 233
225937d6ccff3b Somnath Kotur 2017-08-02 234 return ARRAY_SIZE(bnxt_re_stat_name);
225937d6ccff3b Somnath Kotur 2017-08-02 235 }
225937d6ccff3b Somnath Kotur 2017-08-02 236
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (69775 bytes)
Powered by blists - more mailing lists