Searched refs:new_stats (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_mirror.c | 107 struct rtnl_link_stats64 new_stats; local 111 lan966x_stats_get(port->dev, &new_stats); 115 new_stats.rx_bytes - old_stats->bytes, 116 new_stats.rx_packets - old_stats->pkts, 117 new_stats.rx_dropped - old_stats->drops, 121 old_stats->bytes = new_stats.rx_bytes; 122 old_stats->pkts = new_stats.rx_packets; 123 old_stats->drops = new_stats.rx_dropped; 127 new_stats.tx_bytes - old_stats->bytes, 128 new_stats [all...] |
H A D | lan966x_police.c | 140 struct rtnl_link_stats64 new_stats; local 172 lan966x_stats_get(port->dev, &new_stats); 173 old_stats->bytes = new_stats.rx_bytes; 174 old_stats->pkts = new_stats.rx_packets; 175 old_stats->drops = new_stats.rx_dropped; 209 struct rtnl_link_stats64 new_stats; local 213 lan966x_stats_get(port->dev, &new_stats); 216 new_stats.rx_bytes - old_stats->bytes, 217 new_stats.rx_packets - old_stats->pkts, 218 new_stats [all...] |
/linux-master/drivers/net/ethernet/amd/ |
H A D | amd8111e.c | 860 struct net_device_stats *new_stats = &dev->stats; local 863 return new_stats; 867 new_stats->rx_packets = amd8111e_read_mib(mmio, rcv_broadcast_pkts)+ 872 new_stats->tx_packets = amd8111e_read_mib(mmio, xmt_packets); 875 new_stats->rx_bytes = amd8111e_read_mib(mmio, rcv_octets); 878 new_stats->tx_bytes = amd8111e_read_mib(mmio, xmt_octets); 882 new_stats->rx_errors = amd8111e_read_mib(mmio, rcv_undersize_pkts)+ 891 new_stats->tx_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); 894 new_stats->rx_dropped = amd8111e_read_mib(mmio, rcv_miss_pkts); 897 new_stats [all...] |
/linux-master/net/openvswitch/ |
H A D | flow.c | 92 struct sw_flow_stats *new_stats; local 94 new_stats = 101 if (likely(new_stats)) { 102 new_stats->used = jiffies; 103 new_stats->packet_count = 1; 104 new_stats->byte_count = len; 105 new_stats->tcp_flags = tcp_flags; 106 spin_lock_init(&new_stats->lock); 109 new_stats);
|
Completed in 150 milliseconds