From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0070.outbound.protection.outlook.com [104.47.40.70]) by dpdk.org (Postfix) with ESMTP id CDC392BA4 for ; Tue, 4 Jul 2017 06:55:26 +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=KrjQTT9TxPEi6uuopiinZ1SRkxUAIU10nUBv+d34tmQ=; b=MZX2HSHBI9ylvO7TDN2XSMxBqjDTP/kl5g/jbEp29xKEi5Duc3+TAWx+r/ijvYtQqQy2hntSoytbTjwmg7Ig4aYgIjMkjB6rtM9ozxDPmyeEaAcATpfuDmjj87cNoCR1fmHw6a6+ldJVL23IHSIjpZDuM1b3S9u9D96r0kbsbzs= 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:55:21 +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:17 +0530 Message-Id: <20170704045329.24711-23-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: c9fecda6-6f23-4ecc-8347-08d4c298e204 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:xQ5c2DbGfBbf1+j5WeBsOJr8M8o+ySEN8SIIEkNxSQWUSrlzmOqZBLdWirbyzPgFLSKcURyk/E4j6bSffEvJkh3JwT5q57+59gZHlUKDGZqXyKWPnYvYC1OJZ1qRqnn5AaSWzVU3ttVr82a21SwS8IJudclLlBzGVzeGWmpclG3fl0xKZN1sgZ2Fv4c5FOhlzJY/MarD6gW6VNvOGQorQsloiupdTTLJ+eywf2y8DpAtEmfdsVUK+uZQ0otMi5fKuseJk6dm8NBDtfdGS85ZiHjyx7K7UfTJvE4QZyttn9TKgNR8MCA/h9r+kW3urfjmBKJ5ca70MfaJ2PcpK5k91DOHiVgnJovj/jQR8dw107wGEoNdHKgM8SGwBdO3eeJq9jrH2yWfO17oAnb5cQaE9ISHxxX0RfigUfj7sWb/7rrsQqi4HCUZThkTnhsKn+Y5SRKwDkftLjiHRWIKMqalov0KZu0+rTWBabeZzQ790godDHpfB98CJZn5LRJ+L9pXvGptC//gjT5rW8LT8HcrY8DINRHSGph6HRhdyfEHJX0DBgK693TphS9lleUablMAOYR6jrgHC6Y8l5RGoCm2mZNnJ0vw9ZQ8n9gMWqcnJiLMZUORrFnFiTklrWthM2Vvm7pe1AA8Y2TBYnZt+Cz/12Ky/UiNtci5LukoBsx6XTBlzx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7mYeXyfTEbWF0gEKp2PdzsqFONfi9DcLvCzJnB6jEtA5cbsSCKCHOTkQrP/U1tt6bPJUHyIB3Pz4XyxWV2nflFeT/B5TRxBOOmiErRToBwj7qeyMiJofqIddYZXFNWyKV6+h8Oxy8Vaip7XeeBAXNDK2cFigNQNnrqxzru8aR3BpWJCj/ttL7ZLqgJc6D/CCzg1ocfQmF699r+l9KcOF3vOLvt4GVku29nxiOq1pVP1sJwfeCW5J7ZQ0/IQTWPaDOmbw6ROevqPh1H17X/UDpScI7IqtbtS2VXLfvLMRIocaJkvCrr91Fqz1lBos3UbtPAg= 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:xsjgdL+8m6rHCZjJXdMcYxC2TV5Y285z+I1KyqYX?= =?us-ascii?Q?c0GaBWM9KMQoOGoCMZMpNIVraWMTXxFUk61QTsYrBWXKQ6Ha/ZzywRqHW9i4?= =?us-ascii?Q?1vjI4gGbJ5+ByLpWnEfcRoTblFpYVdMy4fHEv4udrB5BAQVI5FLLb7AfnqA/?= =?us-ascii?Q?iPI0QtsGfZFeHd3HPALoXeQuf/DMLPGbXle0ZaiAVBg8/ykbMmj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JH/ladJqqt7v4OBR37n9zqY7zKpZEOGO3faAlKkt5KYzCFG945?= =?us-ascii?Q?aXAgGKbplZkBpipJZyxEgUSxZuaycbbTg3uwbHm0XzUjFsFMaI8kCYbH6jiY?= =?us-ascii?Q?FO9ZCj7gkjdsbEtFyNdIiifb+TPkxKPFhP8Nl4cniR3glm0+wQkXkpP73pJc?= =?us-ascii?Q?NR2gSSAGmZJIIwUyeyGCZn5gWwOvWhHxU387O6eM?= 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:/Ueq4dta1tLsVEey3ry33Y/tRZs5KW8ejauBRPR?= =?us-ascii?Q?EQLiYQ9s8LbJ6wwpBkBHuht3+x7PxYIxDB2Fy4expCFPx1yMBCN7xeU2ONUx?= =?us-ascii?Q?i4rVk7r7JSyxyJ5tmkv9yMOLOQMbnIlC4pIykzi8OCYSMw17kq7dAGmClWWj?= =?us-ascii?Q?POtUnAUkqmMwga8/8eZjK2/mpsEMNW9YJdlzX/wnHHiDEp62fiflSXec0sYX?= =?us-ascii?Q?LpcFIThzloA2ncYzrGJjZCpFoGJn3BRBzibs9wgxLTUVsdDOp4RMUtSLm84K?= =?us-ascii?Q?DQ4uBW9+e+SlbZkzTVQN4e32SPilU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91LCbAsL7yAxbcukh/WnbDFEVcWcQS9?= =?us-ascii?Q?b+rCh4CwN5E8g/n8jsTIYpIQ8FtdnXs7K8nDtYeYzZ0xfWGZLNecwnUGMN4E?= =?us-ascii?Q?ZAlfMWffQLn1P/65tOfJsmStdzzXWwsNZI4bZp34mjDcRaTjUJcRx5D+6qak?= =?us-ascii?Q?zvu2ICwJjOMXapvVKhBh9NztGBDXldB+6Pr576Bm+EuvPUe5d1RAjbQhUQ2I?= =?us-ascii?Q?6og=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:+8POWtpYihfs7nfN8hOvjkuYKFCbfKsUrD+5693cJ780DvGrBTJmPWKz6cOFhOdqiuGuDDJmrfwZodxbElx5TQDkvSPF6FQz+CuasAnpnVSKXD3edgIOVrIy5kwzd2NWoO7NxoOsE72TzKo8iKYleLL7E8DVy9J1UuxW1agU/2czk2wn4cWQKme568nkrbNCHqkI1/FTp8il8YMGKn2GAFUY3YKc+nqLUIQa1AM8svbzOESm9AKa5jkWzThvK93Ukj3Rovc3YkeXy5QLm2p/Y+/pHIf91Ey5hrAtR1CI8OgXdRBV4DjD8Xt4yChc+jhCdqdl+M5yKtH/kCske6xbRuTywGP/qGuDgRB6rsX2m783z6l8ciZJyBW7CsE5A7TI6Rk1aZ9BhdjcMrig6trwiq0pdv2mYZFkx5005GEo/vT/Jxw5YpjW/IIMbVMZwox7crD7vAeltEs8uVg9mpS6whTRyNns9QesghK9NNVSlCt6oAL+A7N+bWfCorgUbnK7; 24:TNHgUojbXuHuaOeR5kGkn1MF1cD8ucLLEfxQrdv8RIxFJUvAPHHKP72eBgeaK8tSm5b5PvkN2OimFBhMTFFlctv5n6agPzqwY7DytFqmKSo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:McNufvSSiUMCvHsdffHdKlpMva1RtBN6KEIvLysq3JwL8m2vl2dxHKbHjROMdhvDl6SYrnK30c7rP24VQ+BRPIsxurB0yeYD1W0I9cNEdVTEpESR1KKc26ZiYIcw3kUp3ePpREOi5GBe39lmsMUU19cQJH6jjyOfNwiDMlfo83RuNu+k15+r8xUbeBwAxvvkmLkh06yBkBI8sva0lExK7DBt3Muy1fLWmMsHKqis+J3SThqMN3xSb+6eXk+gpyU8snu6glbl8TF5pdLSPFcj+vI9xqV6Elr+c2560Tbu2Q69EMPJ0V5txG4LvJCI/t3fWBrhxQCSw0Qzxc9g2utsJB7YHrghmPSnFR7VMkJQekgpO8lNxXM+YEmINLo9QVxoM4dWD7uuyEUJ0CZ+7pGvl54jltbuhRQJNweOaBhP9gkgZNnhwwmM7RA//IFQjG7e6Svda8NNOF9M3qr3W4tmDmRzBNv2ItVXvS+UljcwjpfnPp0SWP0gErJcDAu39QW9+EMxijNkML2XIQ/WVTcCHMmq3fwwO1VgPPbfBC3NjHgKVXTsayGq6EPUDqirqiu22VarE28xKtPgjCm2e48nb7qFCOJ1bH/ySpSCV+sWJ0rxmqvRPwfgsxRHuvz6ZPd5xwX+dCTDUkD5jOQmki72dnJlaha/Vri4S6MFUURLqRVrDQBo767b6qx2i3YFxIJ0uiYp0YyDpfNmu0KN8liZ7PVWF09S55YXpmZRtDVu42KcyE1jSCbff44v1Kq4XwoMK8IpDvtORRu5bbhqY+sOa1eYPNkCv0wtjcYPq3Ts7gA= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 04:55:21.4265 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 22/34] app/testeventdev: perf: 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:55:27 -0000 Setup one port per worker and link to all queues and setup N producer ports to inject the events. Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/test-eventdev/test_perf_common.c | 65 ++++++++++++++++++++++++++++++++++++ app/test-eventdev/test_perf_common.h | 2 ++ 2 files changed, 67 insertions(+) diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c index f889b1a59..46dd05704 100644 --- a/app/test-eventdev/test_perf_common.c +++ b/app/test-eventdev/test_perf_common.c @@ -42,6 +42,71 @@ perf_test_result(struct evt_test *test, struct evt_options *opt) } int +perf_event_dev_port_setup(struct evt_test *test, struct evt_options *opt, + uint8_t stride, uint8_t nb_queues) +{ + struct test_perf *t = evt_test_priv(test); + uint8_t port, prod; + int ret = -1; + + /* 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 < evt_nr_active_lcores(opt->wlcores); + port++) { + struct worker_data *w = &t->worker[port]; + + w->dev_id = opt->dev_id; + w->port_id = port; + w->t = t; + w->processed_pkts = 0; + w->latency = 0; + + 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 producers, no links */ + const struct rte_event_port_conf prod_conf = { + .dequeue_depth = 8, + .enqueue_depth = 32, + .new_event_threshold = 1200, + }; + prod = 0; + for ( ; port < perf_nb_event_ports(opt); port++) { + struct prod_data *p = &t->prod[port]; + + p->dev_id = opt->dev_id; + p->port_id = port; + p->queue_id = prod * stride; + p->t = t; + + ret = rte_event_port_setup(opt->dev_id, port, &prod_conf); + if (ret) { + evt_err("failed to setup port %d", port); + return ret; + } + prod++; + } + + return ret; +} + +int perf_opt_check(struct evt_options *opt, uint64_t nb_queues) { unsigned int lcores; diff --git a/app/test-eventdev/test_perf_common.h b/app/test-eventdev/test_perf_common.h index 5c56766e5..06e887b98 100644 --- a/app/test-eventdev/test_perf_common.h +++ b/app/test-eventdev/test_perf_common.h @@ -97,6 +97,8 @@ int perf_test_result(struct evt_test *test, struct evt_options *opt); int perf_opt_check(struct evt_options *opt, uint64_t nb_queues); int perf_test_setup(struct evt_test *test, struct evt_options *opt); int perf_mempool_setup(struct evt_test *test, struct evt_options *opt); +int perf_event_dev_port_setup(struct evt_test *test, struct evt_options *opt, + uint8_t stride, uint8_t nb_queues); void perf_opt_dump(struct evt_options *opt, uint8_t nb_queues); void perf_test_destroy(struct evt_test *test, struct evt_options *opt); void perf_eventdev_destroy(struct evt_test *test, struct evt_options *opt); -- 2.13.2