qed: Add missing stat for new isles
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Thu, 6 Apr 2017 12:58:32 +0000 (15:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Apr 2017 21:26:31 +0000 (14:26 -0700)
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>
drivers/net/ethernet/qlogic/qed/qed_iscsi.c

index 112b96fba4333184a623c660363f833ee91eb550..38273f41201d8fd9dd7a6a3115b47c2cd4ccb454 100644 (file)
@@ -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 =