From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0053.outbound.protection.outlook.com [104.47.38.53]) by dpdk.org (Postfix) with ESMTP id 907565587 for ; Mon, 3 Jul 2017 21:15:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=p2c1t7HA+YqEEUcBwBPKboJmvXOAcCloO3STqVBwuAY=; b=JWQHVFipT087vREa84+qWL+n22SHj9b32ooRw9HkHcP6dcLDPJ1wavSPx7ofy42DuhVRLDibCD5bQ5TSVWPu1o0e/70+gRIXqushGole8NgXCknGFuOPv4ZgHrIZd4YpIRtxuU+AOYK2DJjRle3k5TDDwBMgGIqgGU5j56yQysI= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (111.93.218.67) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Mon, 3 Jul 2017 19:15:39 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: harry.van.haaren@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com, nikhil.rao@intel.com, gprathyusha@caviumnetworks.com, Jerin Jacob Date: Tue, 4 Jul 2017 00:43:44 +0530 Message-Id: <20170703191402.3638-17-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> References: <20170528195854.6064-1-jerin.jacob@caviumnetworks.com> <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (10.174.144.19) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b406805e-331c-4d8d-cb50-08d4c247e63a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 3:cUUHTOljesFrV6KsX6wPCYySpXH655ibC6ifA/DpVUhwqMvMOiOtUh76fzpLAIUP0UucjetCSCIclUY620Mrow1MM8MtQ9XCShj/e2lq9lLTww6Pu5CXDj2gWa4iMUhnE+9SDNDcpbDHzqiwoBjbhRT2D7iHUjRQJ3OA3hTryqN7NnU63N+oqTAAlZOezHY8SE+hMz6uZOI9pQffq6bX/iiHS6e7E5nDrvP7mHZ5CzVeQHbRPamassGuLkmflW5/2ALqxIdjV6cHlACRIt8kG5qt6TZmI1A7xpHpzepE/WEEXJjYCoi1qKwZVxGRFh++zMXi/e9puz0iI91RnRD+aRTLwexEmksU5SEUrRWwnUChdUY6IOCKNeaNMqZf7XI6jYtXWVqElLuvuftVu+Oj3QSB6myJ+L2+JYFQpUkfzZl+gMYEZq2E8cXb9Ib4VIZ+Q43zSzYVJOnaHrmCN6DTzR76Oy0h5LjTJO9D8sOpNKSv+CG8nOr2lDwv/eTFWX1O6fKxvddp1ll8NqO/vsofZEScun8uVmrBb7S5rcqfbF02TF1CmCydlDtaRVFcUUVu4TR6RgFWsJ1TCan0oV+smhMaAFWrsJ4cVb/xRQtLrMANNaQCYZ3VCCwy+QiKj9ZOe2b+i+xTj7bSqxRAh6M+z9xmw1QtoNNQsrvRWXegdTwwh20Bt9nVnK0Rj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98FE0We3x/TuHk= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 31:158CnPNp0enstQGIMc2N08Bj5m1juy+Mj/8yIsJjX3/bq+0OaJM04mtMCS0kF93EEYAawZ++Y31dQMDMrxJfFfMWo5jlihuG+CNhNQIA9Va+TQeYJktMDmkhgzZ6P7DJGzRZf7QaESoE55MxzQ47h+ftILnCMcs6e8QwavqcV9F1vPGCK4dQ7oteQNgGOYrMGSAvAYFW6W/30NYBnUkY8+7abUheFDK2AbreFs20bPTfoR3v4h1NS621FPwtvyEH+hkgq9pGAVbo2FCOUqnRcme28Sm3lMvTh9g+36orpl9IqA3aqbJcJ6ZTwWB4PJ8esdcFztpVopHZm+KFmaQi2PiWGa6MCACm9dectk5i61lzA/1V4/3+cTdpDWL7k7GXqJQMkKjSVld8poX4ckq8AjFyxCJW9trXZC293xIv83vqt7gRbd5Lg6qjmY/M0/71Ovj/XVanVmNI+JasXD498VgXlqDjjOu++VwzqHUt1cHaLUOf7EcUcLqiCF4+svLvqcocPc5vaBmLHXRZeNlpqswLnZHr2pjfQgKBI6KqHNhDuvSHMdcV3l+XsalmpagSv/DZtlUC7xkxcjd2ewM41aabksk/ZWROg07BItpRXFYcrbCy8UofrNe349aLXSspIc4aH+0VUbUmYfsOe7FWjQXCPGy+4QofEI90abAJ0u0= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 20:Ufk81etFMj86ldNvQBITBISKCopVbL4pyIMXRLWL5nqOgXn9l7k7mtI6j/9rAU9EoQv7DhQiqDEEVSz++EKbDc64ypM52qwd7vHvU9zjL4LLchY4E2KgW8QGfRLLVVvx+tavNZ4u5hYzNI9+vXIj44ceqtdHF/lQ2fYL8F4Xlm5WsaYAMf4W4SQ8oczkH1CsaXzEX8LX6N5RgsdjX3dUWl7d00ioYKYLMXgenr+s0rjqgg0LDZ8ayXBR9gpJUUVfk9HOyuVX1EVIVRI/4Ty57ol3QpgBiweDFpKa4E5ks2TJUlN1utBCNUy0E/zWLVbYBZR1CJth+d/X3eEbWXPFCrM9YEEhFY7So4OZcbjTqv18eeK+JnQbxJvIXRD3BAQzVPiWMLEERY/gWEyoXxlkzPknVEBRqN20BkNcHpuBwB5ud4qjOaLE33bOqVMWiwtsxJ3agaUPugeHARUUUeyUXbCcdysTJQ8c3W9rDnyRzh6bz2JZEwwPRh+oCf4t26+b7M+KpdX/ixb9xbB7Bv8UnuFjLptPvu2sxhbB8WNMpR7ByZYKP1MwsnhwwXUVaPBxAqdIiORxueRVCf+Nd95mvlrp2FdXBtg8sg+TH98Xycg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750)(158140799945019)(228905959029699)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 4:TJoO7lFo5Z38lROaz4Yzsy3LqjWhbc7vBlChh0s/?= =?us-ascii?Q?IOKYG2jXpzURhbWrogrcB+Q3mEtP80+fVylbCN8KpvOesqLLpLDz2IucqV2r?= =?us-ascii?Q?Ylmyw8EcxJHXb7LoWrZpetYkiskIKiEm/t8c2S7ekw7oEJhrGtU0cFivZJ2P?= =?us-ascii?Q?tVB4IWUK5ye4cIsaPLOsgNm7G+RevsGi1WlPqUqGxXSDwhk4+9Op3s5AWRbj?= =?us-asc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sKI742?= =?us-ascii?Q?lsBDoRuH6U5Ucj9bQBfypcOudELy2w9VJMrjR78N7yyv2S6JCvNxli0yKSHc?= =?us-ascii?Q?9AGhDWWwRlHpcvM/GsWOgRaI8qPvqnTM0Ind2cyesF5a3aZSa+i6FLTTrEMv?= =?us-ascii?Q?g7m4TB5pJvVNgAkc1yCPZxdiX/CPzKxq4PdgcSNCKexbNSJcNwyOF631f+UP?= =?us-ascii?Q?lqUBfMdVqwO6HYkxAfZxPlo=3D?= X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(7736002)(966005)(478600001)(53376002)(53416004)(72206003)(38730400002)(110136004)(107886003)(42186005)(8656002)(50986999)(76176999)(36756003)(6512007)(6306002)(53936002)(4326008)(25786009)(5003940100001)(6916009)(42882006)(2950100002)(66066001)(5009440100003)(6666003)(2351001)(2361001)(6486002)(6116002)(189998001)(305945005)(33646002)(19273905006)(5660300001)(81166006)(8676002)(3846002)(47776003)(1076002)(2906002)(50466002)(48376002)(562404015)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 23:XVVCwOEeBWHTTsiR4qZuz3wBh7FaS/xW93WRg7O?= =?us-ascii?Q?Q4PjiIV4vbSTufAJei3OY4E5ezeePMdlRKHfD1tzGhVA4STH50BYO3I5dErp?= =?us-ascii?Q?Tto02+uNo9ewid85vJr/J6zjGap8uX7dp6U54QJrUPK+1N7RgVUmtrIN0/uh?= =?us-ascii?Q?FqI/8OIlQeckc+C8fMdpa1B3KaYXDieJasdS8FP/lXULeSA2EYXZlfkMNFLs?= =?us-ascii?Q?gUuYEqbP8vm7fUy996hWZvrOadulL80bWNLRNGzuto+2gVkqB7svPrhdnm+E?= =?us-ascii?Q?G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osticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:u79VfwRKGCyZbYpl2O88X9tftT/fr1maS+kLswB/QjEzGf99VNFiHk1BM40DbKzNaX0mu48rFtaWYD7DDl6c8+TC7skWD8U+kwM1tVvwsY7GfeWrpw0FieV3sLNCT3QEui0IEKUUhEE9LMZTFF9rFZlvgSQCinPC6h2h5P1k4jWn5ehLHHlBFZKwEQaZP6bB+9cLfeJivJ657udQQf57Bt+if7scqZORREUGd6bAV/v7ZR7MYKnajFfbVQHEHMk8CWDqq2+baf/zcjF5byXYptgZNrSf7JZYxpXAdjMqh+9V3rXcgC2xWtR22qyJBawSHTMjVcW/o9m0Orc3JXMFl2zknQ6/p4i6btg5dMo0WpdSTbo8ES1oZQCHo4SjfKsw7J0euO0ceBn9sCi+aIReJYZnncRbEzB6XqnxBIJU3xQyh+mGDJT/g+eU5J7r6QPJlqvCkFybUP8vWbcpEs+bi5EUx2v2GI+Kx1u6vOBmpwEyh7gnRDdXm2EhZj+k1uONNYr+enOSX8vyod7yMDu0eWoLF/KaH/swQGnr5m2jL1qQ9yWevDz16bLQge7bbVyWs9lo3yRnAknEUH2HfW6ulBw8V1LIZjzs99QP//gSwUwVLK9dGjk65RuvrGHC+Jt/Ir1JxsWQCTG/+rBaodrZP5OjQZkRAVioWlR2OE0fXe4XZVLnQ0Lb0d8Mjag/EMRHrF/i8fC+nluDdF/JlUd767VR2G/ssCSLNbf1BnVse/rQawmZmU5P/2UOwEJZe/A+l84fPEdJhbdc6zA/jJjz0h38rP/PyJ3MxqBBJzkW7kg= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:15:39.2473 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 16/34] app/testeventdev: add order queue test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 19:15:44 -0000 The order queue test configures the eventdev with two queues and an event producer to inject the events to q0(ordered) queue. Both q0(ordered) and q1(atomic) are linked to all the workers. The event producer maintains a sequence number per flow and injects the events to the ordered queue. The worker receives the events from ordered queue and forwards to atomic queue. Since the events from an ordered queue can be processed in parallel on the different workers, the ingress order of events might have changed on the downsteam atomic queue enqueue. On enqueue to the atomic queue, the eventdev PMD driver reorders the event to the original ingress order i.e producer ingress order). When the event is dequeued from the atomic queue by the worker, this test verifies the expected sequence number of associated event per flow by comparing the free running expected sequence number per flow. Example command to run order queue test: sudo build/app/dpdk-test-eventdev --vdev=event_sw0 --\ --test=order_queue --plcores 1 --wlcores 2,3 Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/test-eventdev/Makefile | 1 + app/test-eventdev/test_order_queue.c | 142 +++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 app/test-eventdev/test_order_queue.c diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile index acbf74ca6..37c04c294 100644 --- a/app/test-eventdev/Makefile +++ b/app/test-eventdev/Makefile @@ -44,5 +44,6 @@ SRCS-y += evt_test.c SRCS-y += parser.c SRCS-y += test_order_common.c +SRCS-y += test_order_queue.c include $(RTE_SDK)/mk/rte.app.mk diff --git a/app/test-eventdev/test_order_queue.c b/app/test-eventdev/test_order_queue.c new file mode 100644 index 000000000..c4003efd2 --- /dev/null +++ b/app/test-eventdev/test_order_queue.c @@ -0,0 +1,142 @@ +/* + * BSD LICENSE + * + * Copyright (C) Cavium 2017. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include + +#include "test_order_common.h" + +/* See http://dpdk.org/doc/guides/tools/testeventdev.html for test details */ + +#define NB_QUEUES 2 +static int +order_queue_eventdev_setup(struct evt_test *test, struct evt_options *opt) +{ + int ret; + + const uint8_t nb_workers = evt_nr_active_lcores(opt->wlcores); + /* number of active worker cores + 1 producer */ + const uint8_t nb_ports = nb_workers + 1; + + const struct rte_event_dev_config config = { + .nb_event_queues = NB_QUEUES,/* q0 ordered, q1 atomic */ + .nb_event_ports = nb_ports, + .nb_events_limit = 4096, + .nb_event_queue_flows = opt->nb_flows, + .nb_event_port_dequeue_depth = 128, + .nb_event_port_enqueue_depth = 128, + }; + + ret = rte_event_dev_configure(opt->dev_id, &config); + if (ret) { + evt_err("failed to configure eventdev %d", opt->dev_id); + return ret; + } + + /* q0 (ordered queue) configuration */ + struct rte_event_queue_conf q0_ordered_conf = { + .priority = RTE_EVENT_DEV_PRIORITY_NORMAL, + .event_queue_cfg = RTE_EVENT_QUEUE_CFG_ORDERED_ONLY, + .nb_atomic_flows = opt->nb_flows, + .nb_atomic_order_sequences = opt->nb_flows, + }; + ret = rte_event_queue_setup(opt->dev_id, 0, &q0_ordered_conf); + if (ret) { + evt_err("failed to setup queue0 eventdev %d", opt->dev_id); + return ret; + } + + /* q1 (atomic queue) configuration */ + struct rte_event_queue_conf q1_atomic_conf = { + .priority = RTE_EVENT_DEV_PRIORITY_NORMAL, + .event_queue_cfg = RTE_EVENT_QUEUE_CFG_ATOMIC_ONLY, + .nb_atomic_flows = opt->nb_flows, + .nb_atomic_order_sequences = opt->nb_flows, + }; + ret = rte_event_queue_setup(opt->dev_id, 1, &q1_atomic_conf); + if (ret) { + evt_err("failed to setup queue1 eventdev %d", opt->dev_id); + return ret; + } + + /* setup one port per worker, linking to all queues */ + ret = order_event_dev_port_setup(test, opt, nb_workers, NB_QUEUES); + if (ret) + return ret; + + ret = rte_event_dev_start(opt->dev_id); + if (ret) { + evt_err("failed to start eventdev %d", opt->dev_id); + return ret; + } + + return 0; +} + +static void +order_queue_opt_dump(struct evt_options *opt) +{ + order_opt_dump(opt); + evt_dump("nb_evdev_queues", "%d", NB_QUEUES); +} + +static bool +order_queue_capability_check(struct evt_options *opt) +{ + struct rte_event_dev_info dev_info; + + rte_event_dev_info_get(opt->dev_id, &dev_info); + if (dev_info.max_event_queues < NB_QUEUES || dev_info.max_event_ports < + order_nb_event_ports(opt)) { + evt_err("not enough eventdev queues=%d/%d or ports=%d/%d", + NB_QUEUES, dev_info.max_event_queues, + order_nb_event_ports(opt), dev_info.max_event_ports); + return false; + } + + return true; +} + +static const struct evt_test_ops order_queue = { + .cap_check = order_queue_capability_check, + .opt_check = order_opt_check, + .opt_dump = order_queue_opt_dump, + .test_setup = order_test_setup, + .mempool_setup = order_mempool_setup, + .eventdev_setup = order_queue_eventdev_setup, + .eventdev_destroy = order_eventdev_destroy, + .mempool_destroy = order_mempool_destroy, + .test_result = order_test_result, + .test_destroy = order_test_destroy, +}; + +EVT_TEST_REGISTER(order_queue); -- 2.13.2