Commit 42bce04e authored by Catherine Sullivan's avatar Catherine Sullivan Committed by Jeff Kirsher

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: default avatarCatherine Sullivan <catherine.sullivan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent dc5b4e9f
...@@ -527,6 +527,7 @@ void i40e_pf_reset_stats(struct i40e_pf *pf) ...@@ -527,6 +527,7 @@ void i40e_pf_reset_stats(struct i40e_pf *pf)
pf->veb[i]->stat_offsets_loaded = false; pf->veb[i]->stat_offsets_loaded = false;
} }
} }
pf->hw_csum_rx_error = 0;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment