]> git.droids-corp.org - dpdk.git/blobdiff - app/test-eventdev/test_perf_atq.c
doc: add cross compiling guide
[dpdk.git] / app / test-eventdev / test_perf_atq.c
index b3a3127228b575c246bc6e62ba56872c4dd09c79..9715a2ce86550e5287c17e4a9645fa0dde0578f8 100644 (file)
@@ -11,7 +11,7 @@ atq_nb_event_queues(struct evt_options *opt)
 {
        /* nb_queues = number of producers */
        return opt->prod_type == EVT_PROD_TYPE_ETH_RX_ADPTR ?
-               rte_eth_dev_count() : evt_nr_active_lcores(opt->plcores);
+               rte_eth_dev_count_avail() : evt_nr_active_lcores(opt->plcores);
 }
 
 static inline __attribute__((always_inline)) void