diff options
-rw-r--r-- | drivers/net/ixgbe/ixgbe_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index aaa4404e7c5f..ad9759de3cd8 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c | |||
@@ -99,7 +99,7 @@ static struct ixgbe_stats ixgbe_gstrings_stats[] = { | |||
99 | (sizeof(struct ixgbe_queue_stats) / sizeof(u64))) | 99 | (sizeof(struct ixgbe_queue_stats) / sizeof(u64))) |
100 | #define IXGBE_GLOBAL_STATS_LEN ARRAY_SIZE(ixgbe_gstrings_stats) | 100 | #define IXGBE_GLOBAL_STATS_LEN ARRAY_SIZE(ixgbe_gstrings_stats) |
101 | #define IXGBE_PB_STATS_LEN ( \ | 101 | #define IXGBE_PB_STATS_LEN ( \ |
102 | (((struct ixgbe_adapter *)netdev->priv)->flags & \ | 102 | (((struct ixgbe_adapter *)netdev_priv(netdev))->flags & \ |
103 | IXGBE_FLAG_DCB_ENABLED) ? \ | 103 | IXGBE_FLAG_DCB_ENABLED) ? \ |
104 | (sizeof(((struct ixgbe_adapter *)0)->stats.pxonrxc) + \ | 104 | (sizeof(((struct ixgbe_adapter *)0)->stats.pxonrxc) + \ |
105 | sizeof(((struct ixgbe_adapter *)0)->stats.pxontxc) + \ | 105 | sizeof(((struct ixgbe_adapter *)0)->stats.pxontxc) + \ |