Searched refs:stats64 (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/net/fjes/ |
D | fjes_ethtool.c | 44 FJES_STAT("rx_packets", stats64.rx_packets), 45 FJES_STAT("tx_packets", stats64.tx_packets), 46 FJES_STAT("rx_bytes", stats64.rx_bytes), 47 FJES_STAT("tx_bytes", stats64.rx_bytes), 48 FJES_STAT("rx_dropped", stats64.rx_dropped), 49 FJES_STAT("tx_dropped", stats64.tx_dropped),
|
D | fjes_main.c | 629 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 631 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 639 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 641 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 655 adapter->stats64.tx_carrier_errors += 1; in fjes_xmit_frame() 663 adapter->stats64.tx_dropped += 1; in fjes_xmit_frame() 665 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 696 adapter->stats64.tx_fifo_errors += 1; in fjes_xmit_frame() 699 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 716 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() [all …]
|
D | fjes.h | 43 struct rtnl_link_stats64 stats64; member
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_generic.c | 150 struct ppp_link_stats stats64; /* 64 bit network stats */ member 1087 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) in ppp_get_stats64() argument 1092 stats64->rx_packets = ppp->stats64.rx_packets; in ppp_get_stats64() 1093 stats64->rx_bytes = ppp->stats64.rx_bytes; in ppp_get_stats64() 1097 stats64->tx_packets = ppp->stats64.tx_packets; in ppp_get_stats64() 1098 stats64->tx_bytes = ppp->stats64.tx_bytes; in ppp_get_stats64() 1101 stats64->rx_errors = dev->stats.rx_errors; in ppp_get_stats64() 1102 stats64->tx_errors = dev->stats.tx_errors; in ppp_get_stats64() 1103 stats64->rx_dropped = dev->stats.rx_dropped; in ppp_get_stats64() 1104 stats64->tx_dropped = dev->stats.tx_dropped; in ppp_get_stats64() [all …]
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 860 u64 *stats64; in bnad_get_ethtool_stats() local 887 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats() 889 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 892 stats64 = (u64 *) &bnad->stats.bna_stats->hw_stats; in bnad_get_ethtool_stats() 897 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 903 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 907 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() 916 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 920 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb.h | 403 struct rtnl_link_stats64 stats64; member
|
D | igb_main.c | 1814 igb_update_stats(adapter, &adapter->stats64); in igb_down() 4358 igb_update_stats(adapter, &adapter->stats64); in igb_watchdog_task() 5143 igb_update_stats(adapter, &adapter->stats64); in igb_get_stats64() 5144 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igb_get_stats64()
|
D | igb_ethtool.c | 2273 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_get_ethtool_stats()
|
/linux-4.4.14/net/core/ |
D | dev.c | 6965 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64, in netdev_stats_to_stats64() argument 6969 BUILD_BUG_ON(sizeof(*stats64) != sizeof(*netdev_stats)); in netdev_stats_to_stats64() 6970 memcpy(stats64, netdev_stats, sizeof(*stats64)); in netdev_stats_to_stats64() 6972 size_t i, n = sizeof(*stats64) / sizeof(u64); in netdev_stats_to_stats64() 6974 u64 *dst = (u64 *)stats64; in netdev_stats_to_stats64() 6977 sizeof(*stats64) / sizeof(u64)); in netdev_stats_to_stats64()
|
/linux-4.4.14/include/linux/ |
D | netdevice.h | 3557 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64,
|