summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Sullivan <catherine.sullivan@intel.com>2016-07-27 12:02:32 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-08-18 11:43:11 -0700
commit42bce04ef392ccf1aac0086b1318d375287c8952 (patch)
tree9537493d2b89d92aeb0aa2ae84c042d5b5d1ccb8
parentdc5b4e9fad36849ecc85dcaac8de2682751769fa (diff)
i40e: reset RX csum error stat with other pf stats
When we are resetting the pf stats we should also reset the RX csum error stat. Change-ID: I7af5ee0ec81a10f6deee1a7b8c2082ea068ef620 Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index c6ac7a61812f..9f9d24f4a4ed 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -527,6 +527,7 @@ void i40e_pf_reset_stats(struct i40e_pf *pf)
pf->veb[i]->stat_offsets_loaded = false;
}
}
+ pf->hw_csum_rx_error = 0;
}
/**