]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
be2net: include rx-compl error counter in ethtool stats
authorKalesh AP <kalesh.purayil@emulex.com>
Fri, 9 May 2014 07:59:18 +0000 (13:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 17:13:39 +0000 (13:13 -0400)
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>
drivers/net/ethernet/emulex/benet/be_ethtool.c

index cffbb130999a284fda357edf23a13dfe24a2b686..970ae337daace7966c96baf80a92072c996de91e 100644 (file)
@@ -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.