]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_eventdev_octeontx.c
app/testpmd: enable DDP remove profile feature
[dpdk.git] / test / test / test_eventdev_octeontx.c
index 9e95722ba1330cd014147a78901a11390a2c56fa..fffb4a80ed6e049aae1c37cc7c1f61017a3911ee 100644 (file)
@@ -194,6 +194,11 @@ _eventdev_setup(int mode)
        TEST_ASSERT_SUCCESS(ret, "Failed to configure eventdev");
 
        if (mode == TEST_EVENTDEV_SETUP_PRIORITY) {
+               if (rte_event_queue_count(evdev) > 8) {
+                       printf("test expects the unique priority per queue\n");
+                       return -ENOTSUP;
+               }
+
                /* Configure event queues(0 to n) with
                 * RTE_EVENT_DEV_PRIORITY_HIGHEST to
                 * RTE_EVENT_DEV_PRIORITY_LOWEST