From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0081.outbound.protection.outlook.com [104.47.41.81]) by dpdk.org (Postfix) with ESMTP id A87907CDF for ; Mon, 3 Jul 2017 21:15:35 +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=g+R9iJrQyIpCEebsWtMt3NK330uj0lY3slM6RvZJ4lU=; b=d1mo048aCjVs8Rv25uew9q7sTpsLs+KhnCcnsVv/n5kXDpPXcDZBpDjXZqFAd1feTf7uBBknC3maOhC7iux0NJjXU/qnEA8QAzuIkJ64KamK1I35nG9QC6Xlw6EUkezEvYRvZpI8kkkS9MS6g7I5AfM+5l0fP0xmB796H5+Ivxk= 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:31 +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:42 +0530 Message-Id: <20170703191402.3638-15-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: 9ede9af7-6b09-4c81-f7f4-08d4c247e162 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:DMYeeLdKH92FLahFvEwUdxUA+RTT/guxftQ6eAb1cXH2CIheuJ+gdXPnU3eXGQcTI+gWgq8Ig4WU3R8tX9XLdxIRPZX0Rp8OTO6GcfOx3Qn++KXPCaDEm+VXTjTXhvI5BI0siqDkbRNSDtEqj7wMB+fghOtCDXjuB+V+jvBfCkxLj/7MUlwK8fsdZuhoQr4fK361s458Ig7RS0D0zFFrwxt7Hw9gYXwxR8VXxiL/CcKMDEJ+/YCO4KJuzCmKoORXDnpoemK0KtVRvdH2CcO73M2pV0oT+X+NENdTFccMs7ezbRVV39d2s3FleuJia/OFi9C74RmVHlLalgcaD+gerEjR1pOR1fl11ykR1m6k5BIyicXlgr0bH924OZc8EI4aUsp9S5WeRnkiqTTrNnL0xgnDeEmkdJrQCynnKnjG4A736WUcL6f7bQUrX+C8xwu0jP2atRM69nxnG0iG0hjFd0NzxpZT0bglKAwIFQHZbNeRbHvCQ7kEDPblMl6TXdjbvXeoo52hx6yvigrqD+iWthRcVNmXETq1YfmdJKPh6OwyGgAEF5ZuPNzRR4MxB4PykRXo4Z+piG4zGkRr6KvDT/RJMGxRUranU86op5BiscnfvcJxpMueitLvqzo1L5VgjAjVbQHgPDl28DWs+EL9mvXmMBTbHhhxx2qUBX37IdPXMIISRQa/52b/0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BfUkxSWrc/WHu94CrI8M7N8qtNXgoc0ru/Wx94popJ3069ZGraAn4+yHpm3kWFWlQXAMC6beKT493ss1J6ddw3FK86c46lhrHPUxqWlkxfA2nbhzialtf6doHfdG1yKrZ+TooUGMMpFSnjfWTNCWKa9KVd4URCLZ5+Ksw8AznIvZnZtzyYJQ2goArYpcNKemvpxMKuTJ5hQIvDXpBTOVLjuE5d0+7SW+cZ3Oq0Hz6yY+PMlXBglhvRkeYSlLaEbHP5mmW8xPobFJLiWDcgNDop1jqx7Cj831M0HwK/fmjxfSY9or1a3qSWKBxBlWlOKq2ldA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750)(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:ZELiWgcYNZWxx+cyROGrvGXZ28XzOfyLpX1J2oK+?= =?us-ascii?Q?7Y6dafeakd6UgHBZGrAWwS0rEHgZwkTf+cnP1gUJoOGS/lZ6ni8Pkob2B0y3?= =?us-ascii?Q?6zVjVN+F2DOGkC7DpWcnT4J6T0Xw/b8rmoTEN6ahfh2KOu+yywi55qHZlIsG?= =?us-ascii?Q?sLpQfM1/zwLB8uR2DlymbSkQMpWXWQ5J9Wl/ViCcBmnaNueXapAegX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8T5nMlLZspVL5ro9mWSaTzUBeDkVWF?= =?us-ascii?Q?/m6VMMiUI5SdybPUPbzIrTiZsQYzjPuy0i1R2QsEzd36qem+UI4GvA/L9aNt?= =?us-ascii?Q?m94n4kZqGdklLSXXPAubNZx1JNMuEJk9loPvyqY5SBvvmSUlZ+5IW8v/NkjF?= =?us-ascii?Q?HON8weNWJ5VMpMC3sDmbsnvz3EYs+jnZPHLMvjXT?= X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(7736002)(478600001)(53416004)(72206003)(38730400002)(110136004)(107886003)(42186005)(8656002)(50986999)(76176999)(36756003)(6512007)(53936002)(4326008)(25786009)(5003940100001)(6916009)(42882006)(2950100002)(66066001)(5009440100003)(6666003)(2351001)(2361001)(6486002)(6116002)(189998001)(305945005)(33646002)(5660300001)(81166006)(8676002)(3846002)(47776003)(1076002)(2906002)(50466002)(48376002); 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:JGh5iOoQDcggfjQ0l855ItFgMDSOPEII411bsqE?= =?us-ascii?Q?+hMEca7rHSnNY3ASxIsPWLzrug98C5EC7DYiF3NHtXAPrHDfCd1prJZw8JeZ?= =?us-ascii?Q?TRS8yLD9xAeJgyJ+XuxiVbEHX+GP0oBRUMeyyW3UqAkBFQOr+EZ/gI/KZ4we?= =?us-ascii?Q?vqcW2Ou9NKHwzk5OiOsuDLpgCdwSI/meR5+szqOyledqYPRRutqPR11v13Ya?= =?us-ascii?Q?35YGWU52To+MM9EOsIcmIwfxjl8ZSKSC/k2unmlE91Hz6/ywpRSlinTuvREo?= =?us-ascii?Q?zTkPjeg/74scBVhfzak3pVX1RG0PJxF+uISuBfgucWvlwPZSwkFKnLGKGOkY?= =?us-ascii?Q?orjKic8Cib0aTQO8/M1ACDAaYNTpe+kdrd1pzE4km77uOM2UTTSiX/0456bx?= =?us-ascii?Q?+jKVS+4hpINA9vFN1aT1lgMTDfK3T1527m1GbVmpXBQ8BRuT2xxQifBlV1Aj?= =?us-ascii?Q?btbde376pOy7XMtOyhigNC/+PxPk0WjJXiOSPo9rtN5/yuv+1ogzbJ3mDhza?= =?us-ascii?Q?TUPs/YbyCl01ZZqyZXOdpaW9mrrEWn9TMtCmiDRnG9NG0C+6vFPsH+okXhDK?= =?us-ascii?Q?1muzWMezAvXlj0JkE5Zz9gTnI4e6Tk2RLcio+7lefxo14pOROaT9aeR+fTKD?= =?us-ascii?Q?fGASoJfRvqENjgFTv7yd0V2v8DBK5Ydj0KDPfMnNNOiEHoy/Ufq8ugojdPzN?= =?us-ascii?Q?O6Nb39KeU5paV25Xa6g+JejKqp2wH13zJNaW8InTm3U8dwb5h2sSK+kpSv7O?= =?us-ascii?Q?73Zif8nKaKktqwDWkobApNduyqIZmNsAjz7cDposgoBGYMIQIq9C5acB16gH?= =?us-ascii?Q?LE64LTzuK2SH31HmjihQkgjcj/L3oIA9Ty7YFM1tiK6UGgWQYzMZpAkSCDar?= =?us-ascii?Q?zvONUVO04t1QITQRxHtMgP+eLuJKo2uPwAjXLrvV3lwQFcwUSd0yBsrcagKA?= =?us-ascii?Q?wZebeRlmK6IG3+Cv3e5p8hdHzq97cslS3p+czMuLg9CjcDoWsTegRoWyDiFe?= =?us-ascii?Q?8tJ4e/KUNBrYNc4GEJgqTnhvRJ5A4OnidIvFavniOshSMrD6NicKKjK2tvdH?= =?us-ascii?Q?tSibc5OjhgE3s0sS7FtkCU9Rke4/3oByUp2LOMaOQ10x/AvqK0xTNnp2hd1A?= =?us-ascii?Q?sYT7LEuD62UB6Ve0k4EEKKy+0SJ9uSG3hkckB9rJYmEPUT7S2EKbPzA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUP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UABUJ?= =?us-ascii?Q?Fp30+SOahjEWBKZjTGLeB1vuonEyHm2UH0vsBdgPZhJbkAzb0AI0oxmCdoLO?= =?us-ascii?Q?639/6pjcWWQxiGktpTdwXgEerWkVdsOqlcFh9anfH3e5KiR4ehDYDooOfMJr?= =?us-ascii?Q?Viw=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 5:9qe4We9KMcznfgqK3Qda2RXGRPPhI7B85rPNf8RcOc76UELsyEubc5WTnJI5cby1hshME5vouwn2GnKmvK3kUfmFhfWmQQAPaXg24ikzfsz46zSbDR24DSQpmasQS/NEx1JTUI23LczE75uUXnbUHZTWMxubw9C4y4Y9mJ73R36453hh3RQDg0yv8mf+wn/nZN6Fps4mp3vNC3hfATe+IpIUQTjJioplj7g2C2K6Wui3PWFMkTX00Kqkb9y3V7UyfpYgCX4V6VsNGairievi/cpO+W//YUkhQnuqGGdK8IxcUWbjNhfEciS/yaiO0WDi43nVYsJNTHHR37ooLRJ1pTX0KPBWMLyfcgrquvFXWxSiIQrEQzmatZZuoJyVhEFz/DG1zH+6B5fq7wwPiCNeZ9nR7nP00LJBfBrmyQXFNTw0uoV046BKzXV9H3tfPGbxlMiYelfWADFCO5CdZRY/6vyBL/uiSACZh6rSG881D6MH/Z20qqbGv4tgi2sbA2AT; 24:Dli+jXlEKWnE/BgXzHZdAPL9pEbOna52BreynpRRLIvRra9wi+cIJlVHpzdbFWJrQs/zeqc8um1jN4B8UXkVK3toggkS4wUuBInJXsGb05g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:xZYJMdeOU16B74DCy8Apd4ba1KSfpJE6uGqLaeKB1d0z3SA2TPVrDJwlX3yeaIeTiEUsmEDXPLeTKcA0A6VBrn956RheRbAbgexV0QDzdJIL/QwGhyC3LfMsretljkhvrnUM37J8k4iahzqWDI+wjrAvnxYXa0L/Q9MTIros0Vja0s/4YTZqhi9Ndiaksf/28/4SnW1vW5uQ62cI4jaCE4KpgCtor6jNkViNbi573QZqruxqt7UiT+Mjrhb/Q6tPwjLz1avcMOiu4wykLxJLpYTveOZeuUcI6OsneV1jUGh1JqyVVtoQLHbQJ0pxQJzPh4BsJCl/UW4NcdkS4/e0LtVk2ZoOuDCmypHdoXRDBYpet9PDw0mRu8auiAnsJ0vazZXeJ/fsrmW+Lkcqp56uH4wkG15e7l+n5VtyGBvm9RGW8hGjxdu3h1nQT9IigX2L+ccp3tvjQO+SnnKjRO5T4ZB4CAxMDS/Hh8RMCwL32kqRgTFdNlenD0Bj0/COyBV2FtRS+/TkR7icaye79eAalgLA+NGLzA/wNq2GeP1GwGkSI1mdq7NBbRT82h2Jloz9GVHACSUPG79uHMwle3q4MfUmCNks/Ouijr80hCrN1T+VeotvqfKCCg8GVXwU8WXjaK+GliAVccyNUU4w/AO3RvyA7c1LwFZmqecSiU/NQvshR76YVkMd86KJOPaj177HuDYA0gugHxpeZQ6N3VK82HiH3DJqTm6TBI2gpZQi6hcgqnJJb+0bvbIbu9rREoh9w6e8FlftBXCsJptnu0xTaTCnILu4JIcQ1WbaTotBPzE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:15:31.0594 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 14/34] app/testeventdev: order: add eventdev port setup 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:36 -0000 Setup one port per worker and link to all queues and setup one producer port to inject the events. Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/test-eventdev/test_order_common.c | 55 +++++++++++++++++++++++++++++++++++ app/test-eventdev/test_order_common.h | 2 ++ 2 files changed, 57 insertions(+) diff --git a/app/test-eventdev/test_order_common.c b/app/test-eventdev/test_order_common.c index c5d0736ac..01b73bbc7 100644 --- a/app/test-eventdev/test_order_common.c +++ b/app/test-eventdev/test_order_common.c @@ -206,4 +206,59 @@ order_opt_dump(struct evt_options *opt) evt_dump("nb_evdev_ports", "%d", order_nb_event_ports(opt)); } +int +order_event_dev_port_setup(struct evt_test *test, struct evt_options *opt, + uint8_t nb_workers, uint8_t nb_queues) +{ + int ret; + uint8_t port; + struct test_order *t = evt_test_priv(test); + /* port configuration */ + const struct rte_event_port_conf wkr_p_conf = { + .dequeue_depth = opt->wkr_deq_dep, + .enqueue_depth = 64, + .new_event_threshold = 4096, + }; + + /* setup one port per worker, linking to all queues */ + for (port = 0; port < nb_workers; port++) { + struct worker_data *w = &t->worker[port]; + + w->dev_id = opt->dev_id; + w->port_id = port; + w->t = t; + + ret = rte_event_port_setup(opt->dev_id, port, &wkr_p_conf); + if (ret) { + evt_err("failed to setup port %d", port); + return ret; + } + + ret = rte_event_port_link(opt->dev_id, port, NULL, NULL, 0); + if (ret != nb_queues) { + evt_err("failed to link all queues to port %d", port); + return -EINVAL; + } + } + /* port for producer, no links */ + const struct rte_event_port_conf prod_conf = { + .dequeue_depth = 8, + .enqueue_depth = 32, + .new_event_threshold = 1200, + }; + struct prod_data *p = &t->prod; + + p->dev_id = opt->dev_id; + p->port_id = port; /* last port */ + p->queue_id = 0; + p->t = t; + + ret = rte_event_port_setup(opt->dev_id, port, &prod_conf); + if (ret) { + evt_err("failed to setup producer port %d", port); + return ret; + } + + return ret; +} diff --git a/app/test-eventdev/test_order_common.h b/app/test-eventdev/test_order_common.h index ccddef6fb..165931860 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_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); void order_opt_dump(struct evt_options *opt); void order_mempool_destroy(struct evt_test *test, struct evt_options *opt); -- 2.13.2