* [dpdk-dev] [PATCH] test/eventdev: octeontx: verify priority test prerequisite
@ 2017-06-01 6:41 Jerin Jacob
2017-06-20 14:13 ` Jerin Jacob
0 siblings, 1 reply; 2+ messages in thread
From: Jerin Jacob @ 2017-06-01 6:41 UTC (permalink / raw)
To: dev; +Cc: harry.van.haaren, Jerin Jacob
octeontx specific priority test expects priority of each
event queue to be a unique value. Verify that condition
before it processes to test the priority.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
test/test/test_eventdev_octeontx.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/test/test_eventdev_octeontx.c b/test/test/test_eventdev_octeontx.c
index 9e95722ba..5888c73aa 100644
--- a/test/test/test_eventdev_octeontx.c
+++ b/test/test/test_eventdev_octeontx.c
@@ -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 excepts 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
--
2.13.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] test/eventdev: octeontx: verify priority test prerequisite
2017-06-01 6:41 [dpdk-dev] [PATCH] test/eventdev: octeontx: verify priority test prerequisite Jerin Jacob
@ 2017-06-20 14:13 ` Jerin Jacob
0 siblings, 0 replies; 2+ messages in thread
From: Jerin Jacob @ 2017-06-20 14:13 UTC (permalink / raw)
To: dev; +Cc: harry.van.haaren
-----Original Message-----
> Date: Thu, 1 Jun 2017 12:11:23 +0530
> From: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> To: dev@dpdk.org
> Cc: harry.van.haaren@intel.com, Jerin Jacob <jerin.jacob@caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH] test/eventdev: octeontx: verify priority test
> prerequisite
> X-Mailer: git-send-email 2.13.0
>
> octeontx specific priority test expects priority of each
> event queue to be a unique value. Verify that condition
> before it processes to test the priority.
>
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Applied to dpdk-next-eventdev/master. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-20 14:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-01 6:41 [dpdk-dev] [PATCH] test/eventdev: octeontx: verify priority test prerequisite Jerin Jacob
2017-06-20 14:13 ` Jerin Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).