diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2015-03-30 17:45:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-31 16:36:50 -0400 |
commit | b4b6e842fc590de809a2f5af472a4ba64999e6b1 (patch) | |
tree | edd543bba9e65a660f705c8e2892dc4aeea6d82c /drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | |
parent | 66f24a7ebffc5eaef9b799a2a72dd61149ad846b (diff) | |
download | linux-stable-b4b6e842fc590de809a2f5af472a4ba64999e6b1.tar.gz linux-stable-b4b6e842fc590de809a2f5af472a4ba64999e6b1.tar.bz2 linux-stable-b4b6e842fc590de809a2f5af472a4ba64999e6b1.zip |
net/mlx4_en: Create new header file for all statistics info
Add mlx4_stats.h file and move there all statistics structs and marcos.
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c b/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c index a7b58ba8492b..310d798e5bc9 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c @@ -123,8 +123,6 @@ static const char main_strings[][ETH_GSTRING_LEN] = { "tx_prio_1", "tx_prio_2", "tx_prio_3", "tx_prio_4", "tx_prio_5", "tx_prio_6", "tx_prio_7", }; -#define NUM_MAIN_STATS 21 -#define NUM_ALL_STATS (NUM_MAIN_STATS + NUM_PORT_STATS + NUM_PKT_STATS + NUM_PERF_STATS) static const char mlx4_en_test_names[][ETH_GSTRING_LEN]= { "Interrupt Test", |