Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/fjes/
H A 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),
H A Dfjes_main.c638 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.tx_packets += 1; in fjes_xmit_frame()
[all …]
H A Dfjes.h28 struct rtnl_link_stats64 stats64; member
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A 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()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c799 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()
/openbmc/linux/drivers/net/ppp/
H A Dppp_generic.c153 struct ppp_link_stats stats64; /* 64 bit network stats */ member
1530 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) in ppp_get_stats64() argument
1535 stats64->rx_packets = ppp->stats64.rx_packets; in ppp_get_stats64()
1536 stats64->rx_bytes = ppp->stats64.rx_bytes; in ppp_get_stats64()
1540 stats64->tx_packets = ppp->stats64.tx_packets; in ppp_get_stats64()
1541 stats64->tx_bytes = ppp->stats64.tx_bytes; in ppp_get_stats64()
1544 stats64->rx_errors = dev->stats.rx_errors; in ppp_get_stats64()
1545 stats64->tx_errors = dev->stats.tx_errors; in ppp_get_stats64()
1546 stats64->rx_dropped = dev->stats.rx_dropped; in ppp_get_stats64()
1547 stats64->tx_dropped = dev->stats.tx_dropped; in ppp_get_stats64()
[all …]
/openbmc/linux/drivers/net/dsa/xrs700x/
H A Dxrs700x.h23 struct rtnl_link_stats64 stats64; member
H A Dxrs700x.c143 p->stats64 = stats; in xrs700x_read_port_counters()
183 *s = p->stats64; in xrs700x_get_stats64()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c485 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()
1884 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats64() local
1894 stats->rx_packets = stats64->rx_packets; in bcm_sysport_get_stats64()
1895 stats->rx_bytes = stats64->rx_bytes; in bcm_sysport_get_stats64()
H A Dbcmsysport.h765 struct bcm_sysport_stats64 stats64; member
/openbmc/linux/drivers/net/usb/
H A Dusbnet.c320 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in usbnet_skb_return() local
333 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in usbnet_skb_return()
334 u64_stats_inc(&stats64->rx_packets); in usbnet_skb_return()
335 u64_stats_add(&stats64->rx_bytes, skb->len); in usbnet_skb_return()
336 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in usbnet_skb_return()
1264 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->net->tstats); in tx_complete() local
1267 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in tx_complete()
1268 u64_stats_add(&stats64->tx_packets, entry->packets); in tx_complete()
1269 u64_stats_add(&stats64->tx_bytes, entry->length); in tx_complete()
1270 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in tx_complete()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c146 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()
/openbmc/qemu/util/
H A Dmeson.build59 util_ss.add(files('stats64.c'))
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c441 struct bcmasp_intf_stats64 *stats = &intf->stats64; in bcmasp_tx_reclaim()
508 struct bcmasp_intf_stats64 *stats = &intf->stats64; in bcmasp_rx_poll()
1165 lstats = &intf->stats64; in bcmasp_get_stats64()
H A Dbcmasp.h331 struct bcmasp_intf_stats64 stats64; member
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dnet_forwarding_lib.sh782 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]'
873 jq ".[0].stats64.$dir.$stat"
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dlib.sh782 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]'
873 jq ".[0].stats64.$dir.$stat"
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnet_forwarding_lib.sh782 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]'
873 jq ".[0].stats64.$dir.$stat"
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh782 | jq '.[]["stats64"]["'$dir'"]["'$stat'"]'
873 jq ".[0].stats64.$dir.$stat"
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc.h219 struct rtnl_link_stats64 stats64; member
H A Digc_ethtool.c819 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igc_ethtool_get_stats()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb.h589 struct rtnl_link_stats64 stats64; member
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.h40 struct rtnl_link_stats64 stats64; member
H A Dksz_common.c1648 stats = &mib->stats64; in ksz_r_mib_stats64()
1697 stats = &mib->stats64; in ksz88xx_r_mib_stats64()
1747 memcpy(s, &mib->stats64, sizeof(*s)); in ksz_get_stats64()
/openbmc/linux/net/core/
H A Ddev.c10561 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64, in netdev_stats_to_stats64() argument
10566 u64 *dst = (u64 *)stats64; in netdev_stats_to_stats64()
10568 BUILD_BUG_ON(n > sizeof(*stats64) / sizeof(u64)); in netdev_stats_to_stats64()
10572 memset((char *)stats64 + n * sizeof(u64), 0, in netdev_stats_to_stats64()
10573 sizeof(*stats64) - n * sizeof(u64)); in netdev_stats_to_stats64()

12