summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex
diff options
context:
space:
mode:
authorKalesh AP <kalesh.purayil@emulex.com>2014-05-09 13:29:18 +0530
committerDavid S. Miller <davem@davemloft.net>2014-05-09 13:13:39 -0400
commit5c29c09be73755fe99749c99a42c11121d6a8c12 (patch)
tree5441c606e914eb0e64d298f333a47b29116b4b3d /drivers/net/ethernet/emulex
parent4d567d9734ea83ec3dabeb29321584da5f6f0b6c (diff)
downloadblackbird-op-linux-5c29c09be73755fe99749c99a42c11121d6a8c12.tar.gz
blackbird-op-linux-5c29c09be73755fe99749c99a42c11121d6a8c12.zip
be2net: include rx-compl error counter in ethtool stats
Signed-off-by: Kalesh AP <kalesh.purayil@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')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_ethtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c
index cffbb130999a..970ae337daac 100644
--- a/drivers/net/ethernet/emulex/benet/be_ethtool.c
+++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c
@@ -132,6 +132,7 @@ static const struct be_ethtool_stat et_rx_stats[] = {
{DRVSTAT_RX_INFO(rx_bytes)},/* If moving this member see above note */
{DRVSTAT_RX_INFO(rx_pkts)}, /* If moving this member see above note */
{DRVSTAT_RX_INFO(rx_compl)},
+ {DRVSTAT_RX_INFO(rx_compl_err)},
{DRVSTAT_RX_INFO(rx_mcast_pkts)},
/* Number of page allocation failures while posting receive buffers
* to HW.
OpenPOWER on IntegriCloud