From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0059.outbound.protection.outlook.com [104.47.41.59]) by dpdk.org (Postfix) with ESMTP id 3A16E7D01 for ; Sun, 28 May 2017 22:01:09 +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=kuz254IS9oMQnsPzyvA43NUL2phymIB3xRdQe3GckTA=; b=lYKn08/A0h6dmGmoRmZ2bKA0mpMUr+PZFpit7IxCpE0Sl9Y/SZKJfsICrYigBigdX5BivY9TMdWB33ySWt+k93SjE/BHmJ11KUUCJU0ts8nPzc4CrMdZzEhyqvi3en23qzXi4ZlMN0CMuHXyPDdeNv+swDEf37sks/uwb83ppZ0= 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 CY1PR0701MB1725.namprd07.prod.outlook.com (10.163.21.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Sun, 28 May 2017 20:01:03 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@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: Mon, 29 May 2017 01:28:36 +0530 Message-Id: <20170528195854.6064-16-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170528195854.6064-1-jerin.jacob@caviumnetworks.com> References: <20170528195854.6064-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0003.INDPRD01.PROD.OUTLOOK.COM (10.174.214.141) To CY1PR0701MB1725.namprd07.prod.outlook.com (10.163.21.14) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1725: X-MS-Office365-Filtering-Correlation-Id: 8f002c45-2d3a-41a5-b2c8-08d4a60447b2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1725; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1725; 3:JS/q0uwcEobA6yvHskJF2vT5KobK/68bZ3ghRfiX45xM8WfMoWnkrTelPFlK2bWQxoTYHBuMSFCVnPvE7lRiYBvrPKeHwirrAB+DNv991oMB1YHaWDeV3U+nTLCZXjUpb/lIvknfa9TwETxnpPOdgQs8eEaU8Zyz1pHFrPp15n14lqLR8TNFIk4rL3dmUvAV2U7L9ZSKBgFSolSazxAs0iORdn5j8Yiw3zJ0k4QjQdQY8gIn3CVSTtLkdlKi3DhtGxlcRkYTS1/QH6q+FDr/mnTe4rSrOJzEPv8pfQuoGyuAxor8nh/6ta13LQFBhuhFCo17rofDC5RCrrmTDxGPiQ==; 25:xu40RmJtuaNLmKOGit6M3Ql0pfjKvTinWbq4fZp0AbdDXB8rN/dTV0NFea6nHmDurV/kg4bbRpJWEHe+UnVFryRzI7etHHnk8nRzbV8ReZalH0carygmZqcuksXB31vaVG/CEMnu8hXqdVWaMBy1w07fp5V6IXHoi2f8QBxxRtX3PQmpyfxAiKQJTejaeagoUxvT9RXLekwFPhW5T5ZJgLx7AmvbqEm3pmiXlDlvUL7kf+k2Z2o0sBrocRZd7Ufj6XurQKBr/f2c/WfHq6WMVvWEu1vQ42YFWpIn6rCvzSyVY4+5K4q+Ei65jvDQF7BqGFJvuSJ7aBFA6tCC0XU0CY0gz+xspgNK0EaFwC2QL+lC97OItxFh7K1UIFZ38O4somOuMVU/d73TU2CoeF6+rReLlANUrEVHr7spCLqOu7Y2UPY9XEyI1b7yoWdxps0D6TabYYmleb2D4dTTKQ/Q2TSEWP14oteibqAAnS9qFNU= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1725; 31:Z+SX+or26yM5egS2YiSeQie8ovs7pnkI3LmzNtSaljOm3t4dA59BTFAEulVG1qKo8DACBbj3PKIvZJnQ30n4cyWWitShqg1zKGzOrmdDmEMIIALGHFOSENnqO3utp4reEvqa1kzN5wQqRMD9i5Roz6oina5dFAfN/1inax5XIHbWXNP8ADhwO5eO1evDy2U3dAo1xjLlIjJx1bADLU3MtGAPiZg4ZGzkmYtxV2Lk2tc=; 20:VKYPP6hm5iTlhvFtndL94/9F8j8V4lToJdUApuiDUN7V1V+aOyKq0n0/TdT9fdeSa8F+8Xtq+ofIPvXbIciVYjrd0d+HZaBGBNChMxB91LYswUDRFmOXtt5b09YZRKfHLoomOb5zsX4TGGHp6smxzLLuqvWjCrYhft5pCSN8bhoxai084TtL4wYONM9bzg+H5hsCBNbvZ5SqgZssIY+vPMdI3ExVkh2vzJDR9qfgsZQen2QUJ8B+9paAQ4E8dNrcgvVifAqWPIRGA7Sd0hfZfOs9JKM0gIZHLzSykENlTSOCKLK/UIfbyHEZP95dRIZ3wM4tclaaSD/KbmUcQ2+ILVT++SOC8s48pXYiiq3GMnFOxI8Q+XYH8Dc3oqJtVPNOxLNhI47brAfIykLvHo4NBGKS0MuBC8DNa6aarvFuUwepNk8WgBlavzqGhmSeLyoFWQBfFBYQwkSR07D0Ixawgq3Y19vicgFeSdvFrTPps6zRqDMVliJOOHjfDV6F6XtlxR4qTNZ0lwQcId3nROo1Um9ts/0D1X0DvEmvikwfAmKzFQ05BcCFkK+XQumhJrv7KRukOE95tLUVbmXS3dX/dz+O9URPlTLFL3ejb2ErYbQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700073)(100105000095)(100000701073)(100105300095)(100000702073)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(100000703073)(100105400095)(6041248)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704073)(100105200095)(100000705073)(100105500095); SRVR:CY1PR0701MB1725; BCL:0; PCL:0; RULEID:(100000800073)(100110000095)(100000801073)(100110300095)(100000802073)(100110100095)(100000803073)(100110400095)(100000804073)(100110200095)(100000805073)(100110500095); SRVR:CY1PR0701MB1725; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1725; 4:ipBqEZihsh0WS1POR2d2nTcXnxm+rDi9HoiM4n5h?= =?us-ascii?Q?UwdKl87stFE3zutZ3Jb5KlUH4YZP6Wz1/pVoE7FRhGTi3/rvcZuENHf8CX6Z?= =?us-ascii?Q?6fGIR0bmysibsCPRIcZuVKXoQ6PaZO2xdUquiUhFk0BkHoYoY6xEahQe8HG+?= =?us-ascii?Q?U02Re1/YoFtOUM8ZvFVCWY0rZSWcn60ixJPycnSagOw39DfkCakE3HIJikT6?= =?us-ascii?Q?bqGvLO4gHyO11tFZgU0Wlk8IQj6r4g93XnLTLZHYMeQOIUiUs0eMbXEvYpGP?= =?us-ascii?Q?iyyyQC2Yv5AOXhpu93Ev4BpEYbeMz6PiaLDmliFqk0woEUO4UWY0ggbJ6Qc+?= =?us-ascii?Q?CIzW3d58pnAByiv9n3s4eNEvSmLZVawflcl77KAxE1DFa1cilH7KSKF0YTXQ?= =?us-ascii?Q?T0jLpFrux615qiHceIKmILSSKCwsZBVTDn+nooeQq0YzZ1XJZNd5STQHf3pX?= =?us-ascii?Q?ewVlSMvjV67ZTO45o1JmtggT1a4nlJcfQEejH5Ovas+96ieC+H0aFPwgmWVK?= =?us-ascii?Q?I7eymRedh1Q5SdXz8OwVaVE4VKsqFyQaKxFcD04Vq/pvOtxIiuVNfdjpK3WI?= =?us-ascii?Q?/8HCyerVLj/H+2NmOwkQeTH7b+n1/w3rWlahELmRj3TWMtjwGr6RfOTxGcEG?= =?us-ascii?Q?g6rqi8M/5vV0XBVR4AaU6KwHBmgMv42ue9L0M6UKqOYPZagLfQy+hProuWl8?= =?us-ascii?Q?DAc3ldnahS6Dmar9CVm6xbiJPbhtJ8Eb/rbddyMRdUJRuxtku4mO5xfU5az+?= =?us-ascii?Q?Xc9UmgEUf+zUecXMWGN8K8Lc6NpyA9P4dV6W0JANnpWkRPZ2dm4UMU5lB7Fq?= =?us-ascii?Q?T6UjxadficpaZEuXXOfpfBaU1vfbIfc9mtjTNvP5tXCnudDWuY8rf6iT6ko4?= =?us-ascii?Q?2d0V9TmuPm4W9dnjXoHj70uesCEL1GMS/lUX1+cEC+3jmUd/L0TPnvOygdPl?= =?us-ascii?Q?ElJp0CcGN5ckN+sJzIqwOoNe0s7chBwU4h9Cpa2nVVbAXECKcmSjvBOj1857?= =?us-ascii?Q?OeR7gXvjtAJlJo1wgodYa0jj75+lzlbtF0tj4uaxWoyfHsa8FzrJPwhredgP?= =?us-ascii?Q?HDZon1pxvoMntV9DxBee0Zv/CUleBQ5801RiGtMneRSTT8e1CPjbf6ff7pg0?= =?us-ascii?Q?jH7TjUblaoU=3D?= X-Forefront-PRVS: 03218BFD9F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39850400002)(39410400002)(39840400002)(39400400002)(81166006)(6486002)(66066001)(4326008)(50986999)(76176999)(50226002)(189998001)(72206003)(36756003)(6506006)(38730400002)(5003940100001)(5009440100003)(110136004)(107886003)(42186005)(53416004)(7736002)(8676002)(48376002)(50466002)(1076002)(3846002)(6116002)(6512007)(2361001)(305945005)(2906002)(6666003)(478600001)(25786009)(5660300001)(2351001)(6916009)(42882006)(2950100002)(33646002)(8656002)(47776003)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1725; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =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Exchange-CrossTenant-OriginalArrivalTime: 28 May 2017 20:01:03.9724 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1725 Subject: [dpdk-dev] [PATCH 15/33] app/testeventdev: order: launch lcores 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: Sun, 28 May 2017 20:01:09 -0000 The event producer and master lcore's test end and failure detection logic are common for the queue and all types queue test.Move them as the common function. Signed-off-by: Jerin Jacob --- app/test-eventdev/test_order_common.c | 114 ++++++++++++++++++++++++++++++++++ app/test-eventdev/test_order_common.h | 2 + 2 files changed, 116 insertions(+) diff --git a/app/test-eventdev/test_order_common.c b/app/test-eventdev/test_order_common.c index 935c5a3fd..a7160f3dc 100644 --- a/app/test-eventdev/test_order_common.c +++ b/app/test-eventdev/test_order_common.c @@ -41,6 +41,57 @@ order_test_result(struct evt_test *test, struct evt_options *opt) return t->result; } +static inline int +order_producer(void *arg) +{ + struct prod_data *p = arg; + struct test_order *t = p->t; + struct evt_options *opt = t->opt; + const uint8_t dev_id = p->dev_id; + const uint8_t port = p->port_id; + struct rte_mempool *pool = t->pool; + const uint64_t nb_pkts = t->nb_pkts; + uint32_t *producer_flow_seq = t->producer_flow_seq; + const uint32_t nb_flows = t->nb_flows; + uint64_t count = 0; + struct rte_mbuf *m; + struct rte_event ev; + + if (opt->verbose_level > 1) + printf("%s(): lcore %d dev_id %d port=%d queue=%d\n", + __func__, rte_lcore_id(), dev_id, port, p->queue_id); + + ev.event = 0; + ev.op = RTE_EVENT_OP_NEW; + ev.queue_id = p->queue_id; + ev.sched_type = RTE_SCHED_TYPE_ORDERED; + ev.priority = RTE_EVENT_DEV_PRIORITY_NORMAL; + ev.event_type = RTE_EVENT_TYPE_CPU; + ev.sub_event_type = 0; /* stage 0 */ + + while (count < nb_pkts && t->err == false) { + m = rte_pktmbuf_alloc(pool); + if (m == NULL) + continue; + + const uint32_t flow = (uintptr_t)m % nb_flows; + /* Maintain seq number per flow */ + m->seqn = producer_flow_seq[flow]++; + + ev.flow_id = flow; + ev.mbuf = m; + + while (rte_event_enqueue_burst(dev_id, port, &ev, 1) != 1) { + if (t->err) + break; + rte_pause(); + } + + count++; + } + return 0; +} + int order_opt_check(struct evt_options *opt) { @@ -185,6 +236,69 @@ order_opt_dump(struct evt_options *opt) } int +order_launch_lcores(struct evt_test *test, struct evt_options *opt, + int (*worker)(void *)) +{ + int ret, lcore_id; + struct test_order *t = evt_test_priv(test); + + int wkr_idx = 0; + /* launch workers */ + RTE_LCORE_FOREACH_SLAVE(lcore_id) { + if (!(opt->wlcores[lcore_id])) + continue; + + ret = rte_eal_remote_launch(worker, &t->worker[wkr_idx], + lcore_id); + if (ret) { + evt_err("failed to launch worker %d", lcore_id); + return ret; + } + wkr_idx++; + } + + /* launch producer */ + ret = rte_eal_remote_launch(order_producer, &t->prod, opt->plcore); + if (ret) { + evt_err("failed to launch order_producer %d", opt->plcore); + return ret; + } + + uint64_t cycles = rte_get_timer_cycles(); + int64_t old_remining = -1; + + while (t->err == false) { + + rte_event_schedule(opt->dev_id); + + uint64_t new_cycles = rte_get_timer_cycles(); + int64_t remining = rte_atomic64_read(&t->outstand_pkts); + + if (remining <= 0) { + t->result = EVT_TEST_SUCCESS; + break; + } + + if (new_cycles - cycles > rte_get_timer_hz() * 1) { + printf(CLGRN"\r%"PRId64""CLNRM, remining); + fflush(stdout); + if (old_remining == remining) { + rte_event_dev_dump(opt->dev_id, stdout); + evt_err("No schedules for seconds, deadlock"); + t->err = true; + rte_smp_wmb(); + break; + } + old_remining = remining; + cycles = new_cycles; + } + } + printf("\r"); + + return 0; +} + +int order_event_dev_port_setup(struct evt_test *test, struct evt_options *opt, uint8_t nb_workers, uint8_t nb_queues) { diff --git a/app/test-eventdev/test_order_common.h b/app/test-eventdev/test_order_common.h index 165931860..a760b94bd 100644 --- a/app/test-eventdev/test_order_common.h +++ b/app/test-eventdev/test_order_common.h @@ -94,6 +94,8 @@ int order_test_result(struct evt_test *test, struct evt_options *opt); int order_opt_check(struct evt_options *opt); int order_test_setup(struct evt_test *test, struct evt_options *opt); int order_mempool_setup(struct evt_test *test, struct evt_options *opt); +int order_launch_lcores(struct evt_test *test, struct evt_options *opt, + int (*worker)(void *)); int order_event_dev_port_setup(struct evt_test *test, struct evt_options *opt, uint8_t nb_workers, uint8_t nb_queues); void order_test_destroy(struct evt_test *test, struct evt_options *opt); -- 2.13.0