/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | core.c | 145 if (!vif->stats64) in qtnf_netdev_get_stats64() 148 dev_fetch_sw_netstats(stats, vif->stats64); in qtnf_netdev_get_stats64() 451 vif->stats64 = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats); in qtnf_core_mac_alloc() 452 if (!vif->stats64) in qtnf_core_mac_alloc() 534 free_percpu(vif->stats64); in qtnf_core_mac_detach() 930 struct pcpu_sw_netstats *stats64; in qtnf_update_rx_stats() local 932 if (unlikely(!vif || !vif->stats64)) { in qtnf_update_rx_stats() 938 stats64 = this_cpu_ptr(vif->stats64); in qtnf_update_rx_stats() 940 u64_stats_update_begin(&stats64 in qtnf_update_rx_stats() 950 struct pcpu_sw_netstats *stats64; qtnf_update_tx_stats() local [all...] |
H A D | core.h | 74 struct pcpu_sw_netstats __percpu *stats64; member
|
/kernel/linux/linux-5.10/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 | 673 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 675 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 683 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 685 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 702 adapter->stats64.tx_carrier_errors += 1; in fjes_xmit_frame() 712 adapter->stats64.tx_dropped += 1; in fjes_xmit_frame() 714 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 749 adapter->stats64.tx_fifo_errors += 1; in fjes_xmit_frame() 752 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 771 adapter->stats64 in fjes_xmit_frame() [all...] |
H A D | fjes.h | 28 struct rtnl_link_stats64 stats64; member
|
/kernel/linux/linux-6.6/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 | 638 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 640 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 648 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 650 adapter->stats64.tx_bytes += len; in fjes_xmit_frame() 667 adapter->stats64.tx_carrier_errors += 1; in fjes_xmit_frame() 677 adapter->stats64.tx_dropped += 1; in fjes_xmit_frame() 679 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 714 adapter->stats64.tx_fifo_errors += 1; in fjes_xmit_frame() 717 adapter->stats64.tx_errors += 1; in fjes_xmit_frame() 736 adapter->stats64 in fjes_xmit_frame() [all...] |
H A D | fjes.h | 28 struct rtnl_link_stats64 stats64; member
|
/kernel/linux/linux-5.10/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() 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() 183 lio_vf_rep_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) lio_vf_rep_get_stats64() argument
|
/kernel/linux/linux-6.6/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() 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() 183 lio_vf_rep_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) lio_vf_rep_get_stats64() argument
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | qmi_wwan.c | 75 struct pcpu_sw_netstats __percpu *stats64; member 112 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(priv->stats64); in qmimux_start_xmit() local 114 u64_stats_update_begin(&stats64->syncp); in qmimux_start_xmit() 115 stats64->tx_packets++; in qmimux_start_xmit() 116 stats64->tx_bytes += len; in qmimux_start_xmit() 117 u64_stats_update_end(&stats64->syncp); in qmimux_start_xmit() 131 dev_fetch_sw_netstats(stats, priv->stats64); in qmimux_get_stats64() 228 struct pcpu_sw_netstats *stats64; in qmimux_rx_fixup() local 231 stats64 in qmimux_rx_fixup() [all...] |
H A D | usbnet.c | 307 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->stats64); in usbnet_skb_return() local 320 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in usbnet_skb_return() 321 stats64->rx_packets++; in usbnet_skb_return() 322 stats64->rx_bytes += skb->len; in usbnet_skb_return() 323 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in usbnet_skb_return() 987 dev_fetch_sw_netstats(stats, dev->stats64); in usbnet_get_stats64() 1222 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->stats64); in tx_complete() 1225 flags = u64_stats_update_begin_irqsave(&stats64 in tx_complete() 1221 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->stats64); tx_complete() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ppp/ |
H A D | ppp_generic.c | 152 struct ppp_link_stats stats64; /* 64 bit network stats */ member 1404 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) in ppp_get_stats64() argument 1409 stats64->rx_packets = ppp->stats64.rx_packets; in ppp_get_stats64() 1410 stats64->rx_bytes = ppp->stats64.rx_bytes; in ppp_get_stats64() 1414 stats64->tx_packets = ppp->stats64.tx_packets; in ppp_get_stats64() 1415 stats64->tx_bytes = ppp->stats64 in ppp_get_stats64() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_ethtool.c | 847 u64 *stats64; in bnad_get_ethtool_stats() local 885 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats() 887 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 890 stats64 = (u64 *) &bnad->stats.bna_stats->hw_stats; in bnad_get_ethtool_stats() 895 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 901 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 905 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() 914 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 918 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A 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 in ppp_get_stats64() [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/xrs700x/ |
H A D | xrs700x.h | 23 struct rtnl_link_stats64 stats64; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 139 struct rtnl_link_stats64 stats64 = {}; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 142 mlx5e_fold_sw_stats64(priv, &stats64); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 144 s->rx_packets = stats64.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 145 s->rx_bytes = stats64.rx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 146 s->tx_packets = stats64.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 147 s->tx_bytes = stats64.tx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 148 s->tx_queue_dropped = stats64.tx_dropped; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 473 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats() local 483 stats64->tx_bytes = tx_bytes; in bcm_sysport_get_stats() 484 stats64->tx_packets = tx_packets; in bcm_sysport_get_stats() 495 p = (char *)stats64; in bcm_sysport_get_stats() 743 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_desc_rx() local 850 stats64->rx_packets++; in bcm_sysport_desc_rx() 851 stats64->rx_bytes += len; in bcm_sysport_desc_rx() 1867 struct bcm_sysport_stats64 *stats64 in bcm_sysport_get_stats64() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 485 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats() local 495 stats64->tx_bytes = tx_bytes; in bcm_sysport_get_stats() 496 stats64->tx_packets = tx_packets; in bcm_sysport_get_stats() 507 p = (char *)stats64; in bcm_sysport_get_stats() 759 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_desc_rx() local 866 stats64->rx_packets++; in bcm_sysport_desc_rx() 867 stats64->rx_bytes += len; in bcm_sysport_desc_rx() 1883 struct bcm_sysport_stats64 *stats64 in bcm_sysport_get_stats64() local [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A 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() 1250 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in tx_complete() local 1253 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in tx_complete() 1254 u64_stats_add(&stats64->tx_packets, entry->packets); in tx_complete() 1255 u64_stats_add(&stats64->tx_bytes, entry->length); in tx_complete() 1256 u64_stats_update_end_irqrestore(&stats64 in tx_complete() [all...] |
/kernel/linux/linux-5.10/net/dsa/ |
H A D | slave.c | 581 s = this_cpu_ptr(p->stats64); in dsa_slave_xmit() 726 s = per_cpu_ptr(p->stats64, i); in dsa_slave_get_ethtool_stats() 1263 dev_fetch_sw_netstats(stats, p->stats64); in dsa_slave_get_stats64() 1849 p->stats64 = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats); in dsa_slave_create() 1850 if (!p->stats64) { in dsa_slave_create() 1912 free_percpu(p->stats64); in dsa_slave_create() 1934 free_percpu(p->stats64); in dsa_slave_destroy()
|
H A D | dsa_priv.h | 81 struct pcpu_sw_netstats __percpu *stats64; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 146 struct rtnl_link_stats64 stats64 = {}; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 149 mlx5e_fold_sw_stats64(priv, &stats64); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 151 s->rx_packets = stats64.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 152 s->rx_bytes = stats64.rx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 153 s->tx_packets = stats64.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 154 s->tx_bytes = stats64.tx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 155 s->tx_queue_dropped = stats64.tx_dropped; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | usbnet.h | 68 struct pcpu_sw_netstats __percpu *stats64; member
|