From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0047.outbound.protection.outlook.com [104.47.38.47]) by dpdk.org (Postfix) with ESMTP id 611AE7D18 for ; Mon, 3 Jul 2017 21:16:08 +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=VQtXOG7XuVWVl4ZRfb+QOE3X6Wb3VBJIt8yID3uy4aYrQaxxJ38MrVVUnhHRC278zbu5by/Qkuc82xp6sQTzwLO38P3nRa5HYKirrJL5Ea9Qh41QFUhVFmnIZDPT7Yj4NOhMbxR2NVJmWi036GQxOe0ir3FbipsuRghdY3tlX/s= 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:16:03 +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:50 +0530 Message-Id: <20170703191402.3638-23-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: ca889d22-d869-467e-443d-08d4c247f4e1 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:NWyF+6ZSEMNal5fztkKMW+cDpjCv1yHoTNHxypC1XkwFiO89FXqMUpPAB/1Hc+vuFQEcMunUt40nbNdPXrYy4FBHicJhX1oib6l5btQtw7tlNJ9tTORGIHWbPAk6Kt6KmtiTKGfsWGThopk0+U3jP6hSJGGQOZ9j0zZJHSSnBN2qCANPL78zgMLVW6CPxUhB8XbYfennCsOG6iB3oFJEjYGyFYqU0DPrnvUtJr0LX1xFtQoz6C8WSkxAU1oJTtH1FkSnLH0plhP6P/SqnaPFv856McgvsggQDe0CgHX8MK0d/VQRk3NDztpNnaUzJp2UVYpoubFlc2R1mHNjrvaLBXVBUHlLsaPoNDDKdo9YBI20SbtYa4EkntIQOycXYFh2AGVl4uAYst3U6Hn8cf2PEDl83aMnjiTUAa8TRUK3gRZzGTwi5ip04eVlkKjgeoRzrncPaZ0awdDeUbc48PafhR4lz7r0Nlb32Uy9i4lDOnpHitX5qmBjw86d6FLh9OS+51MnrLOrbLRFoeCLL/oXl446ttu6r9qbDXSQyvsyS7OCYlt5Opy+YgSJM6MPXD+mQijAipl9f1xES1UOD8rdj+qeR2ZRFFZE57dk9jJ79/QyUgTeDkikVy0aY9JUV8Nb32C35pbKuC//r04mjvT6RDx6Ef19Qqs/zib0k+De0fCCtSSJEKEB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lH+4Q2u6cClKk5H2a6B4KNzBv1WU7EeG/ZUWTs03Yt2XfWCmvcQJCyOgrD/DyriFcS7hr4Rf8XvQo7V/OKhszHPAIV0pRCJHOStOBf9rNiQyYLNpHq9arhwBiqkx0wE6O6NCttCtDQgKljy1RrGqmwFUli4jGACG2w7BvDMscZGWn2iyj9FLvy/BGgcnqoD8p97+lO9U0S5GGVkMom6BRrh6oWCAaDTRcEwC5HnIjkjYeQLQcPBVfQPnkCeux7CJqeH/eUHf/dROLjgPa+H0XRc8qoVAtDzIvAEEYBLk64OeEE= 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:wSTZs3le63Xm52wMidFFWETBRhi4SdoYyrjXBzgM?= =?us-ascii?Q?/cALMCEOEcBUAu0fYy7xhQQfjLBJ+FsMgKLwTq227zW8poz3T7kamTUy6JHJ?= =?us-ascii?Q?gh9RYR8Zn9tz880Kg9enfV6g0r7iCHL9Faph3I+guo6wvkSCBa7YW6TSqbYg?= =?us-ascii?Q?jfH5vijqPEPL537PWLDj4S2bndPAWRbLb0TiTBNjd74pjTC7Kdt9AG8+kR2S?= =?us-ascii?Q?UfQcYqM5uB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qJFuPhC22l7f7Dy+LzRr5/?= =?us-ascii?Q?sJSrbUjsyp4DKDFkjlcC5NL8783oO+YBwzeH6+VGNTpL5D3V2/t/B2I3XIue?= =?us-ascii?Q?jKWDD0DBsNSiGqi5QLZJB6W22B72ZI5P4AFoYl5NMNsgf2Tk8pavopalYJH3?= =?us-ascii?Q?yZpreRNdx7IvfAOElhGlN4YdEuGukTuxaPSIO218?= 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:6uIBsBx/TCY1l6gdguOHiYPLb2K8HPDj86Bfj2r?= =?us-ascii?Q?CQ8TnvxCGtI8BsQYpC18COd9Ik8UrtQPnKexx6/oGql+2kM1IakKY+Ip1J6d?= =?us-ascii?Q?dpMu6QrRTBr6P415JB8tKegxa1tvQgcvU3Fm4ht9XPmPk6xdix14gfJkbeoE?= =?us-ascii?Q?xAxcbSMYz65LwmJ4eUCFs0eZyMpKLW+DrxYnq8iryI4YgEL6JPvtxfAwDdrT?= =?us-ascii?Q?BnSf7QtZGKtMLS2ZeeM6K5eIK+3MGZy7s6nGm04Efcl+etF+r5IEakyEK8OX?= =?us-ascii?Q?TFZEvAO0SqAPTvZWoJX6nZSdUvbucqseDB2mbV+PStn7++/rE/uVajw4M/tR?= =?us-asc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pjm0CjUQAHB0lzf7JhU4fgXHI?= =?us-ascii?Q?preU3EVcXLjQIoQ9Qx0S9sMpjtpBQkcNqCLvbvz8oXEs1PRe/99BAfPqDCh+?= =?us-ascii?Q?5EMUKMA2nZ1O2bFiW3Lsp2usL5ntST5aUX1frR5CI8TsNPR61kHONh0w8pv+?= =?us-ascii?Q?/40=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 5:SeJLKgE1d3HkxKVCZ5eD2WgQ9eNWEzkwJra4cY74k5QZxvM2aJcQInuv4PfEI/LFqezp5xc2s8wFnmOEuCspZvBkczU0V/mF72EbFjt5fUX7tE9z1ROfGV9QTS7s5BCBz+mmMhoeA8yyn2Zu94wa3k9HapczYiqiOOkgv97MW+az+NiG/kC+q3D1GWbX09kyhevz8SdLgjK+RufD2Xk6N/ccj42QnOg4gPb1zpQW7wqPCoujcWFD0GutWAhmfdyDwB6KwfYI3hDIhnYObdL+AvtkGUlWzaYMBqyGkJwBcN155bGii7oYAEDn0lOVrMNNZ9uufbC0TdKlNGRQkJImWTMyFzo0DtiQazaa9edRgsn76Wi5kQ5PIgNXtF3kF29F3tzspySZ4HtRTsf6H80CI0TcEChFEAHQhykYGR1FcpQCNWQE2gVwyMpKsQVtkmzcIvDSYyDsf/ttEJhuHenw/Az3EYtDc/mJPple5K55IswNK+2yfxOln9UKpwdxNX8G; 24:vEi+AuA5KHoHcsj/MlC7UEqkUVfjYltcq68/Y3ga3MSxVQXJNc2Q2MMp0/Rg94e3laflG6rG7wvLepWjJ4XX5tJ0PLxicLnDrYMSwOZz1jU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:+K7zqS/k3yCHxkjkgZhV9APGh+UfTaLP+wMqS3YLLfpN5fVDGqR88AoGyNjk6rp2sx70kBQDYVeFlnDiKJaEIn4tDjafDf3rAYSW+uFglZgp0CR+y77ZC4FsWDOZt691B3cDb6zQOYw0zAdJqSP6O0QO+CYGT/BhBl3VUVw42O5e9uAIhpO9807nMpgNhk6oN0BeBqp8GjGR3U+/ZsribXX9/pIJD5qcR3RiYFaIxa/ubE6XpNnqQPSvFwVGdW3xuO3UaW3rkU0k3jgNHEtoOH+GLwytPg0Y0RXwTc5Ymn2Yf4VS43Wy8dDjFw/PzmpaVIInPPohBNwAEmitvM7SxJwReJ4I2y4ZImROPwcLiONGArY9M1R1OV1jTmtI9jBWsH2JOzjrBY/hknNevm002itWWyS9SwbDberopTguVwYQlaldryalFr7aOdYluAk5t8tiVUBGSw/B0E9NjNlYY5LJ53YJJONy2tts8wL3rjrI1kMxJqvwp5r7Vmvq2xw2a4peN92V/6Nn0Nkeo9rbKHOwWaXiffH/CnV1ablqnLKN9mLZWimnf0BI1raYuZrjPMQb66yaHGPbHrU7PtBt6llYBRz35JZ0yDjcz14LUEVBuCHMgxYSPU5uzNTznfurj2LVuPqOYpLsNzSpDKjHKIcG/S2E6iNAwaAiJCPklqDArtNCRTj0QX4JT9bB5vfv9RVk1eg2Z/lQEiFTGUNpKN2FPgzvjflQ76SC8DuUMpGeFFpIS7mtsUo6LHfChpCxT1nf9iXTq3AXh4aj8aDj43xYTBs1YMe5TGXWlf0Thso= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:16:03.6388 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 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: Mon, 03 Jul 2017 19:16:09 -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