Home
last modified time | relevance | path

Searched refs:stats64 (Results 1 – 19 of 19) sorted by relevance

/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c145 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->syncp); in qtnf_update_rx_stats()
941 stats64->rx_packets++; in qtnf_update_rx_stats()
[all …]
Dcore.h74 struct pcpu_sw_netstats __percpu *stats64; member
/drivers/net/usb/
Dqmi_wwan.c75 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()
227 struct pcpu_sw_netstats *stats64; in qmimux_rx_fixup() local
230 stats64 = this_cpu_ptr(priv->stats64); in qmimux_rx_fixup()
231 u64_stats_update_begin(&stats64->syncp); in qmimux_rx_fixup()
[all …]
Dusbnet.c307 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()
986 dev_fetch_sw_netstats(stats, dev->stats64); in usbnet_get_stats64()
1221 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->stats64); in tx_complete() local
1224 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in tx_complete()
1225 stats64->tx_packets += entry->packets; in tx_complete()
1226 stats64->tx_bytes += entry->length; in tx_complete()
[all …]
/drivers/net/fjes/
Dfjes_ethtool.c29 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),
Dfjes_main.c673 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.tx_packets += 1; in fjes_xmit_frame()
[all …]
Dfjes.h28 struct rtnl_link_stats64 stats64; member
/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c38 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()
/drivers/net/ppp/
Dppp_generic.c152 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.tx_bytes; in ppp_get_stats64()
1418 stats64->rx_errors = dev->stats.rx_errors; in ppp_get_stats64()
1419 stats64->tx_errors = dev->stats.tx_errors; in ppp_get_stats64()
1420 stats64->rx_dropped = dev->stats.rx_dropped; in ppp_get_stats64()
1421 stats64->tx_dropped = dev->stats.tx_dropped; in ppp_get_stats64()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c847 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()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c139 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()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c473 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 = &priv->stats64; in bcm_sysport_get_stats64() local
1877 stats->rx_packets = stats64->rx_packets; in bcm_sysport_get_stats64()
1878 stats->rx_bytes = stats64->rx_bytes; in bcm_sysport_get_stats64()
Dbcmsysport.h785 struct bcm_sysport_stats64 stats64; member
/drivers/net/ethernet/intel/igc/
Digc.h176 struct rtnl_link_stats64 stats64; member
Digc_ethtool.c807 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_ethtool_get_stats()
Digc_main.c3745 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_update_stats()
4057 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igc_get_stats64()
/drivers/net/ethernet/intel/igb/
Digb.h589 struct rtnl_link_stats64 stats64; member
Digb_ethtool.c2291 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_get_ethtool_stats()
Digb_main.c6517 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igb_get_stats64()
6581 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_update_stats()