diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2010-09-05 18:20:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-06 21:48:44 -0400 |
commit | d61702f1273b71c2809365a7806d7fe84fd77f15 (patch) | |
tree | 6d20c5ce94ea924405c046a4537bb459c48d10b5 /drivers/net/mlx4 | |
parent | ebc872c7bd7155bcc7db2343155729d13bf4a2ee (diff) |
mlx4_en: Fixed Ethtool statistics report
The values didn't match the title after removing the LRO
statistics in commit fa37a9586f92051de03a13e55e5ec3880bb6783e
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r-- | drivers/net/mlx4/en_ethtool.c | 2 | ||||
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_ethtool.c b/drivers/net/mlx4/en_ethtool.c index 01634a3efe85..056152b3ff58 100644 --- a/drivers/net/mlx4/en_ethtool.c +++ b/drivers/net/mlx4/en_ethtool.c | |||
@@ -107,7 +107,7 @@ static const char main_strings[][ETH_GSTRING_LEN] = { | |||
107 | "tx_prio_1", "tx_prio_2", "tx_prio_3", "tx_prio_4", "tx_prio_5", | 107 | "tx_prio_1", "tx_prio_2", "tx_prio_3", "tx_prio_4", "tx_prio_5", |
108 | "tx_prio_6", "tx_prio_7", | 108 | "tx_prio_6", "tx_prio_7", |
109 | }; | 109 | }; |
110 | #define NUM_MAIN_STATS 18 | 110 | #define NUM_MAIN_STATS 21 |
111 | #define NUM_ALL_STATS (NUM_MAIN_STATS + NUM_PORT_STATS + NUM_PKT_STATS + NUM_PERF_STATS) | 111 | #define NUM_ALL_STATS (NUM_MAIN_STATS + NUM_PORT_STATS + NUM_PKT_STATS + NUM_PERF_STATS) |
112 | 112 | ||
113 | static const char mlx4_en_test_names[][ETH_GSTRING_LEN]= { | 113 | static const char mlx4_en_test_names[][ETH_GSTRING_LEN]= { |
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index ce8e2338ee31..1fc16ab7ad2f 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h | |||
@@ -385,7 +385,7 @@ struct mlx4_en_port_stats { | |||
385 | unsigned long rx_chksum_good; | 385 | unsigned long rx_chksum_good; |
386 | unsigned long rx_chksum_none; | 386 | unsigned long rx_chksum_none; |
387 | unsigned long tx_chksum_offload; | 387 | unsigned long tx_chksum_offload; |
388 | #define NUM_PORT_STATS 11 | 388 | #define NUM_PORT_STATS 8 |
389 | }; | 389 | }; |
390 | 390 | ||
391 | struct mlx4_en_perf_stats { | 391 | struct mlx4_en_perf_stats { |