|
@@ -104,7 +104,7 @@ static const struct i40e_stats i40e_gstrings_misc_stats[] = {
|
|
|
* The PF_STATs are appended to the netdev stats only when ethtool -S
|
|
|
* is queried on the base PF netdev, not on the VMDq or FCoE netdev.
|
|
|
*/
|
|
|
-static struct i40e_stats i40e_gstrings_stats[] = {
|
|
|
+static const struct i40e_stats i40e_gstrings_stats[] = {
|
|
|
I40E_PF_STAT("rx_bytes", stats.eth.rx_bytes),
|
|
|
I40E_PF_STAT("tx_bytes", stats.eth.tx_bytes),
|
|
|
I40E_PF_STAT("rx_unicast", stats.eth.rx_unicast),
|