From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0088.outbound.protection.outlook.com [104.47.36.88]) by dpdk.org (Postfix) with ESMTP id 53E52237 for ; Mon, 11 Dec 2017 08:37:47 +0100 (CET) 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=Gme/KUv+thY6G8wDFpl7kbfM/kYTkhx8/y9p8NcJX5o=; b=PHTN/umu5318sLEAeuKlQJBavtoSduT8K6yEGIMCspZdR7HiYRy7zb/LN+492867ikCpyTqMGlhd1+yu7ZTUDQ7yyECMCJBRYR/jk/IE7Gta5bxGchY06n2TSyUk75TQjfk8n4/nD9SX+o9f69hv2dBqXUWKxPa81XTlBO0Rjwg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by MWHPR07MB3470.namprd07.prod.outlook.com (10.164.192.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Mon, 11 Dec 2017 07:37:44 +0000 Date: Mon, 11 Dec 2017 07:37:23 +0000 From: Pavan Nikhilesh Bhagavatula To: Jerin Jacob Cc: dev@dpdk.org Message-ID: <20171211073722.GA4885@localhost.localdomain> References: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> <20171210082806.GA11770@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171210082806.GA11770@jerin> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0007.INDPRD01.PROD.OUTLOOK.COM (10.174.214.145) To MWHPR07MB3470.namprd07.prod.outlook.com (10.164.192.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 49856ef2-cd94-4022-a494-08d5406a11fa X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 3:Uq9AlJXpXcWqRG1GIJl4ugxmWlN9U6xF5aDsYjKzzMWp4ZqY4SuL3HeJIEB5HVwWupscstL9DPytGO7F04ggN5xCohspt/S3Rhs5O7Mk4kPBtqvXptLWnHbsEWnuzFaBkTuTx02RYqLDwKmuvCthPB5fC3nXubfla/wcILc6xb+ykXm+P3PmQl1FAjZhcE/EtHArZcEsSGY3+Oz+NWyM+kMQ/Oluo5FL4hEReWFXjkpAD+rS9o0E856DbCFUOc72; 25:HxqNJvcPiAUSkfRLxSDOIVUQeuQrmHfWPoC2Y/+hRoBUgxLhy2AvqmJbiwSoPY94Jwc9RvS8fOOXoHFkPL8VN4ZPdG6CAi246qpDdohdz4gxAQkwRXpzvavvT0OB2ibMLGxBGtkwSnmAJD4I0BhLYfmOgwl4jB4G5jYOjTG0vW9a3+kaJpiUy4PbUkcGQCdRFC8ka9AE2n1hXJ1OclNZX5kwCjgY4M0+1PHKcyPXeOYgGAAHZwJZqRB7lTunyZ76aF4aHN1yZarr2d5cElY7boRAA+5Wq/fZj9RXl5VU9zqHHJFYqFYqW0SvBd/QpxbDcZ0zz2i8Mh9Kdl3+xAx2DQ==; 31:QLb3lbzzno6xHBIicNY0TxykVdFRACZ0L5b9CRgeTJmmyM8YWVkx+DzAUJbKxyP9jE8T38nhzNPUlYEr9EFtcBA/xbW+lj9VV3uxnoXecQKAcNoLhF0l6UjqiRxi4agw7zIg8i+t4yn+YaKQWpDvuwgyCNWXRm01CciNF+fZPKiVZ/BjmJCG0vNWrLy6ev2e22HqvDw/kuRMFMGiLvWWDSeqhHuol6/6m2oV3Mi7kDY= X-MS-TrafficTypeDiagnostic: MWHPR07MB3470: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 20:sdVZ8r0DIQQYp7V5vItQN/C8xmJI2KJx1wLDSaM+mpMS7krMjt1i8fl90CgVoplyyjCM2l3Lpya8Ygdyl1flutS3AuyeYd0obWLrJ4zYJqUEDBdeHYU/aEvbnbnIKl92ZdPQ7eZVoiTaKF1yJUInjXqltCgfDL1+4Vja7C7BHCNOgbui8okzZ7ZwZnACSCqFXKddbIP/h5V9RbeGa1PSIaRfkWxGSl0Yy0EqwQfa1GI3rPNQY02laOZvCkZmTttKPV8oUr1imzPehh2aeqzhueHVWp6QTWCFTm2ayXQXWXFH3HZX+FMD1gmZgqE7qnSzRFROseNs9RoxnpeRitSPleWeOwnusC6zZdcNhX7AdzaMm428bpvGtNWVY2LOoTOpflR4vqTEz0mYcKOnV6eGeG5yPULt3Lb4vHd3htOn6h5WiMFd4sYrH06k3/YRKT+RwjAXSRGRux3sKH70CGn2LN6xP++mG52lKivvTxEnaq0++9Znyjan9V2jTDq8k0j5PBgandEMRVlXd5J22M7bNtH8Q8+LL2MZtKd0kA0eRMM1k1e10eTl4pWBxd9rGJYEWtjfuuIU9zapc15hkZLpMxgaFLw3/zZm1SET6xUNieo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(3231022)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:MWHPR07MB3470; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 4:hrNBTM2HjOGwnf+UO0UhwG8OilSk1lE0jdy5ci8FMQv707qKnXycTyjIaLqmxnyyBtbrVpJGGaySKfF9vpDL/9Yhi7gHljL2xvFLINis/yys4O4zAra6fq7qQdS1Yr8WpmiAW+uiLqTJy54sthtvTU1TlJn4L5RuSm/uWMKS9/BbHymPEg5GD23Jjzh5lrR0E3ijldXnpu9iqjL0A3s4u6noJBpUNJjqH3mtMUOqVff/LFvOfLpERfTDvqvPK7NEzMG/1OXUeO9Zn4k2GTN3LuyaKBheIfyUlg/mgclG56yuJ5LyKkryj53277JzXUGzHicUXlTry9LwsaqxU+EypVxnZMrA38/0JhIyc5+q83o= X-Forefront-PRVS: 0518EEFB48 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(366004)(376002)(346002)(199004)(51914003)(13464003)(189003)(24454002)(6666003)(6636002)(4326008)(6506006)(55016002)(9686003)(6246003)(6862004)(33656002)(8936002)(229853002)(25786009)(68736007)(83506002)(53936002)(7736002)(305945005)(97736004)(33896004)(3846002)(478600001)(66066001)(47776003)(59450400001)(50466002)(16526018)(52116002)(76176011)(58126008)(316002)(16586007)(105586002)(5890100001)(2906002)(6116002)(81156014)(81166006)(42882006)(2950100002)(7696005)(106356001)(1076002)(8676002)(5660300001)(61506002)(5009440100003)(72206003)(23726003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3470; H:localhost.localdomain; 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; MWHPR07MB3470; 23:cn8nPVezIRM6pMavYfsujTJb+gpeyNtL5VYOHMYsP?= =?us-ascii?Q?dk9Mf7KTzBiUoXWBP2qnfROjkA1qjj9J3oLA0ZF/uYhpdtGMAtDJ9HhLaZ2Y?= =?us-ascii?Q?jr3SGygJFFv8aKYseNq4WnDjcTCw1Y3s8vHwy5xIhno7iQy771ivk9dXsbgh?= =?us-ascii?Q?Vkadw6P+jJF8kujyphlbmvRNS/P3HF9QBJn6LP3TOtAMlbEjhbbeq7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WX8VuQw6S5CO5Q9cIeqYt3m6A08k+8l9zbAKZPybTNpodQsq0vqfbgcrhmUarvCR2jwGI35BQoOQVEgpfyDe1ouLnJ4up7U+JlHcIk7lY5a/a2K/9Clf8fMtzZ8/VLOC7DFaTFcm8emmzsKl6A/nMHZL4x7XP7JGSEW+kiMiR+6Xvw SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2017 07:37:44.4830 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 49856ef2-cd94-4022-a494-08d5406a11fa X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3470 Subject: Re: [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: Mon, 11 Dec 2017 07:37:47 -0000 Hi Jerin, Thanks for the review, will make the chages required and will send out a v2. Pavan. On Sun, Dec 10, 2017 at 01:58:08PM +0530, Jerin Jacob wrote: > -----Original Message----- > > Date: Wed, 18 Oct 2017 18:09:00 +0530 > > 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 > > Subject: [PATCH 0/8] app/eventdev: add event eth Rx adapter support > > X-Mailer: git-send-email 2.7.4 > > > > 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 > > Please rebase to latest next-eventdev tree and fix following check patch > warning. > > ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same > indent > #154: FILE: app/test-eventdev/evt_options.h:284: > + switch (opt->prod_type) { > + default: > + case EVT_PROD_TYPE_SYNT: > [...] > + case EVT_PROD_TYPE_ETH_RX_ADPTR: > > > > > 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 > >