summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2016-03-08 09:40:45 +0000
committernp <np@FreeBSD.org>2016-03-08 09:40:45 +0000
commitf1c5a8fddd2dc978a376abd3ac5fd8fc2138e64c (patch)
tree2410c2c1fc6ca952bc4cfd1f89a3df86339347fe
parent85671180d80323e3294bb98bdb3e1b5dab2d69c9 (diff)
downloadFreeBSD-src-f1c5a8fddd2dc978a376abd3ac5fd8fc2138e64c.zip
FreeBSD-src-f1c5a8fddd2dc978a376abd3ac5fd8fc2138e64c.tar.gz
cxgbe(4): Fix t4_tp_get_rdma_stats.
-rw-r--r--sys/dev/cxgbe/common/t4_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/common/t4_hw.c b/sys/dev/cxgbe/common/t4_hw.c
index 0f88473..3885f0a 100644
--- a/sys/dev/cxgbe/common/t4_hw.c
+++ b/sys/dev/cxgbe/common/t4_hw.c
@@ -5340,7 +5340,7 @@ void t4_tp_get_cpl_stats(struct adapter *adap, struct tp_cpl_stats *st)
*/
void t4_tp_get_rdma_stats(struct adapter *adap, struct tp_rdma_stats *st)
{
- t4_read_indirect(adap, A_TP_MIB_INDEX, A_TP_MIB_DATA, &st->rqe_dfr_mod,
+ t4_read_indirect(adap, A_TP_MIB_INDEX, A_TP_MIB_DATA, &st->rqe_dfr_pkt,
2, A_TP_MIB_RQE_DFR_PKT);
}
OpenPOWER on IntegriCloud