/linux-6.1.9/drivers/net/fjes/ |
D | fjes_ethtool.c | 29 FJES_STAT("rx_packets", stats64.rx_packets), 30 FJES_STAT("tx_packets", stats64.tx_packets), 31 FJES_STAT("rx_bytes", stats64.rx_bytes), 32 FJES_STAT("tx_bytes", stats64.rx_bytes), 33 FJES_STAT("rx_dropped", stats64.rx_dropped), 34 FJES_STAT("tx_dropped", stats64.tx_dropped),
|
D | fjes_main.c | 640 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 642 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 650 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 652 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 669 adapter->stats64.tx_carrier_errors += 1; in fjes_xmit_frame() 679 adapter->stats64.tx_dropped += 1; in fjes_xmit_frame() 681 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 716 adapter->stats64.tx_fifo_errors += 1; in fjes_xmit_frame() 719 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 738 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() [all …]
|
D | fjes.h | 28 struct rtnl_link_stats64 stats64; member
|
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_rep.c | 38 struct rtnl_link_stats64 *stats64); 184 struct rtnl_link_stats64 *stats64) in lio_vf_rep_get_stats64() argument 189 stats64->tx_packets = vf_rep->stats.rx_packets; in lio_vf_rep_get_stats64() 190 stats64->tx_bytes = vf_rep->stats.rx_bytes; in lio_vf_rep_get_stats64() 191 stats64->tx_dropped = vf_rep->stats.rx_dropped; in lio_vf_rep_get_stats64() 193 stats64->rx_packets = vf_rep->stats.tx_packets; in lio_vf_rep_get_stats64() 194 stats64->rx_bytes = vf_rep->stats.tx_bytes; in lio_vf_rep_get_stats64() 195 stats64->rx_dropped = vf_rep->stats.tx_dropped; in lio_vf_rep_get_stats64()
|
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
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-6.1.9/drivers/net/ppp/ |
D | ppp_generic.c | 152 struct ppp_link_stats stats64; /* 64 bit network stats */ member 1515 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) in ppp_get_stats64() argument 1520 stats64->rx_packets = ppp->stats64.rx_packets; in ppp_get_stats64() 1521 stats64->rx_bytes = ppp->stats64.rx_bytes; in ppp_get_stats64() 1525 stats64->tx_packets = ppp->stats64.tx_packets; in ppp_get_stats64() 1526 stats64->tx_bytes = ppp->stats64.tx_bytes; in ppp_get_stats64() 1529 stats64->rx_errors = dev->stats.rx_errors; in ppp_get_stats64() 1530 stats64->tx_errors = dev->stats.tx_errors; in ppp_get_stats64() 1531 stats64->rx_dropped = dev->stats.rx_dropped; in ppp_get_stats64() 1532 stats64->tx_dropped = dev->stats.tx_dropped; in ppp_get_stats64() [all …]
|
/linux-6.1.9/drivers/net/dsa/xrs700x/ |
D | xrs700x.h | 23 struct rtnl_link_stats64 stats64; member
|
D | xrs700x.c | 143 p->stats64 = stats; in xrs700x_read_port_counters() 183 *s = p->stats64; in xrs700x_get_stats64()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 133 struct rtnl_link_stats64 stats64 = {}; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 136 mlx5e_fold_sw_stats64(priv, &stats64); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 138 s->rx_packets = stats64.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 139 s->rx_bytes = stats64.rx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 140 s->tx_packets = stats64.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 141 s->tx_bytes = stats64.tx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 142 s->tx_queue_dropped = stats64.tx_dropped; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 474 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats() local 484 stats64->tx_bytes = tx_bytes; in bcm_sysport_get_stats() 485 stats64->tx_packets = tx_packets; in bcm_sysport_get_stats() 496 p = (char *)stats64; in bcm_sysport_get_stats() 748 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_desc_rx() local 855 stats64->rx_packets++; in bcm_sysport_desc_rx() 856 stats64->rx_bytes += len; in bcm_sysport_desc_rx() 1872 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats64() local 1882 stats->rx_packets = stats64->rx_packets; in bcm_sysport_get_stats64() 1883 stats->rx_bytes = stats64->rx_bytes; in bcm_sysport_get_stats64()
|
D | bcmsysport.h | 754 struct bcm_sysport_stats64 stats64; member
|
/linux-6.1.9/drivers/net/usb/ |
D | usbnet.c | 323 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in usbnet_skb_return() local 336 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in usbnet_skb_return() 337 u64_stats_inc(&stats64->rx_packets); in usbnet_skb_return() 338 u64_stats_add(&stats64->rx_bytes, skb->len); in usbnet_skb_return() 339 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in usbnet_skb_return() 1252 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in tx_complete() local 1255 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in tx_complete() 1256 u64_stats_add(&stats64->tx_packets, entry->packets); in tx_complete() 1257 u64_stats_add(&stats64->tx_bytes, entry->length); in tx_complete() 1258 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in tx_complete()
|
/linux-6.1.9/tools/testing/selftests/drivers/net/dsa/ |
D | lib.sh | 760 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' 839 jq ".[0].stats64.$dir.$stat"
|
/linux-6.1.9/tools/testing/selftests/drivers/net/bonding/ |
D | net_forwarding_lib.sh | 760 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' 839 jq ".[0].stats64.$dir.$stat"
|
/linux-6.1.9/tools/testing/selftests/drivers/net/team/ |
D | net_forwarding_lib.sh | 760 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' 839 jq ".[0].stats64.$dir.$stat"
|
/linux-6.1.9/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 760 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' 839 jq ".[0].stats64.$dir.$stat"
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc.h | 193 struct rtnl_link_stats64 stats64; member
|
D | igc_ethtool.c | 818 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_ethtool_get_stats()
|
D | igc_main.c | 4769 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_update_stats() 5087 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igc_get_stats64()
|
/linux-6.1.9/drivers/net/dsa/microchip/ |
D | ksz_common.h | 30 struct rtnl_link_stats64 stats64; member
|
D | ksz_common.c | 1519 stats = &mib->stats64; in ksz_r_mib_stats64() 1569 memcpy(s, &mib->stats64, sizeof(*s)); in ksz_get_stats64()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb.h | 589 struct rtnl_link_stats64 stats64; member
|
D | igb_ethtool.c | 2292 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_get_ethtool_stats()
|
/linux-6.1.9/net/core/ |
D | dev.c | 10379 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64, in netdev_stats_to_stats64() argument 10384 u64 *dst = (u64 *)stats64; in netdev_stats_to_stats64() 10386 BUILD_BUG_ON(n > sizeof(*stats64) / sizeof(u64)); in netdev_stats_to_stats64() 10390 memset((char *)stats64 + n * sizeof(u64), 0, in netdev_stats_to_stats64() 10391 sizeof(*stats64) - n * sizeof(u64)); in netdev_stats_to_stats64()
|
/linux-6.1.9/include/linux/ |
D | netdevice.h | 4636 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64,
|