diff options
author | Vasundhara Volam <vasundhara.volam@emulex.com> | 2014-09-02 00:26:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-02 15:46:00 -0400 |
commit | d3de154071c14549c4b99d06a063bf3761e482c3 (patch) | |
tree | 24c384126970f6bc7fea431f48d49f81338672b6 /drivers/net/ethernet/emulex/benet/be_ethtool.c | |
parent | 512bb8a244d2854953c65c0b36b0d0812fced7d5 (diff) |
be2net: Add a dma_mapping_error counter in ethtool
Add a dma_mapping_error counter to count the number of packets dropped
due to DMA mapping errors.
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_ethtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c index 3a7ade4b313a..2fd38261bedb 100644 --- a/drivers/net/ethernet/emulex/benet/be_ethtool.c +++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c | |||
@@ -119,6 +119,8 @@ static const struct be_ethtool_stat et_stats[] = { | |||
119 | * is more than 9018 bytes | 119 | * is more than 9018 bytes |
120 | */ | 120 | */ |
121 | {DRVSTAT_INFO(rx_drops_mtu)}, | 121 | {DRVSTAT_INFO(rx_drops_mtu)}, |
122 | /* Number of dma mapping errors */ | ||
123 | {DRVSTAT_INFO(dma_map_errors)}, | ||
122 | /* Number of packets dropped due to random early drop function */ | 124 | /* Number of packets dropped due to random early drop function */ |
123 | {DRVSTAT_INFO(eth_red_drops)}, | 125 | {DRVSTAT_INFO(eth_red_drops)}, |
124 | {DRVSTAT_INFO(be_on_die_temperature)}, | 126 | {DRVSTAT_INFO(be_on_die_temperature)}, |