aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/myri10ge/myri10ge.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index abb5dd57c73f..f4c8fd373b9b 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -1288,6 +1288,7 @@ static const char myri10ge_gstrings_stats[][ETH_GSTRING_LEN] = {
1288 "tx_aborted_errors", "tx_carrier_errors", "tx_fifo_errors", 1288 "tx_aborted_errors", "tx_carrier_errors", "tx_fifo_errors",
1289 "tx_heartbeat_errors", "tx_window_errors", 1289 "tx_heartbeat_errors", "tx_window_errors",
1290 /* device-specific stats */ 1290 /* device-specific stats */
1291 "tx_boundary", "WC", "irq", "MSI",
1291 "read_dma_bw_MBs", "write_dma_bw_MBs", "read_write_dma_bw_MBs", 1292 "read_dma_bw_MBs", "write_dma_bw_MBs", "read_write_dma_bw_MBs",
1292 "serial_number", "tx_pkt_start", "tx_pkt_done", 1293 "serial_number", "tx_pkt_start", "tx_pkt_done",
1293 "tx_req", "tx_done", "rx_small_cnt", "rx_big_cnt", 1294 "tx_req", "tx_done", "rx_small_cnt", "rx_big_cnt",
@@ -1326,6 +1327,10 @@ myri10ge_get_ethtool_stats(struct net_device *netdev,
1326 for (i = 0; i < MYRI10GE_NET_STATS_LEN; i++) 1327 for (i = 0; i < MYRI10GE_NET_STATS_LEN; i++)
1327 data[i] = ((unsigned long *)&mgp->stats)[i]; 1328 data[i] = ((unsigned long *)&mgp->stats)[i];
1328 1329
1330 data[i++] = (unsigned int)mgp->tx.boundary;
1331 data[i++] = (unsigned int)(mgp->mtrr >= 0);
1332 data[i++] = (unsigned int)mgp->pdev->irq;
1333 data[i++] = (unsigned int)mgp->msi_enabled;
1329 data[i++] = (unsigned int)mgp->read_dma; 1334 data[i++] = (unsigned int)mgp->read_dma;
1330 data[i++] = (unsigned int)mgp->write_dma; 1335 data[i++] = (unsigned int)mgp->write_dma;
1331 data[i++] = (unsigned int)mgp->read_write_dma; 1336 data[i++] = (unsigned int)mgp->read_write_dma;