Lines Matching refs:ofld_stats
1018 struct ch_tc_flower_stats *ofld_stats; in ch_flower_stats_handler() local
1036 ofld_stats = &flower_entry->stats; in ch_flower_stats_handler()
1038 if (ofld_stats->prev_packet_count != packets) { in ch_flower_stats_handler()
1039 ofld_stats->prev_packet_count = packets; in ch_flower_stats_handler()
1040 ofld_stats->last_used = jiffies; in ch_flower_stats_handler()
1064 struct ch_tc_flower_stats *ofld_stats; in cxgb4_tc_flower_stats() local
1083 ofld_stats = &ch_flower->stats; in cxgb4_tc_flower_stats()
1084 if (ofld_stats->packet_count != packets) { in cxgb4_tc_flower_stats()
1085 if (ofld_stats->prev_packet_count != packets) in cxgb4_tc_flower_stats()
1086 ofld_stats->last_used = jiffies; in cxgb4_tc_flower_stats()
1087 flow_stats_update(&cls->stats, bytes - ofld_stats->byte_count, in cxgb4_tc_flower_stats()
1088 packets - ofld_stats->packet_count, 0, in cxgb4_tc_flower_stats()
1089 ofld_stats->last_used, in cxgb4_tc_flower_stats()
1092 ofld_stats->packet_count = packets; in cxgb4_tc_flower_stats()
1093 ofld_stats->byte_count = bytes; in cxgb4_tc_flower_stats()
1094 ofld_stats->prev_packet_count = packets; in cxgb4_tc_flower_stats()