|
@@ -80,7 +80,7 @@ static struct ixgbe_stats ixgbevf_gstrings_stats[] = {
|
|
|
#define IXGBEVF_QUEUE_STATS_LEN ( \
|
|
|
(((struct ixgbevf_adapter *)netdev_priv(netdev))->num_tx_queues + \
|
|
|
((struct ixgbevf_adapter *)netdev_priv(netdev))->num_rx_queues) * \
|
|
|
- (sizeof(struct ixgbe_stats) / sizeof(u64)))
|
|
|
+ (sizeof(struct ixgbevf_stats) / sizeof(u64)))
|
|
|
#define IXGBEVF_GLOBAL_STATS_LEN ARRAY_SIZE(ixgbevf_gstrings_stats)
|
|
|
|
|
|
#define IXGBEVF_STATS_LEN (IXGBEVF_GLOBAL_STATS_LEN + IXGBEVF_QUEUE_STATS_LEN)
|