| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 419 stats64->tx_bytes = tx_bytes; in fbnic_get_stats64() 420 stats64->tx_packets = tx_packets; in fbnic_get_stats64() 421 stats64->tx_dropped = tx_dropped; in fbnic_get_stats64() 437 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64() 438 stats64->tx_packets += tx_packets; in fbnic_get_stats64() 439 stats64->tx_dropped += tx_dropped; in fbnic_get_stats64() 448 stats64->rx_bytes = rx_bytes; in fbnic_get_stats64() 449 stats64->rx_packets = rx_packets; in fbnic_get_stats64() 450 stats64->rx_dropped = rx_dropped; in fbnic_get_stats64() 466 stats64->rx_bytes += rx_bytes; in fbnic_get_stats64() [all …]
|
| /linux-6.15/drivers/net/fjes/ |
| H A 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),
|
| H A D | fjes_main.c | 635 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 637 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 645 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 647 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 674 adapter->stats64.tx_dropped += 1; in fjes_xmit_frame() 676 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 714 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 750 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 752 adapter->stats64.tx_bytes += 1; in fjes_xmit_frame() 984 adapter->stats64.rx_dropped += 1; in fjes_poll() [all …]
|
| H A D | fjes.h | 28 struct rtnl_link_stats64 stats64; member
|
| /linux-6.15/drivers/net/ethernet/cavium/liquidio/ |
| H A 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.15/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-6.15/drivers/net/ppp/ |
| H A D | ppp_generic.c | 1550 stats64->rx_packets = ppp->stats64.rx_packets; in ppp_get_stats64() 1551 stats64->rx_bytes = ppp->stats64.rx_bytes; in ppp_get_stats64() 1555 stats64->tx_packets = ppp->stats64.tx_packets; in ppp_get_stats64() 1556 stats64->tx_bytes = ppp->stats64.tx_bytes; in ppp_get_stats64() 1804 ++ppp->stats64.tx_packets; in ppp_send_frame() 2482 ++ppp->stats64.rx_packets; in ppp_receive_nonmp_frame() 2483 ppp->stats64.rx_bytes += skb->len - 2; in ppp_receive_nonmp_frame() 3313 st->p.ppp_ipackets = ppp->stats64.rx_packets; in ppp_get_stats() 3315 st->p.ppp_ibytes = ppp->stats64.rx_bytes; in ppp_get_stats() 3316 st->p.ppp_opackets = ppp->stats64.tx_packets; in ppp_get_stats() [all …]
|
| /linux-6.15/drivers/net/dsa/xrs700x/ |
| H A D | xrs700x.h | 23 struct rtnl_link_stats64 stats64; member
|
| H A D | xrs700x.c | 141 p->stats64 = stats; in xrs700x_read_port_counters() 181 *s = p->stats64; in xrs700x_get_stats64()
|
| /linux-6.15/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() 1850 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats64() local 1860 stats->rx_packets = stats64->rx_packets; in bcm_sysport_get_stats64() 1861 stats->rx_bytes = stats64->rx_bytes; in bcm_sysport_get_stats64()
|
| H A D | bcmsysport.h | 765 struct bcm_sysport_stats64 stats64; member
|
| /linux-6.15/drivers/net/usb/ |
| H A D | usbnet.c | 331 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in usbnet_skb_return() local 344 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in usbnet_skb_return() 345 u64_stats_inc(&stats64->rx_packets); in usbnet_skb_return() 346 u64_stats_add(&stats64->rx_bytes, skb->len); in usbnet_skb_return() 347 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in usbnet_skb_return() 1275 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in tx_complete() local 1278 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in tx_complete() 1279 u64_stats_add(&stats64->tx_packets, entry->packets); in tx_complete() 1280 u64_stats_add(&stats64->tx_bytes, entry->length); in tx_complete() 1281 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in tx_complete()
|
| /linux-6.15/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-6.15/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp_intf.c | 445 struct bcmasp_intf_stats64 *stats = &intf->stats64; in bcmasp_tx_reclaim() 512 struct bcmasp_intf_stats64 *stats = &intf->stats64; in bcmasp_rx_poll() 1156 lstats = &intf->stats64; in bcmasp_get_stats64()
|
| H A D | bcmasp.h | 343 struct bcmasp_intf_stats64 stats64; member
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | rt_link.yaml | 200 name: rtnl-link-stats64 1020 name: stats64 1022 struct: rtnl-link-stats64 2203 struct: rtnl-link-stats64 2432 - stats64
|
| /linux-6.15/tools/testing/selftests/net/forwarding/ |
| H A D | lib.sh | 798 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' 866 jq ".[0].stats64.$dir.$stat"
|
| /linux-6.15/drivers/net/ethernet/intel/igc/ |
| H A D | igc.h | 270 struct rtnl_link_stats64 stats64; member
|
| H A D | igc_ethtool.c | 818 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_ethtool_get_stats()
|
| H A D | igc_main.c | 5084 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_update_stats() 5423 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igc_get_stats64()
|
| /linux-6.15/drivers/net/ethernet/intel/igb/ |
| H A D | igb.h | 596 struct rtnl_link_stats64 stats64; member
|
| H A D | igb_ethtool.c | 2295 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_get_ethtool_stats()
|
| /linux-6.15/drivers/net/dsa/microchip/ |
| H A D | ksz_common.h | 46 struct rtnl_link_stats64 stats64; member
|
| H A D | ksz_common.c | 2100 stats = &mib->stats64; in ksz_r_mib_stats64() 2155 stats = &mib->stats64; in ksz88xx_r_mib_stats64() 2205 memcpy(s, &mib->stats64, sizeof(*s)); in ksz_get_stats64()
|
| /linux-6.15/net/core/ |
| H A D | dev.c | 11366 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64, in netdev_stats_to_stats64() argument 11371 u64 *dst = (u64 *)stats64; in netdev_stats_to_stats64() 11373 BUILD_BUG_ON(n > sizeof(*stats64) / sizeof(u64)); in netdev_stats_to_stats64() 11377 memset((char *)stats64 + n * sizeof(u64), 0, in netdev_stats_to_stats64() 11378 sizeof(*stats64) - n * sizeof(u64)); in netdev_stats_to_stats64()
|