Skip to content

Commit 42bce04

Browse files
Catherine SullivanJeff Kirsher
authored andcommitted
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 <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent dc5b4e9 commit 42bce04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/intel/i40e/i40e_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ void i40e_pf_reset_stats(struct i40e_pf *pf)
527527
pf->veb[i]->stat_offsets_loaded = false;
528528
}
529529
}
530+
pf->hw_csum_rx_error = 0;
530531
}
531532

532533
/**

0 commit comments

Comments
 (0)