Lines Matching refs:stats

1061 	struct qed_eth_stats stats;  in qede_fill_by_demand_stats()  local
1063 edev->ops->get_vport_stats(edev->cdev, &stats); in qede_fill_by_demand_stats()
1064 edev->stats.no_buff_discards = stats.no_buff_discards; in qede_fill_by_demand_stats()
1065 edev->stats.rx_ucast_bytes = stats.rx_ucast_bytes; in qede_fill_by_demand_stats()
1066 edev->stats.rx_mcast_bytes = stats.rx_mcast_bytes; in qede_fill_by_demand_stats()
1067 edev->stats.rx_bcast_bytes = stats.rx_bcast_bytes; in qede_fill_by_demand_stats()
1068 edev->stats.rx_ucast_pkts = stats.rx_ucast_pkts; in qede_fill_by_demand_stats()
1069 edev->stats.rx_mcast_pkts = stats.rx_mcast_pkts; in qede_fill_by_demand_stats()
1070 edev->stats.rx_bcast_pkts = stats.rx_bcast_pkts; in qede_fill_by_demand_stats()
1071 edev->stats.mftag_filter_discards = stats.mftag_filter_discards; in qede_fill_by_demand_stats()
1072 edev->stats.mac_filter_discards = stats.mac_filter_discards; in qede_fill_by_demand_stats()
1074 edev->stats.tx_ucast_bytes = stats.tx_ucast_bytes; in qede_fill_by_demand_stats()
1075 edev->stats.tx_mcast_bytes = stats.tx_mcast_bytes; in qede_fill_by_demand_stats()
1076 edev->stats.tx_bcast_bytes = stats.tx_bcast_bytes; in qede_fill_by_demand_stats()
1077 edev->stats.tx_ucast_pkts = stats.tx_ucast_pkts; in qede_fill_by_demand_stats()
1078 edev->stats.tx_mcast_pkts = stats.tx_mcast_pkts; in qede_fill_by_demand_stats()
1079 edev->stats.tx_bcast_pkts = stats.tx_bcast_pkts; in qede_fill_by_demand_stats()
1080 edev->stats.tx_err_drop_pkts = stats.tx_err_drop_pkts; in qede_fill_by_demand_stats()
1081 edev->stats.coalesced_pkts = stats.tpa_coalesced_pkts; in qede_fill_by_demand_stats()
1082 edev->stats.coalesced_events = stats.tpa_coalesced_events; in qede_fill_by_demand_stats()
1083 edev->stats.coalesced_aborts_num = stats.tpa_aborts_num; in qede_fill_by_demand_stats()
1084 edev->stats.non_coalesced_pkts = stats.tpa_not_coalesced_pkts; in qede_fill_by_demand_stats()
1085 edev->stats.coalesced_bytes = stats.tpa_coalesced_bytes; in qede_fill_by_demand_stats()
1087 edev->stats.rx_64_byte_packets = stats.rx_64_byte_packets; in qede_fill_by_demand_stats()
1088 edev->stats.rx_127_byte_packets = stats.rx_127_byte_packets; in qede_fill_by_demand_stats()
1089 edev->stats.rx_255_byte_packets = stats.rx_255_byte_packets; in qede_fill_by_demand_stats()
1090 edev->stats.rx_511_byte_packets = stats.rx_511_byte_packets; in qede_fill_by_demand_stats()
1091 edev->stats.rx_1023_byte_packets = stats.rx_1023_byte_packets; in qede_fill_by_demand_stats()
1092 edev->stats.rx_1518_byte_packets = stats.rx_1518_byte_packets; in qede_fill_by_demand_stats()
1093 edev->stats.rx_1522_byte_packets = stats.rx_1522_byte_packets; in qede_fill_by_demand_stats()
1094 edev->stats.rx_2047_byte_packets = stats.rx_2047_byte_packets; in qede_fill_by_demand_stats()
1095 edev->stats.rx_4095_byte_packets = stats.rx_4095_byte_packets; in qede_fill_by_demand_stats()
1096 edev->stats.rx_9216_byte_packets = stats.rx_9216_byte_packets; in qede_fill_by_demand_stats()
1097 edev->stats.rx_16383_byte_packets = stats.rx_16383_byte_packets; in qede_fill_by_demand_stats()
1098 edev->stats.rx_crc_errors = stats.rx_crc_errors; in qede_fill_by_demand_stats()
1099 edev->stats.rx_mac_crtl_frames = stats.rx_mac_crtl_frames; in qede_fill_by_demand_stats()
1100 edev->stats.rx_pause_frames = stats.rx_pause_frames; in qede_fill_by_demand_stats()
1101 edev->stats.rx_pfc_frames = stats.rx_pfc_frames; in qede_fill_by_demand_stats()
1102 edev->stats.rx_align_errors = stats.rx_align_errors; in qede_fill_by_demand_stats()
1103 edev->stats.rx_carrier_errors = stats.rx_carrier_errors; in qede_fill_by_demand_stats()
1104 edev->stats.rx_oversize_packets = stats.rx_oversize_packets; in qede_fill_by_demand_stats()
1105 edev->stats.rx_jabbers = stats.rx_jabbers; in qede_fill_by_demand_stats()
1106 edev->stats.rx_undersize_packets = stats.rx_undersize_packets; in qede_fill_by_demand_stats()
1107 edev->stats.rx_fragments = stats.rx_fragments; in qede_fill_by_demand_stats()
1108 edev->stats.tx_64_byte_packets = stats.tx_64_byte_packets; in qede_fill_by_demand_stats()
1109 edev->stats.tx_65_to_127_byte_packets = stats.tx_65_to_127_byte_packets; in qede_fill_by_demand_stats()
1110 edev->stats.tx_128_to_255_byte_packets = in qede_fill_by_demand_stats()
1111 stats.tx_128_to_255_byte_packets; in qede_fill_by_demand_stats()
1112 edev->stats.tx_256_to_511_byte_packets = in qede_fill_by_demand_stats()
1113 stats.tx_256_to_511_byte_packets; in qede_fill_by_demand_stats()
1114 edev->stats.tx_512_to_1023_byte_packets = in qede_fill_by_demand_stats()
1115 stats.tx_512_to_1023_byte_packets; in qede_fill_by_demand_stats()
1116 edev->stats.tx_1024_to_1518_byte_packets = in qede_fill_by_demand_stats()
1117 stats.tx_1024_to_1518_byte_packets; in qede_fill_by_demand_stats()
1118 edev->stats.tx_1519_to_2047_byte_packets = in qede_fill_by_demand_stats()
1119 stats.tx_1519_to_2047_byte_packets; in qede_fill_by_demand_stats()
1120 edev->stats.tx_2048_to_4095_byte_packets = in qede_fill_by_demand_stats()
1121 stats.tx_2048_to_4095_byte_packets; in qede_fill_by_demand_stats()
1122 edev->stats.tx_4096_to_9216_byte_packets = in qede_fill_by_demand_stats()
1123 stats.tx_4096_to_9216_byte_packets; in qede_fill_by_demand_stats()
1124 edev->stats.tx_9217_to_16383_byte_packets = in qede_fill_by_demand_stats()
1125 stats.tx_9217_to_16383_byte_packets; in qede_fill_by_demand_stats()
1126 edev->stats.tx_pause_frames = stats.tx_pause_frames; in qede_fill_by_demand_stats()
1127 edev->stats.tx_pfc_frames = stats.tx_pfc_frames; in qede_fill_by_demand_stats()
1128 edev->stats.tx_lpi_entry_count = stats.tx_lpi_entry_count; in qede_fill_by_demand_stats()
1129 edev->stats.tx_total_collisions = stats.tx_total_collisions; in qede_fill_by_demand_stats()
1130 edev->stats.brb_truncates = stats.brb_truncates; in qede_fill_by_demand_stats()
1131 edev->stats.brb_discards = stats.brb_discards; in qede_fill_by_demand_stats()
1132 edev->stats.tx_mac_ctrl_frames = stats.tx_mac_ctrl_frames; in qede_fill_by_demand_stats()
1137 struct rtnl_link_stats64 *stats) in qede_get_stats64() argument
1143 stats->rx_packets = edev->stats.rx_ucast_pkts + in qede_get_stats64()
1144 edev->stats.rx_mcast_pkts + in qede_get_stats64()
1145 edev->stats.rx_bcast_pkts; in qede_get_stats64()
1146 stats->tx_packets = edev->stats.tx_ucast_pkts + in qede_get_stats64()
1147 edev->stats.tx_mcast_pkts + in qede_get_stats64()
1148 edev->stats.tx_bcast_pkts; in qede_get_stats64()
1150 stats->rx_bytes = edev->stats.rx_ucast_bytes + in qede_get_stats64()
1151 edev->stats.rx_mcast_bytes + in qede_get_stats64()
1152 edev->stats.rx_bcast_bytes; in qede_get_stats64()
1154 stats->tx_bytes = edev->stats.tx_ucast_bytes + in qede_get_stats64()
1155 edev->stats.tx_mcast_bytes + in qede_get_stats64()
1156 edev->stats.tx_bcast_bytes; in qede_get_stats64()
1158 stats->tx_errors = edev->stats.tx_err_drop_pkts; in qede_get_stats64()
1159 stats->multicast = edev->stats.rx_mcast_pkts + in qede_get_stats64()
1160 edev->stats.rx_bcast_pkts; in qede_get_stats64()
1162 stats->rx_fifo_errors = edev->stats.no_buff_discards; in qede_get_stats64()
1164 stats->collisions = edev->stats.tx_total_collisions; in qede_get_stats64()
1165 stats->rx_crc_errors = edev->stats.rx_crc_errors; in qede_get_stats64()
1166 stats->rx_frame_errors = edev->stats.rx_align_errors; in qede_get_stats64()
1168 return stats; in qede_get_stats64()
1218 memset(&edev->stats, 0, sizeof(edev->stats)); in qede_alloc_etherdev()