Searched refs:new_stats (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/amd/ |
H A D | amd8111e.c | 890 struct net_device_stats *new_stats = &dev->stats; amd8111e_get_stats() local 893 return new_stats; amd8111e_get_stats() 897 new_stats->rx_packets = amd8111e_read_mib(mmio, rcv_broadcast_pkts)+ amd8111e_get_stats() 902 new_stats->tx_packets = amd8111e_read_mib(mmio, xmt_packets); amd8111e_get_stats() 905 new_stats->rx_bytes = amd8111e_read_mib(mmio, rcv_octets); amd8111e_get_stats() 908 new_stats->tx_bytes = amd8111e_read_mib(mmio, xmt_octets); amd8111e_get_stats() 912 new_stats->rx_errors = amd8111e_read_mib(mmio, rcv_undersize_pkts)+ amd8111e_get_stats() 921 new_stats->tx_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); amd8111e_get_stats() 924 new_stats->rx_dropped = amd8111e_read_mib(mmio, rcv_miss_pkts); amd8111e_get_stats() 927 new_stats->tx_dropped = amd8111e_read_mib(mmio, xmt_underrun_pkts); amd8111e_get_stats() 930 new_stats->multicast = amd8111e_read_mib(mmio, rcv_multicast_pkts); amd8111e_get_stats() 933 new_stats->collisions = amd8111e_read_mib(mmio, xmt_collisions); amd8111e_get_stats() 936 new_stats->rx_length_errors = amd8111e_get_stats() 941 new_stats->rx_over_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); amd8111e_get_stats() 944 new_stats->rx_crc_errors = amd8111e_read_mib(mmio, rcv_fcs_errors); amd8111e_get_stats() 947 new_stats->rx_frame_errors = amd8111e_get_stats() 951 new_stats->rx_fifo_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); amd8111e_get_stats() 954 new_stats->rx_missed_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); amd8111e_get_stats() 957 new_stats->tx_aborted_errors = amd8111e_get_stats() 961 new_stats->tx_carrier_errors = amd8111e_get_stats() 965 new_stats->tx_fifo_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); amd8111e_get_stats() 968 new_stats->tx_window_errors = amd8111e_get_stats() 976 return new_stats; amd8111e_get_stats()
|
/linux-4.4.14/net/openvswitch/ |
H A D | flow.c | 101 struct flow_stats *new_stats; ovs_flow_stats_update() local 103 new_stats = ovs_flow_stats_update() 110 if (likely(new_stats)) { ovs_flow_stats_update() 111 new_stats->used = jiffies; ovs_flow_stats_update() 112 new_stats->packet_count = 1; ovs_flow_stats_update() 113 new_stats->byte_count = len; ovs_flow_stats_update() 114 new_stats->tcp_flags = tcp_flags; ovs_flow_stats_update() 115 spin_lock_init(&new_stats->lock); ovs_flow_stats_update() 118 new_stats); ovs_flow_stats_update()
|
Completed in 99 milliseconds