Home
last modified time | relevance | path

Searched refs:new_stats (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/amd/
Damd8111e.c870 struct net_device_stats *new_stats = &dev->stats; in amd8111e_get_stats() local
873 return new_stats; in amd8111e_get_stats()
877 new_stats->rx_packets = amd8111e_read_mib(mmio, rcv_broadcast_pkts)+ in amd8111e_get_stats()
882 new_stats->tx_packets = amd8111e_read_mib(mmio, xmt_packets); in amd8111e_get_stats()
885 new_stats->rx_bytes = amd8111e_read_mib(mmio, rcv_octets); in amd8111e_get_stats()
888 new_stats->tx_bytes = amd8111e_read_mib(mmio, xmt_octets); in amd8111e_get_stats()
892 new_stats->rx_errors = amd8111e_read_mib(mmio, rcv_undersize_pkts)+ in amd8111e_get_stats()
901 new_stats->tx_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
904 new_stats->rx_dropped = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
907 new_stats->tx_dropped = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
[all …]
/Linux-v4.19/net/openvswitch/
Dflow.c103 struct flow_stats *new_stats; in ovs_flow_stats_update() local
105 new_stats = in ovs_flow_stats_update()
112 if (likely(new_stats)) { in ovs_flow_stats_update()
113 new_stats->used = jiffies; in ovs_flow_stats_update()
114 new_stats->packet_count = 1; in ovs_flow_stats_update()
115 new_stats->byte_count = len; in ovs_flow_stats_update()
116 new_stats->tcp_flags = tcp_flags; in ovs_flow_stats_update()
117 spin_lock_init(&new_stats->lock); in ovs_flow_stats_update()
120 new_stats); in ovs_flow_stats_update()
/Linux-v4.19/drivers/staging/mt7621-eth/
Dsoc_mt7621.c134 .new_stats = 1,
Dmtk_eth_soc.h495 u32 new_stats:1; member
Dmtk_eth_soc.c441 if (mac->hw->soc->new_stats) { in mtk_stats_update_mac()