We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 667eeab commit ffc2c8cCopy full SHA for ffc2c8c
drivers/net/ethernet/broadcom/genet/bcmgenet.c
@@ -4092,6 +4092,12 @@ static int bcmgenet_probe(struct platform_device *pdev)
4092
for (i = 0; i <= priv->hw_params->rx_queues; i++)
4093
priv->rx_rings[i].rx_max_coalesced_frames = 1;
4094
4095
+ /* Initialize u64 stats seq counter for 32bit machines */
4096
+ for (i = 0; i <= priv->hw_params->rx_queues; i++)
4097
+ u64_stats_init(&priv->rx_rings[i].stats64.syncp);
4098
+ for (i = 0; i <= priv->hw_params->tx_queues; i++)
4099
+ u64_stats_init(&priv->tx_rings[i].stats64.syncp);
4100
+
4101
/* libphy will determine the link state */
4102
netif_carrier_off(dev);
4103
0 commit comments