diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-04-06 15:58:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-07 00:26:31 +0300 |
commit | 3ddc48dc1953c364ec0ac4c21a75e8063fddb53e (patch) | |
tree | ab9595ab84bf31d35f3842eb0b9bfa65b515fbed /drivers/net/ethernet | |
parent | bd1cc771f9d2374f9f1c0edbd01d27893723e8da (diff) | |
download | linux-3ddc48dc1953c364ec0ac4c21a75e8063fddb53e.tar.xz |
qed: Add missing stat for new isles
Firmware provides a statistic for the number of out-of-order isles
it used - fill it in the iscsi-related statistics.
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_iscsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_iscsi.c b/drivers/net/ethernet/qlogic/qed/qed_iscsi.c index 112b96fba433..38273f41201d 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_iscsi.c +++ b/drivers/net/ethernet/qlogic/qed/qed_iscsi.c @@ -864,6 +864,8 @@ static void _qed_iscsi_get_tstats(struct qed_hwfn *p_hwfn, HILO_64_REGPAIR(tstats.iscsi_rx_bytes_cnt); p_stats->iscsi_rx_packet_cnt = HILO_64_REGPAIR(tstats.iscsi_rx_packet_cnt); + p_stats->iscsi_rx_new_ooo_isle_events_cnt = + HILO_64_REGPAIR(tstats.iscsi_rx_new_ooo_isle_events_cnt); p_stats->iscsi_cmdq_threshold_cnt = le32_to_cpu(tstats.iscsi_cmdq_threshold_cnt); p_stats->iscsi_rq_threshold_cnt = |