Searched defs:net_stats (Results 1 - 15 of 15) sorted by relevance

/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c1936 struct rtnl_link_stats64 net_stats; local
1940 e1000e_get_stats64(netdev, &net_stats);
1944 p = (char *) &net_stats +
/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2073 struct rtnl_link_stats64 *net_stats = &adapter->stats64; local
2080 igb_update_stats(adapter, net_stats);
2088 p = (char *)net_stats + igb_gstrings_net_stats[j].stat_offset;
H A Digb_main.c4617 struct rtnl_link_stats64 *net_stats)
4646 net_stats->rx_fifo_errors += rqdpc_tmp;
4657 net_stats->rx_bytes = bytes;
4658 net_stats->rx_packets = packets;
4672 net_stats->tx_bytes = bytes;
4673 net_stats->tx_packets = packets;
4695 net_stats->rx_fifo_errors += mpc;
4753 net_stats->multicast = adapter->stats.mprc;
4754 net_stats->collisions = adapter->stats.colc;
4760 net_stats
4616 igb_update_stats(struct igb_adapter *adapter, struct rtnl_link_stats64 *net_stats) argument
[all...]
/drivers/net/ethernet/intel/igbvf/
H A Digbvf.h251 struct net_device_stats net_stats; member in struct:igbvf_adapter
/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c1589 struct net_device_stats *net_stats = &netdev->stats; local
1592 net_stats->rx_packets = hw_stats->rx_ok;
1593 net_stats->tx_packets = hw_stats->tx_ok;
1594 net_stats->rx_bytes = hw_stats->rx_byte_cnt;
1595 net_stats->tx_bytes = hw_stats->tx_byte_cnt;
1596 net_stats->multicast = hw_stats->rx_mcast;
1597 net_stats->collisions = hw_stats->tx_1_col +
1600 net_stats->rx_errors = hw_stats->rx_frag + hw_stats->rx_fcs_err +
1603 net_stats->rx_fifo_errors = hw_stats->rx_rxf_ov;
1604 net_stats
[all...]
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c1162 struct net_device_stats *net_stats = &netdev->stats; local
1164 net_stats->rx_packets = hw_stats->rx_ok;
1165 net_stats->tx_packets = hw_stats->tx_ok;
1166 net_stats->rx_bytes = hw_stats->rx_byte_cnt;
1167 net_stats->tx_bytes = hw_stats->tx_byte_cnt;
1168 net_stats->multicast = hw_stats->rx_mcast;
1169 net_stats->collisions = hw_stats->tx_1_col +
1173 net_stats->rx_errors = hw_stats->rx_frag + hw_stats->rx_fcs_err +
1176 net_stats->rx_fifo_errors = hw_stats->rx_rxf_ov;
1177 net_stats
[all...]
/drivers/net/ethernet/cisco/enic/
H A Denic_main.c825 struct rtnl_link_stats64 *net_stats)
832 net_stats->tx_packets = stats->tx.tx_frames_ok;
833 net_stats->tx_bytes = stats->tx.tx_bytes_ok;
834 net_stats->tx_errors = stats->tx.tx_errors;
835 net_stats->tx_dropped = stats->tx.tx_drops;
837 net_stats->rx_packets = stats->rx.rx_frames_ok;
838 net_stats->rx_bytes = stats->rx.rx_bytes_ok;
839 net_stats->rx_errors = stats->rx.rx_errors;
840 net_stats->multicast = stats->rx.rx_multicast_frames_ok;
841 net_stats
824 enic_get_stats(struct net_device *netdev, struct rtnl_link_stats64 *net_stats) argument
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1063 const struct rtnl_link_stats64 *net_stats; local
1070 net_stats = dev_get_stats(netdev, &temp);
1074 p = (char *) net_stats +
/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c315 struct net_device_stats net_stats; member in struct:de_private
391 de->net_stats.rx_length_errors++;
395 de->net_stats.rx_errors++; /* end of a packet.*/
396 if (status & 0x0890) de->net_stats.rx_length_errors++;
397 if (status & RxErrCRC) de->net_stats.rx_crc_errors++;
398 if (status & RxErrFIFO) de->net_stats.rx_fifo_errors++;
426 de->net_stats.rx_dropped++;
444 de->net_stats.rx_dropped++;
473 de->net_stats.rx_packets++;
474 de->net_stats
[all...]
/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.c3122 vxge_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats) argument
3127 /* net_stats already zeroed by caller */
3142 net_stats->rx_packets += packets;
3143 net_stats->rx_bytes += bytes;
3144 net_stats->multicast += multicast;
3146 net_stats->rx_errors += rxstats->rx_errors;
3147 net_stats->rx_dropped += rxstats->rx_dropped;
3156 net_stats->tx_packets += packets;
3157 net_stats->tx_bytes += bytes;
3158 net_stats
[all...]
/drivers/net/ethernet/sun/
H A Dsunhme.h421 struct net_device_stats net_stats; /* Statistical counters */ member in struct:happy_meal
H A Dcassini.h2795 struct net_device_stats net_stats[N_TX_RINGS + 1]; member in struct:cas
/drivers/staging/et131x/
H A Det131x.c570 struct net_device_stats net_stats; member in struct:et131x_adapter
3097 adapter->net_stats.rx_bytes += rfd->len;
3156 adapter->net_stats.rx_packets++;
3590 adapter->net_stats.tx_dropped++;
3599 adapter->net_stats.tx_dropped++;
3619 struct net_device_stats *stats = &adapter->net_stats;
3661 adapter->net_stats.tx_packets++;
4769 struct net_device_stats *stats = &adapter->net_stats;
5094 adapter->net_stats.tx_errors++;
/drivers/net/ethernet/broadcom/
H A Dbnx2.c6679 bnx2_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats) argument
6684 return net_stats;
6686 net_stats->rx_packets =
6691 net_stats->tx_packets =
6696 net_stats->rx_bytes =
6699 net_stats->tx_bytes =
6702 net_stats->multicast =
6705 net_stats->collisions =
6708 net_stats->rx_length_errors =
6712 net_stats
[all...]
/drivers/net/wireless/ath/ath6kl/
H A Dcore.h490 /* Lock to protect vif specific net_stats and flags */
528 struct net_device_stats net_stats; member in struct:ath6kl_vif

Completed in 1225 milliseconds