ethdev: remove legacy flexible filter type support
[dpdk.git] / app / test-pmd / rxonly.c
index b6c8b8c..c78fc46 100644 (file)
@@ -58,9 +58,7 @@ pkt_burst_receive(struct fwd_stream *fs)
         */
        nb_rx = rte_eth_rx_burst(fs->rx_port, fs->rx_queue, pkts_burst,
                                 nb_pkt_per_burst);
-#ifdef RTE_TEST_PMD_RECORD_BURST_STATS
-       fs->rx_burst_stats.pkt_burst_spread[nb_rx]++;
-#endif
+       inc_rx_burst_stats(fs, nb_rx);
        if (unlikely(nb_rx == 0))
                return;