Home
last modified time | relevance | path

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

/drivers/net/fjes/
Dfjes_ethtool.c44 FJES_STAT("rx_packets", stats64.rx_packets),
45 FJES_STAT("tx_packets", stats64.tx_packets),
46 FJES_STAT("rx_bytes", stats64.rx_bytes),
47 FJES_STAT("tx_bytes", stats64.rx_bytes),
48 FJES_STAT("rx_dropped", stats64.rx_dropped),
49 FJES_STAT("tx_dropped", stats64.tx_dropped),
Dfjes_main.c688 adapter->stats64.tx_packets += 1; in fjes_xmit_frame()
690 adapter->stats64.tx_bytes += len; in fjes_xmit_frame()
698 adapter->stats64.tx_packets += 1; in fjes_xmit_frame()
700 adapter->stats64.tx_bytes += len; in fjes_xmit_frame()
717 adapter->stats64.tx_carrier_errors += 1; in fjes_xmit_frame()
727 adapter->stats64.tx_dropped += 1; in fjes_xmit_frame()
729 adapter->stats64.tx_errors += 1; in fjes_xmit_frame()
764 adapter->stats64.tx_fifo_errors += 1; in fjes_xmit_frame()
767 adapter->stats64.tx_errors += 1; in fjes_xmit_frame()
786 adapter->stats64.tx_packets += 1; in fjes_xmit_frame()
[all …]
Dfjes.h43 struct rtnl_link_stats64 stats64; member
/drivers/net/usb/
Dusbnet.c322 struct pcpu_sw_netstats *stats64 = this_cpu_ptr(dev->stats64); in usbnet_skb_return() local
335 flags = u64_stats_update_begin_irqsave(&stats64->syncp); in usbnet_skb_return()
336 stats64->rx_packets++; in usbnet_skb_return()
337 stats64->rx_bytes += skb->len; in usbnet_skb_return()
338 u64_stats_update_end_irqrestore(&stats64->syncp, flags); in usbnet_skb_return()
1009 struct pcpu_sw_netstats *stats64; in usbnet_get_stats64() local
1013 stats64 = per_cpu_ptr(dev->stats64, cpu); in usbnet_get_stats64()
1016 start = u64_stats_fetch_begin_irq(&stats64->syncp); in usbnet_get_stats64()
1017 rx_packets = stats64->rx_packets; in usbnet_get_stats64()
1018 rx_bytes = stats64->rx_bytes; in usbnet_get_stats64()
[all …]
/drivers/net/ppp/
Dppp_generic.c153 struct ppp_link_stats stats64; /* 64 bit network stats */ member
1320 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) in ppp_get_stats64() argument
1325 stats64->rx_packets = ppp->stats64.rx_packets; in ppp_get_stats64()
1326 stats64->rx_bytes = ppp->stats64.rx_bytes; in ppp_get_stats64()
1330 stats64->tx_packets = ppp->stats64.tx_packets; in ppp_get_stats64()
1331 stats64->tx_bytes = ppp->stats64.tx_bytes; in ppp_get_stats64()
1334 stats64->rx_errors = dev->stats.rx_errors; in ppp_get_stats64()
1335 stats64->tx_errors = dev->stats.tx_errors; in ppp_get_stats64()
1336 stats64->rx_dropped = dev->stats.rx_dropped; in ppp_get_stats64()
1337 stats64->tx_dropped = dev->stats.tx_dropped; in ppp_get_stats64()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c856 u64 *stats64; in bnad_get_ethtool_stats() local
894 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats()
896 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats()
899 stats64 = (u64 *) &bnad->stats.bna_stats->hw_stats; in bnad_get_ethtool_stats()
904 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats()
910 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats()
914 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats()
923 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats()
927 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c464 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats() local
474 stats64->tx_bytes = tx_bytes; in bcm_sysport_get_stats()
475 stats64->tx_packets = tx_packets; in bcm_sysport_get_stats()
486 p = (char *)stats64; in bcm_sysport_get_stats()
703 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_desc_rx() local
808 stats64->rx_packets++; in bcm_sysport_desc_rx()
809 stats64->rx_bytes += len; in bcm_sysport_desc_rx()
1739 struct bcm_sysport_stats64 *stats64 = &priv->stats64; in bcm_sysport_get_stats64() local
1749 stats->rx_packets = stats64->rx_packets; in bcm_sysport_get_stats64()
1750 stats->rx_bytes = stats64->rx_bytes; in bcm_sysport_get_stats64()
Dbcmsysport.h767 struct bcm_sysport_stats64 stats64; member
/drivers/net/ethernet/intel/igb/
Digb.h525 struct rtnl_link_stats64 stats64; member
Digb_ethtool.c2312 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_get_ethtool_stats()
Digb_main.c5507 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igb_get_stats64()
5557 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_update_stats()