From: Catherine Sullivan Date: Wed, 27 Jul 2016 19:02:32 +0000 (-0700) Subject: i40e: reset RX csum error stat with other pf stats X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42bce04ef392ccf1aac0086b1318d375287c8952;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- 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; } /**