From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0055.outbound.protection.outlook.com [104.47.33.55]) by dpdk.org (Postfix) with ESMTP id A1C622B9E for ; Wed, 29 Nov 2017 11:34:58 +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=rbGKW13ADNYOYVgT7adKGm2zvpl68kxO3xGUUpdPTmg=; b=gdX/Y2HML3AmxcJP2hlhf/HOTKEWhPcOLPzldmy2Ef2oqVirUH6sZSznZen5Vv6bTiLzE3RjL4tivrwSfX2qAasdXreghaZ2igvHL3igAGPww9Gdew0mKn0b8juy7n06mPBSb9xpgLweUxDrHGGD2OH6R5SxjbmEvp4Otu0iRAU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (111.93.218.67) by DM5PR07MB3468.namprd07.prod.outlook.com (10.164.153.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Wed, 29 Nov 2017 10:34:54 +0000 Date: Wed, 29 Nov 2017 16:04:47 +0530 From: Pavan Nikhilesh Bhagavatula To: Erik Gabriel Carrillo Cc: dev@dpdk.org, nipun.gupta@nxp.com, hemant.agrawal@nxp.com, nikhil.rao@intel.com, jerin.jacobkollanukkaran@cavium.com Message-ID: <20171129103446.4mvnuvalk5wn2tfg@Pavan-LT> References: <1511217333-142455-1-git-send-email-erik.g.carrillo@intel.com> <1511890808-6072-1-git-send-email-erik.g.carrillo@intel.com> <1511890808-6072-4-git-send-email-erik.g.carrillo@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1511890808-6072-4-git-send-email-erik.g.carrillo@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: DM5PR2001CA0003.namprd20.prod.outlook.com (10.172.43.13) To DM5PR07MB3468.namprd07.prod.outlook.com (10.164.153.23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 400cbaed-91f5-43b2-57a4-08d53714d58c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603268); SRVR:DM5PR07MB3468; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 3:N9ikUh9jYWJ+ZxhTb0d1gQL25wmV0Il+REH//6LLEomIttkjIHRGPpyxhMk7qkGTnw4217PuNvjVxfb3NGXPqLxKM9dP79avoo9u/LbkkZq0RQpUuR31Vg9tM7fe9D1+SVGZVjtuUj3JpcqgWK7w+5siLklPEjJ8nvmPxkXyPjX3Kjr+HGEzY3RvIN3ACz9YBOHwG0+z3lMxhHrtKXVOhBEV5CZUSsoW7G0Ab1p6EJiR1Cxr7JATCIPd1hOX/sIa; 25:sFWLpryVL9VIcLRoiTK/FUKmQHfKZDC+EUsTik8JVUSxw7soQIx1mw5S1XbIPxojLeGL/AeW79ZS6WaRwcllfv7f6KeTQCVJkO3W97S6zEfn9egO8PQ5XdC1d3RNbUFW8vCLi0dkCIHV/mfRe8aCP7YTNjgoRrjD2M2J8Q+laJjoaQ1IrScTbw+rq4be2OrwEnQyhGfi7mlbddsbUR/L50Vxg8FHImMSkQVdHT4GM74qWT+m27MSTbTlj6EV4NQIvJz64FnPEgvbDDvcPJpwfY/zqOYo0CAXf1qVjiVa3u3m7mQWocow2QfCJHjgUU/1BXha1a/DVlj2VHVODO4DTjuErpgmAaflFXiGzdz2u3Y=; 31:H49AQBBibuEQH1plEcl7hhDZ6jlzyQSL3HSrgaoVsE2EPzvRGENziCxJNYfL8pso1P8Sjd8+NaJKNRoYpSeDP/qwbAIW276mQCsCImjoNQnbRBVypb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+aN73rVn1uNb3r8qrQUKBJHBwiPVDLUc8M54uUVkUK8S1EDH8wy6xYdmIe X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3231022)(10201501046)(93006095)(3002001)(6041248)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(6072148)(201708071742011); SRVR:DM5PR07MB3468; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DM5PR07MB3468; X-Forefront-PRVS: 05066DEDBB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(366004)(376002)(346002)(24454002)(199003)(189002)(50986999)(76176999)(5660300001)(54356999)(2906002)(8936002)(68736007)(25786009)(6666003)(55016002)(42882006)(6916009)(2950100002)(9686003)(105586002)(1076002)(106356001)(23726003)(3846002)(6116002)(4326008)(53936002)(33646002)(107886003)(101416001)(6246003)(83506002)(81156014)(81166006)(229853002)(50466002)(8656006)(189998001)(33716001)(7736002)(47776003)(8676002)(66066001)(305945005)(16586007)(52116002)(16526018)(72206003)(6496006)(5009440100003)(97736004)(478600001)(58126008)(316002)(107986001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3468; H:Pavan-LT; 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; DM5PR07MB3468; 23:UoSpwmq/bGvyuOiV5de7UIE5yPD3kukyPGm/GQfVr?= =?us-ascii?Q?AJyEVv3IJ0ZI2k/2DE3mRrjAtNvNuFVbCbn2OuD/zC5pq1LAzx653sjarWx5?= =?us-ascii?Q?b5XEuvkL8zN7LvL2u39a0mvNGjXriHvZ8259jk1PMF9LEM18/ygBEwfyqlyw?= =?us-asc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lJH+VdMv6ckdIPOXemRA0fTGg6lY+xjzdr2RD4bCca33Mr+vq/GPRYvPnmc42Lwn7BYivpl4GtVbusb4n1FXRA7ib8l28hwae49tOB1t/pQ3GhqmRMeMWDUXcZ+qtpyvIcT5lQb/8iyON3IPClZPEuIlUR9PzZ+q0+q5vF7i36PgjpXLav6n2Sz3WRxCTssVOEU9h/4PoA5lYLfu4GpbQDenp8g0x1klSYIsRSCfBjYx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2017 10:34:54.1129 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 400cbaed-91f5-43b2-57a4-08d53714d58c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3468 Subject: Re: [dpdk-dev] [RFC PATCH v4 3/4] eventtimer: add default software implementation stub 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, 29 Nov 2017 10:34:59 -0000 On Tue, Nov 28, 2017 at 11:40:07AM -0600, Erik Gabriel Carrillo wrote: > If an eventdev PMD does not wish to provide event timer adapter ops > definitions, the library will fall back to a default software > implementation whose entry points are added by this commit. > I do agree with having sw driver in lib/librte_eventdev as it doesn't fit anywhere else, but it seems out of place maybe it would be better to merged it with rte_event_timer_adapter_driver.h or in rte_event_timer_adapter.c as done by eth_rx_adapter. Thoughts? -Pavan > Signed-off-by: Erik Gabriel Carrillo > --- > lib/librte_eventdev/Makefile | 1 + > lib/librte_eventdev/rte_event_timer_adapter.c | 14 +++ > lib/librte_eventdev/sw_event_timer_adapter.c | 123 ++++++++++++++++++++++++++ > 3 files changed, 138 insertions(+) > create mode 100644 lib/librte_eventdev/sw_event_timer_adapter.c