| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 401 struct rtnl_link_stats64 *stats64) in fbnic_get_stats64() argument 428 stats64->tx_bytes = tx_bytes; in fbnic_get_stats64() 429 stats64->tx_packets = tx_packets; in fbnic_get_stats64() 430 stats64->tx_dropped = tx_dropped; in fbnic_get_stats64() 446 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64() 447 stats64->tx_packets += tx_packets; in fbnic_get_stats64() 448 stats64->tx_dropped += tx_dropped; in fbnic_get_stats64() 479 stats64->rx_bytes = rx_bytes; in fbnic_get_stats64() 480 stats64->rx_packets = rx_packets; in fbnic_get_stats64() 481 stats64->rx_dropped = rx_dropped; in fbnic_get_stats64() [all …]
|
| /linux/drivers/net/fjes/ |
| H A D | fjes_main.c | 585 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 587 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 595 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 597 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 614 adapter->stats64.tx_carrier_errors += 1; in fjes_xmit_frame() 624 adapter->stats64.tx_dropped += 1; in fjes_xmit_frame() 626 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 661 adapter->stats64.tx_fifo_errors += 1; in fjes_xmit_frame() 664 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 683 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() [all …]
|
| H A D | fjes.h | 28 struct rtnl_link_stats64 stats64; member
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad_ethtool.c | 799 u64 *stats64; in bnad_get_ethtool_stats() local 837 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats() 839 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 842 stats64 = (u64 *) &bnad->stats.bna_stats->hw_stats; in bnad_get_ethtool_stats() 847 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 853 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 857 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() 866 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 870 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats()
|
| /linux/drivers/net/dsa/xrs700x/ |
| H A D | xrs700x.h | 23 struct rtnl_link_stats64 stats64; member
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcmsysport.c | 451 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats() local 461 stats64->tx_bytes = tx_bytes; in bcm_sysport_get_stats() 462 stats64->tx_packets = tx_packets; in bcm_sysport_get_stats() 473 p = (char *)stats64; in bcm_sysport_get_stats() 725 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_desc_rx() local 832 stats64->rx_packets++; in bcm_sysport_desc_rx() 833 stats64->rx_bytes += len; in bcm_sysport_desc_rx() 1849 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats64() local 1859 stats->rx_packets = stats64->rx_packets; in bcm_sysport_get_stats64() 1860 stats->rx_bytes = stats64->rx_bytes; in bcm_sysport_get_stats64()
|
| /linux/drivers/net/usb/ |
| H A D | usbnet.c | 328 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in usbnet_skb_return() local 341 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in usbnet_skb_return() 342 u64_stats_inc(&stats64->rx_packets); in usbnet_skb_return() 343 u64_stats_add(&stats64->rx_bytes, skb->len); in usbnet_skb_return() 344 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in usbnet_skb_return() 1301 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in tx_complete() local 1304 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in tx_complete() 1305 u64_stats_add(&stats64->tx_packets, entry->packets); in tx_complete() 1306 u64_stats_add(&stats64->tx_bytes, entry->length); in tx_complete() 1307 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in tx_complete()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rep.c | 157 struct rtnl_link_stats64 stats64 = {}; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 160 mlx5e_fold_sw_stats64(priv, &stats64); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 162 s->rx_packets = stats64.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 163 s->rx_bytes = stats64.rx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 164 s->tx_packets = stats64.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 165 s->tx_bytes = stats64.tx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 166 s->tx_queue_dropped = stats64.tx_dropped; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
|
| /linux/drivers/net/ppp/ |
| H A D | ppp_generic.c | 1535 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) in ppp_get_stats64() argument 1537 stats64->rx_errors = DEV_STATS_READ(dev, rx_errors); in ppp_get_stats64() 1538 stats64->tx_errors = DEV_STATS_READ(dev, tx_errors); in ppp_get_stats64() 1539 stats64->rx_dropped = DEV_STATS_READ(dev, rx_dropped); in ppp_get_stats64() 1540 stats64->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in ppp_get_stats64() 1541 stats64->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in ppp_get_stats64() 1542 dev_fetch_sw_netstats(stats64, dev->tstats); in ppp_get_stats64()
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | lib.sh | 954 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' 1029 jq ".[0].stats64.$dir.$stat"
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc.h | 278 struct rtnl_link_stats64 stats64; member
|
| H A D | igc_ethtool.c | 821 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_ethtool_get_stats()
|
| H A D | igc_main.c | 5151 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_update_stats() 5492 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igc_get_stats64()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb.h | 598 struct rtnl_link_stats64 stats64; member
|
| H A D | igb_ethtool.c | 2292 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_get_ethtool_stats()
|
| H A D | igb_main.c | 6694 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igb_get_stats64() 6758 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_update_stats()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.h | 88 struct rtnl_link_stats64 stats64; member
|
| H A D | ksz_common.c | 1911 stats = &mib->stats64; in ksz_r_mib_stats64() 1961 memcpy(s, &mib->stats64, sizeof(*s)); in ksz_get_stats64()
|
| H A D | ksz8.c | 2344 stats = &mib->stats64; in ksz88xx_r_mib_stats64()
|
| /linux/net/core/ |
| H A D | dev.c | 11877 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64, in netdev_stats_to_stats64() argument 11882 u64 *dst = (u64 *)stats64; in netdev_stats_to_stats64() 11884 BUILD_BUG_ON(n > sizeof(*stats64) / sizeof(u64)); in netdev_stats_to_stats64() 11888 memset((char *)stats64 + n * sizeof(u64), 0, in netdev_stats_to_stats64() 11889 sizeof(*stats64) - n * sizeof(u64)); in netdev_stats_to_stats64()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 5212 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64,
|