From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0070.outbound.protection.outlook.com [104.47.41.70]) by dpdk.org (Postfix) with ESMTP id 4355C2A5E for ; Wed, 18 Oct 2017 14:40:03 +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=oQWrSOTXlS12UoznJSrjNYgvp7VrHUCsDlvo+krAJ5Q=; b=frMiwXN+QhVwZgVv5+fnoIATd5hFup44jEoEvgyR+kQLwldfN9ACJ+G73cIkDH1tKSlhaAtDbLjDUp4CMLRAYfGvsYTg0T2pcPHp97XUyTOIy6Mp7cQErfDAH9vxIf2fesKxmeQSmLpg1eSCjYhuxwxFhH0LRQJYRPWk64IPcT4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from PBHAGAVATULA-LT.caveonetworks.com (111.93.218.67) by DM5PR07MB3467.namprd07.prod.outlook.com (10.164.153.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Wed, 18 Oct 2017 12:39:58 +0000 From: Pavan Nikhilesh To: bruce.richardson@intel.com, harry.van.haaren@intel.com, gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com, santosh.shukla@caviumnetworks.com, jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Wed, 18 Oct 2017 18:09:00 +0530 Message-Id: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0040.INDPRD01.PROD.OUTLOOK.COM (10.174.214.26) To DM5PR07MB3467.namprd07.prod.outlook.com (10.164.153.22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 50f46818-cda8-4e3e-56ac-08d516255989 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DM5PR07MB3467; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3467; 3:XiI7Rd+bt9s1bTD2JXtQA8xzdaSEBRMXt14x8IxxYkeEIdEuqwi6MP+QwDDNOT9+TMSUDU0pex42RUIhw2Hk6RmyDabgc14WpLWkjbkjkUfiiOLSSSJepSQ4+5oUEHjVCG+UxWlQIzB3v+VX4pexN4GmaOdbu6Z8fpZubPf6+GAbKEaWf6SMxDloBv3NcGG5KKL1mpwKnXvuXzekq5pNjp58lL2GoGvoUq+8fsln7sLe2ahAyMfaf5JnsVMcjOio; 25:JuGOSateP7cgbcn8Dns5SkwuyYwYHUHmVtWCN9UUTus+83zZDKwcylNJBM0iKnWavK4DrWxkQlpD16tIjV6ZfXHy/YS4Xi0SrxABu986uM4pReQWfAl+wq3OI0nVeQA6sQJUMm3nEtCYo2ay1RfyoE7XMv02vychjEW0LNg8wW2P8hQuJzUsD6kOd/P1UbREpNXVMGIgGb/AozIvfheQO5zPrejwsyynQZxNk8K4n/wf0aisiamHlTLQXFGfuCd8n9m2ZQogj+bSTphLm2tyKxYAQAVVl1yzGCLTxNWoPjM2MmkHofTk4IKWCSPR3dgcif5+IsO2Mp6vb2w5SAAYew==; 31:YH6/rQzWRm9bL54Q9wkqHJ6yKGpwW7SJXw7tmPrXTGY1s7YXG3zrAH1szbd0+5/cdtgXF0fTTmS++6oEdtqL65BRalg39UWIdEYTSioj70kTjE9Lxv/1hQcqOGDLdi23iUlJiLmcQWUNmMAqcny/RQgtXmLFsIlSs8mDoBXmv02wHWrRGJHA+WL/9i0/u1Th3xaZOL7xsWis21MiUC1pe2fBguUKRCZAKyPRDOS41W4= X-MS-TrafficTypeDiagnostic: DM5PR07MB3467: X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3467; 20:PAE6lsfatPysXnE3cRdaCSjvdsBzICtkeDTBDF1cu9co+l79w4U92Xxb0dlslAA/Z4e3N5Cx0CuYf8d6wajquzl72yY3KICubI0pneDu0D9fw+2u+nPyu3CIqXgZfVGENcz6D+P9BxTioCFPHqAsGzQ/53DnElAlQ20WQ1vCFUQoIIYg00+wca6FNnGsPSDeTePww/hr3JFEm9wCYIHhrQvPvBBeT0ggI6dGSmdK96SlqgKo89ZSU/Vm8CdaDic3itRyK+4Z9/66ELn/l/xSjKzT58SPKALnKSWH+ttMxVIeYGBxOgvhSanlTlc6jYlVIfB0yGzyZjaGMlEn5ZK6kzdME26L+KFpujpDUduF1e1L9ifmyze4IWkNyIH5r73GrnhGLhrwC/DOssHioeidDemYNth0a51h2Y/Ip34loXdxZc8iEJKTAFUsqZDu/iBoSxdRs4QPh9vsrdUwilvLw6TNwX9gl2G/iVprxpcJjgWiCOObbULjJ9vh0kXrldSDTzV03qXFzCzDX6TYt04cEQl8KNo/HpcBCtW6GdJvoSKryTA+5JuMvjVeK4YtliPNnFRaQldKhcal4uQ2nselXAAfek/I9RuRdGoXD2RO0Eg=; 4:F33pXm+V/UWru6mFUEPq7DvafsdaQSCLjcOiC7K674B1yxUQ5nSdk2cZ79370fZIFIrTYFmqCkF2LUpii4LJFkVNHlQ/lC83eORVpOApazoCd2jIYtmEwe1ahEoeBmZW6v5G20Cqx5khNiSW5rDUDc1YgiS2bwmTSmByoVdsUx5mOr97HR7RSW25R30gYovwPenD+zniABbCZci6BhWf6//2t2XYMAsbt8jxzcdjQtfA0OXaNhHj6ZuRAuIla4C8 X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR07MB3467; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR07MB3467; X-Forefront-PRVS: 0464DBBBC4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(199003)(189002)(36756003)(316002)(72206003)(478600001)(48376002)(16586007)(106356001)(25786009)(53936002)(107886003)(6666003)(50226002)(8656005)(6636002)(105586002)(42882006)(5890100001)(8656005)(50466002)(5003940100001)(6512007)(6506006)(101416001)(189998001)(6116002)(33646002)(4326008)(5660300001)(2906002)(81166006)(7736002)(5009440100003)(6486002)(3846002)(97736004)(305945005)(53416004)(81156014)(66066001)(8676002)(8936002)(16526018)(68736007)(50986999)(47776003)(69596002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3467; H:PBHAGAVATULA-LT.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3467; 23:6bmTjjIOZVz+F9RqWm2zx+OqF1Sqr+Mec9jeE7bl5?= =?us-ascii?Q?aBFo4UrKxg5jTCCuSY7+jUDRj2/QEN5HqGgLRSrKsSa3JfywD1Z+vESFHS11?= =?us-ascii?Q?I5XUJ/LHKKAHU045e4fO+TWNGHNF0ooPMWyKYJe4Ho+7+klyC70V9V9OgQ1J?= =?us-ascii?Q?s92QRIbl7RI/dcBS1z4uw+VO0fRZghXMMWoe/qHlD1fBo8NAz55IukItgAoN?= =?us-ascii?Q?6a1eizIwRkWQ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Output: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2017 12:39:58.1910 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3467 Subject: [dpdk-dev] [PATCH 0/8] app/eventdev: add event eth Rx adapter support 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: Wed, 18 Oct 2017 12:40:03 -0000 The eventdev application uses producer lcores to inject packets as events into the event device. This approach is suitable for doing synthetic performance benchmarks. In most real-world scenarios the packets are received by an Ethernet device. The Event Ethernet Rx Adapter library enables packet transfer between ethernet dev and event dev transparently. This patch series adds an option '--prod_type_ethdev' to configure the attached Ethernet devices as Rx adapters and use them as producers instead of using synthetic producer cores. Also, this is an RX only case. The application has been verified on both sw and hw event devices using the command: ./build/app/dpdk-test-eventdev -c 0xfffff1 -s 0xf0000 --vdev="event_*" -- --wlcores 12 --test perf_queue --verbose 20 --stlist=a --prod_type_ethdev Pavan Nikhilesh (8): app/eventdev: add ethernet device producer option app/eventdev: modify app setup to support ethdev app/eventdev: add pktmbuf pool for ethdev app/eventdev: add ethernet device setup helpers app/eventdev: add ethernet device tear down app/eventdev: add event Rx adapter setup app/eventdev: add service core configuration doc: update app eventdev options app/test-eventdev/evt_common.h | 41 +++--- app/test-eventdev/evt_options.c | 11 ++ app/test-eventdev/evt_options.h | 29 ++++ app/test-eventdev/test_perf_atq.c | 32 +++-- app/test-eventdev/test_perf_common.c | 269 ++++++++++++++++++++++++++++++----- app/test-eventdev/test_perf_common.h | 4 + app/test-eventdev/test_perf_queue.c | 35 +++-- doc/guides/tools/testeventdev.rst | 15 ++ 8 files changed, 361 insertions(+), 75 deletions(-) -- 2.7.4