diff options
-rw-r--r-- | drivers/net/ethernet/sfc/ef10.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c index 357a6e5229c7..80a6eea49e36 100644 --- a/drivers/net/ethernet/sfc/ef10.c +++ b/drivers/net/ethernet/sfc/ef10.c | |||
@@ -708,6 +708,11 @@ static int efx_ef10_mcdi_poll_reboot(struct efx_nic *efx) | |||
708 | nic_data->must_restore_filters = true; | 708 | nic_data->must_restore_filters = true; |
709 | nic_data->rx_rss_context = EFX_EF10_RSS_CONTEXT_INVALID; | 709 | nic_data->rx_rss_context = EFX_EF10_RSS_CONTEXT_INVALID; |
710 | 710 | ||
711 | /* MAC statistics have been cleared on the NIC; clear the local | ||
712 | * statistic that we update with efx_update_diff_stat(). | ||
713 | */ | ||
714 | nic_data->stats[EF10_STAT_rx_bad_bytes] = 0; | ||
715 | |||
711 | return -EIO; | 716 | return -EIO; |
712 | } | 717 | } |
713 | 718 | ||