Searched refs:prev_pkts_tx (Results 1 – 2 of 2) sorted by relevance
890 static uint64_t prev_pkts_tx[2]; in ntb_calculate_throughput() local899 diff_pkts_tx = (ntb_port_stats[port].tx > prev_pkts_tx[port]) ? in ntb_calculate_throughput()900 (ntb_port_stats[port].tx - prev_pkts_tx[port]) : 0; in ntb_calculate_throughput()902 prev_pkts_tx[port] = ntb_port_stats[port].tx; in ntb_calculate_throughput()
243 static uint64_t prev_pkts_tx[RTE_MAX_ETHPORTS]; in nic_stats_display() local290 diff_pkts_tx = (stats.opackets > prev_pkts_tx[port_id]) ? in nic_stats_display()291 (stats.opackets - prev_pkts_tx[port_id]) : 0; in nic_stats_display()293 prev_pkts_tx[port_id] = stats.opackets; in nic_stats_display()