diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 9 | ||||
-rw-r--r-- | drivers/net/myri10ge/myri10ge_mcp.h | 6 |
2 files changed, 13 insertions, 2 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 16e3c4315e82..b48b988cf87c 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -1355,7 +1355,9 @@ static const char myri10ge_gstrings_stats[][ETH_GSTRING_LEN] = { | |||
1355 | "tx_req", "tx_done", "rx_small_cnt", "rx_big_cnt", | 1355 | "tx_req", "tx_done", "rx_small_cnt", "rx_big_cnt", |
1356 | "wake_queue", "stop_queue", "watchdog_resets", "tx_linearized", | 1356 | "wake_queue", "stop_queue", "watchdog_resets", "tx_linearized", |
1357 | "link_changes", "link_up", "dropped_link_overflow", | 1357 | "link_changes", "link_up", "dropped_link_overflow", |
1358 | "dropped_link_error_or_filtered", "dropped_multicast_filtered", | 1358 | "dropped_link_error_or_filtered", |
1359 | "dropped_pause", "dropped_bad_phy", "dropped_bad_crc32", | ||
1360 | "dropped_unicast_filtered", "dropped_multicast_filtered", | ||
1359 | "dropped_runt", "dropped_overrun", "dropped_no_small_buffer", | 1361 | "dropped_runt", "dropped_overrun", "dropped_no_small_buffer", |
1360 | "dropped_no_big_buffer" | 1362 | "dropped_no_big_buffer" |
1361 | }; | 1363 | }; |
@@ -1412,6 +1414,11 @@ myri10ge_get_ethtool_stats(struct net_device *netdev, | |||
1412 | data[i++] = (unsigned int)ntohl(mgp->fw_stats->dropped_link_overflow); | 1414 | data[i++] = (unsigned int)ntohl(mgp->fw_stats->dropped_link_overflow); |
1413 | data[i++] = | 1415 | data[i++] = |
1414 | (unsigned int)ntohl(mgp->fw_stats->dropped_link_error_or_filtered); | 1416 | (unsigned int)ntohl(mgp->fw_stats->dropped_link_error_or_filtered); |
1417 | data[i++] = (unsigned int)ntohl(mgp->fw_stats->dropped_pause); | ||
1418 | data[i++] = (unsigned int)ntohl(mgp->fw_stats->dropped_bad_phy); | ||
1419 | data[i++] = (unsigned int)ntohl(mgp->fw_stats->dropped_bad_crc32); | ||
1420 | data[i++] = | ||
1421 | (unsigned int)ntohl(mgp->fw_stats->dropped_unicast_filtered); | ||
1415 | data[i++] = | 1422 | data[i++] = |
1416 | (unsigned int)ntohl(mgp->fw_stats->dropped_multicast_filtered); | 1423 | (unsigned int)ntohl(mgp->fw_stats->dropped_multicast_filtered); |
1417 | data[i++] = (unsigned int)ntohl(mgp->fw_stats->dropped_runt); | 1424 | data[i++] = (unsigned int)ntohl(mgp->fw_stats->dropped_runt); |
diff --git a/drivers/net/myri10ge/myri10ge_mcp.h b/drivers/net/myri10ge/myri10ge_mcp.h index 29463b301a84..ee6261db2a51 100644 --- a/drivers/net/myri10ge/myri10ge_mcp.h +++ b/drivers/net/myri10ge/myri10ge_mcp.h | |||
@@ -219,7 +219,11 @@ enum myri10ge_mcp_cmd_status { | |||
219 | 219 | ||
220 | struct mcp_irq_data { | 220 | struct mcp_irq_data { |
221 | /* add new counters at the beginning */ | 221 | /* add new counters at the beginning */ |
222 | __be32 future_use[5]; | 222 | __be32 future_use[1]; |
223 | __be32 dropped_pause; | ||
224 | __be32 dropped_unicast_filtered; | ||
225 | __be32 dropped_bad_crc32; | ||
226 | __be32 dropped_bad_phy; | ||
223 | __be32 dropped_multicast_filtered; | 227 | __be32 dropped_multicast_filtered; |
224 | /* 40 Bytes */ | 228 | /* 40 Bytes */ |
225 | __be32 send_done_count; | 229 | __be32 send_done_count; |