From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0075.outbound.protection.outlook.com [104.47.40.75]) by dpdk.org (Postfix) with ESMTP id 2357A7CB5 for ; Tue, 4 Jul 2017 06:54:57 +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=oaAdnia63GWCEvrlD9K6fKJRgYLy0VxvH2Vs/9HkZ+0Ef2Hsgjn8xJ1yIPSnpIAl0WqOijNs/eSOQFME6473cDO83zz/voUrWTFAolO7yRIH2yhflDDBnitYT4PWIL/uLiTq6QBj8IeKIuj9O2ngH5uVYMEf3oivphWSLXWGYts= 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 (106.200.206.49) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 04:54:52 +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 10:23:09 +0530 Message-Id: <20170704045329.24711-15-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170704045329.24711-1-jerin.jacob@caviumnetworks.com> References: <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> <20170704045329.24711-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [106.200.206.49] X-ClientProxiedBy: BM1PR01CA0106.INDPRD01.PROD.OUTLOOK.COM (10.174.208.22) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8bf8c922-32ce-4619-f05a-08d4c298d03e 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:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:VLyqqoDtAGCiYcsbMxURHKvvcdYmQxGjF7xNU3F1pTRP1TCfgXTOA/cI8C03siXjc1xUMyU/tYN+mnGjym8CNalPzSkZGoYqjH0+Dw3K3gYRgGwXEq7XIn2xGah3ZZC78t9shqxqlCMUcmfYtgdNBaFKkCLXBx8MPCBJ2tH2NjJKuEFy9GJtzx//9z93LTfYy1CKkwJa1omvxAZzuXaAu5kTpuWWssjYkOs+D0vEHnu3QBGySV4Qnjv6gx4aYg/PqLho2+vEn048LFytFc7IOPb9zj4nyISBagMIJF0o8eh0mmuvoZQYySmWFGxJJeyHW25pE1jFEjKnf3RSfiRRCyRA5flXmwFoGxMopW0988imvc6x0XaIWfOg9Xm6cJJhCLTBdAi37D+0qYx3e/whcgKSAfKdJlB78LWZytaG5ocl+iYstoKBoD0qgEe71N6GIvwuK/7uooWS81yVdi05ipuSlbegRX4etz1JSyssfHsHKccRUmuCk5oJWnIPqLlFmfrFmwfppqbS1EZXejXg6ZVK1f+A6B5gEi5F5llSbqqiumxz1I3CKinYO6frWX1fJHEZJUiBG+4hyv9TwaF3/l6l3tjEnirpR+GMnxjwp+jvR/ZvW/ziPSSbBNpPv1Aep6sOUyIBMyAI9KP9+IKUi4RSpZVaLBdsRJeA5Rvso7SRVlTnDc2g9y9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kmfHqHcOsvNmWpc0Kg62a7lp06S8TBaw74tjx4geD6bSAaUzfybRTZgNlq2Y9ldR0RqcfkciB5KvN+9zlyA3ERkkWx9S7tnKxhuwL3bjRLUesNAmZddKTzXV5maXelSOnUxDfJz9YnEMf/Yc79NBomWysJ5snQPPABUS5iV8YVV+n/irkUkrU8vD4cfqk8sm5fiBgYh+pVslFNNJUDGxXamLegPKfyGAFpa4U07HP3MRaW6xwrHnloncv6RAZqdybSzXdboOzaYFGfaHEvuZ8o/1JZZ4uVjm7gsW49VikCVNyJ1gkUd7dv6kVwSYPX2S/LVoFmm/G4vV28= 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)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:aw30t4MdelgcaVIIOx4D6Vwn0isiZ86EXTPVclRL?= =?us-ascii?Q?bBoDE+Gcw9pX41SBvVF9ChmuiA6zb7OP7HbN16+tuFd9KWyrlTL2BUpJKgKy?= =?us-ascii?Q?6h/VlJD+mM/S/NFDxsgNm+GOo+o1seRETi3VURVMx9hNzfspB+LwTGYt142l?= =?us-ascii?Q?ownh9HG78xKvlyx4mYb1ZxhHuH9x57og1csbrTWq+3tTuOz+w6btA8fXqU8j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1KCWSVEPUqgx3QlpX0CBXWI8pJB7yG3utXM?= =?us-ascii?Q?+BBQWpxgRyDM4eLnHmVzH+eUdb3GUvvZ4A4b5BhYcdOCDIvzok2I0vjtQkxI?= =?us-ascii?Q?o0WYfdHu83ho5OVYhN1iASPItnIKX30ozY+gImjtsOApf2XM+Rl08JWgxBUf?= =?us-ascii?Q?omSchf4u/mQ/Dxg72GDIwyCDE5DS1r2SW6mE65yt?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39840400002)(39410400002)(39450400003)(4326008)(107886003)(38730400002)(6512007)(42186005)(6486002)(8656002)(6506006)(33646002)(53936002)(25786009)(6116002)(6916009)(1076002)(5003940100001)(3846002)(42882006)(47776003)(2950100002)(478600001)(2906002)(6666003)(66066001)(8676002)(50226002)(48376002)(81166006)(7736002)(110136004)(2361001)(2351001)(5009440100003)(189998001)(5660300001)(305945005)(72206003)(53416004)(50986999)(76176999)(50466002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:pFNG2YGW68e7AA46kvFfRSAVI2TE8WRwNb2UdlP?= =?us-ascii?Q?PLPa4HebaYzkucfYba1G2lUfegDvUoTaLBTnh7Ft/UeJZZu/n1pb9v6DNKwi?= =?us-ascii?Q?N0BVHDcQIDMRSjl2xg5opv8aCTTJbDB3+BiNxKhjsfPJY+JQJCAntIyLwbvO?= =?us-ascii?Q?OWVtXvi0yapXlsUpuoNzerjVZiMLF4CwUKU3nlxILUyXA2cKTSg1wnv5W4RV?= =?us-ascii?Q?EwUjOFL+kkyB+yvoqDgew8/H5lDZiWefzwtabPVSP638YnIpkHTlKfBRUB63?= =?us-ascii?Q?arGEICiAjoahTzrBV9dkVrp1Cj6YQ/vtag3xOIj0mTo4KnHa7yInDN2X2TFS?= =?us-ascii?Q?Z141SYtDQGhGzehb8o47wmKc5WbAbhApqhOiwZNA7gq7iS96UnMbjwq/tsm2?= =?us-ascii?Q?l+lzbPlcB0LdtVAOyd9mABnEd4DEsQet8LVySrufEaYEko1r34PZP+f1dabo?= =?us-ascii?Q?l+1FjJsRukwKz7NmfiqOfTlR+/MHgXrf2zhqNbNU6ka0QoSBJw10fPabmVOa?= =?us-ascii?Q?SRZWEbkY1DiWE1qFPsJgNF408ESfRbDGyKALa4Wj14UChFY6/V9gs/mwYyDw?= =?us-ascii?Q?KznrVAYAuworHhkCvfaeGpJdfA+W1tdqDR/UJa/6P/+J9RW0otl9xvvG8uPw?= =?us-ascii?Q?bovJ0Em6BmNpL1Dp9WTXVrQwZf3cJOEBeX5Y0tZex210NMjXPBBGd4Whbwxp?= =?us-ascii?Q?FLKRbae2HONo74M/4VrAewwcj2/YBxLnH9LjYQmkjVOUVkgGQlv0Pclcoy4H?= =?us-ascii?Q?ozBzyLcnpEqa381ZizApjcWi8Brl3NAJ0k5LopFX39oQIjJIk6G74v5hSVee?= =?us-ascii?Q?qa61CzXOU3OyRXsbdTohWik37Hos+ql8wkyFSldIII7IYlnnZUZbkq+hsUic?= =?us-ascii?Q?wKaW+QmS55zIAOVKUpkcVi7axKQIeKHzIDG+OpmXLG1a5wrFOkqJ4pP7h/5U?= =?us-ascii?Q?PwAqN0uzsRnWO6ghunJWocoZTE9O1C7Q8+KdwXKMx1ZOcvYzgbSkdG/NbuIB?= =?us-ascii?Q?DFTEij3UgU010NTHSRz3V3+QxbR/HAE+kISUn2e9ZNFyOmJLxez0fYQ1a/+i?= =?us-ascii?Q?Q4WThTut3Nzosu2le7WoWRKRugMO2fc9QS7Scfzk+uRh0ijsaE4pXcwztr0e?= =?us-ascii?Q?pJljKSLHoKlOUrPpdRC6wq98vCbALE3GMzFr6kgHR166FHigQMTzrreYZDqv?= =?us-ascii?Q?K7rB+QW/jY/Zs/xk1F4LL+gryMonRX03K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?Q?ph5ayAhA6++t3mI28ataBJoCoD2qYKwaOeRhS7ntZvc8sIZQqHRhav0mpX+i?= =?us-ascii?Q?RIprMB5PpCJfwTlfQZkP9JU5spfwMp/3GDEVkGPHAsb5IwKKKcDd9d+oAJHU?= =?us-ascii?Q?33QeykE1X/YOCRbeU77f+sbOEHCRihzBQEA1HNCkTG3g206eWosi5zskq5GH?= =?us-ascii?Q?Qps=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:8GsxF2UPV41LF4XvvKl6W198DDGPzdJNLi68P/5bb82Fc/3fi/pLWWEFfpKWLS+VyHPXqzk02RPkAhucRVdoGOPsCrSzi75OI8ieCMMdydNHbvMVPmhk0M0bodB0k67z14PUcx9zJA3gIImK2WeiEMhmTC86ydQQ3hXM3Jnfp2DsBWo6F+8x86lQQ5tkb7zBkR5nrdvtMzY1jTZFZN0a00oKUtbbdMXDIC/v5I4x04BnchyLAJXqCOMu2taCm0vA1//TUZm3viO8XvrAtpAvCwu4HPF2FBJnmyUo3O8zaqkK4dobTp47WzdlJvMF0rMMpjomKAyC7tcOox8NOQm5Mbl+0tk3lKqQU2CarhQrYvA1s9+4czQiQ2rUZhCQi14XwY/JHu30OXNQf0iILP1ToCnSRJwBrD7rZ0c/ob+bUYNaHQ7VFSedGJn8MzpbsZseU/WKBf83fCOjvsFqLzNunNW4Zn+2L2gY+53xUf390xK7NDNlZJkpA32mCN7nqyH/; 24:ReJW8UrD6jcxm0v+LKKkR+YHvvJdaX4OYblV2WjDY9ydv2LVww0vSHhvI90Zx6rV/GF3PDDO9yndIyjUpcA4sa4lM1mqXscnsMzW/LkqwwQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:9zzvlUEPdlJ/Mhk/X0eYT+cZkCiXwoPgz17qi9v+LjnuU7eoOw27qukduSWeZhGxryrq0kQV69/aGVMGMqzvfbjuOYlawz8SAKbm6NrroGctTXpswYVzv0yKidkaWmxQ4HR4AnApBNKzCv07S7KfWtft/OdQoRwt/e8lYVs+Kk2o9UkYSyxf8iC3695CQCjS6hrOAKL9udydCPvTDJXceEkt2RzJrXPtV0tSyR5BgKzYW7k0MV1xqZ5AJA+C8TRvS06DYRaoYuc7vMrvU1D/USsy2KpmpRwiR+vmPiXjq0SUrlA+2LsQrIccd/+kFjuM5+AmznfFu5szjqD3LWZ9B9m8pgdGZCfGuASpSDVRp99n6xaLL0e9/QgeLTy/kx2rhUiR4+V+bBOg/TTBCahrJRPMWjSMSiS2WHvmjBEzuV2t27DfqI4CrY7x8xejZbbDJ3+FuF25sGNaXg8avVFLagR0vK9QL2qKI0fjRuLryfN1IqVWOpMZVP05uqeEPnOzPGYFm3WRib66vC3iEvsSJca1Pn3LZRetVuLFF8cVPY7kDOEPf9pdmSuGo3gxUfXASN0jOr9h1VY2Kg0LFxvWx6R8pgyTYN+ctneZWK82ilnNB3XY0i1GX8mZwq5uOEl5dMuQtNSdj8EiGH06yjglS0pt5WFADx9yqiIU3+4cLK+71gCRpRDdAtH90wHGv3CnNi7qU8/kkp9ecv/DQkSUQenWlXR9KMyjXDUrkGUrOIY4P4KUi59cgWvn5jmnLCUBY/sglVq/737sZMnIIyxIh7QHBPEuoo3NNgzLO8erz8o= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 04:54:52.0968 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 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: Tue, 04 Jul 2017 04:54:58 -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