summaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge/myri10ge_mcp.h
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2007-05-07 23:49:25 +0200
committerJeff Garzik <jeff@garzik.org>2007-05-08 01:15:14 -0400
commitcee505db2459aa100a4c3619b8178ec323f1d11e (patch)
tree9a395b38975a45692c9ce09f6e3f5d0372847038 /drivers/net/myri10ge/myri10ge_mcp.h
parent0ce68c74162ce288cfd214dd126b8d03b8b7a8ed (diff)
downloadblackbird-op-linux-cee505db2459aa100a4c3619b8178ec323f1d11e.tar.gz
blackbird-op-linux-cee505db2459aa100a4c3619b8178ec323f1d11e.zip
myri10ge: support new firmware counters
Add dropped_pause, dropped_bad_phy, dropped_bad_crc32, dropped_unicast_filtered to the set of ethtool counters. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/myri10ge/myri10ge_mcp.h')
-rw-r--r--drivers/net/myri10ge/myri10ge_mcp.h6
1 files changed, 5 insertions, 1 deletions
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 {
struct mcp_irq_data {
/* add new counters at the beginning */
- __be32 future_use[5];
+ __be32 future_use[1];
+ __be32 dropped_pause;
+ __be32 dropped_unicast_filtered;
+ __be32 dropped_bad_crc32;
+ __be32 dropped_bad_phy;
__be32 dropped_multicast_filtered;
/* 40 Bytes */
__be32 send_done_count;
OpenPOWER on IntegriCloud