From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0051.outbound.protection.outlook.com [104.47.36.51]) by dpdk.org (Postfix) with ESMTP id 6481025E5 for ; Fri, 1 Dec 2017 06:16:00 +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=rm0ijBGMexkWMqdr3sBmCrmHax5jc9EKlQJVfh8dOL4=; b=a/T9ZQN54ZogC0iquDEjiUiygs3NoBXKIy9Sn6TOxNpM/MW/7BvY0lprWjqQCqf1yBwSyZns2rFcJjWYsH5lISISE0iOpllHs4zmi+3Btr04G8sCTppw0a7XoX9xOUVcNsKMXR9UJOc0UeW2m+pn0aypEWyz8xFZUGelaEFNUd4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (103.16.71.47) 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.282.5; Fri, 1 Dec 2017 05:15:57 +0000 Date: Fri, 1 Dec 2017 10:45:43 +0530 From: Pavan Nikhilesh Bhagavatula To: "Carrillo, Erik G" Cc: dev@dpdk.org Message-ID: <20171201051542.ffdokbwme46efiq2@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> <20171129103446.4mvnuvalk5wn2tfg@Pavan-LT> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [103.16.71.47] X-ClientProxiedBy: PS1PR0601CA0096.apcprd06.prod.outlook.com (10.170.176.150) To MWHPR07MB3470.namprd07.prod.outlook.com (10.164.192.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4513c34a-7411-4efa-d84c-08d5387a9b42 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603286); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 3:OS5hltMZJDqGfKkqhpZ8Nbl002TifNPWox1g91aaeBdCZWk25b4OjV0F6yp1z/nmj1eZJxf/qCAg2BbGpdRG2CWkbfPLaQnMXxT5Hl+EomyeeD1Ey5F9hIubRUM+xjdPamrmqdH4pRxUTDa34xGEjSyqJiAZbwI2pK/VqnsOd4WHHQAuHNyLCT+XJWFLSw9//NfTejSbOz02ai37hlT5nl2yZxXnyS3V+cKFXZs287eF5V1QGWe/j0NHJX6CxU9B; 25:WpDevkEeDecXfJmh13YhmQksp4y1QrqW+cOvxMIw0x30oR57vDqb+sjby2mS5yTI76i19EBWc6U0OR4OXldHm6iY+wn1HQwbrBrfktRKwf60Fw9bOP5nfUBDSHBpmaW/5P4LQV+EF2uqV1cPblAiGx95cle70P1VfpcvFR5q8xRHMe1hl2+XB75QdxO0Z+xLc78tKe+iAjAcijLiWVjLiN/gSoYvqFBpTjoggipQD6JfH5jENr297D+90Qo0jI2nAngz61kBGr2V7eRwuuaP7D/8ZaQOzQuDYosI+YZpAs/X7daTbYGhTut14ErEtm9tITycZ/h+hDBQReHuyPMMhA==; 31:90ShJMOk4k19pt5/16jXQHhHSaXk3bqkXA2Q1/rHpz7N7p3oaZZP3/0HAyGzKKFulYTGXi9Byrt32/IzlvR7BBVmin0iF/Lb8BCoUty8MEctmAGdsQLuIt9HMa9T2ywMueGJYhmV2pu0A1V62Epl3w51nSAVE9fs+gPo6G+Wk/lmiRWgJIuJjOG5m9UrQvJA/Jeo/5GqR8TUay/4Tm4vamBh7QTqSjhjBLyctrRP4Qo= X-MS-TrafficTypeDiagnostic: MWHPR07MB3470: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 20:ktDejj75HVka0dCrXiXydIkxd+Z0oXz0mdiWYbp8LpOZ3ppzw0lQ5HRxoDCqiDEGkz93Y/bj+twewnKiIVItbnE8sKLPFQn5G3xTSw/qhMo8iUHkX4zoXpFqvcVyd75l74YkEvvHnTq2K+SUYp2B6CnzM+4LvR3i8zDzZQjm5jmVUgU6ymxxoD8nVc4CA2cFCC2OGxFn0j5Aqocj52Gu3CBrs7Pqd9bDAQuwFQ78AieEbRBa4KTDW2YwMU5GdwhJbcsQQJLOQzAM5sQbu5a2dum9cqX2ETqJE98sU0IpQCYCerCpEuPc24fMB0cAIyho1nNKI2X8/cNj3zmj/HaRGCBOKql9PVoOsXRGoWOQ/Kv1d42gUkeaYtQeecezTvogi9wyiOeTxWG9e6H5f4mQwjJUdVooSrgCyyK83B78nqFfvm+1QWcMJYANGJ3Rlgtx6UGasf0sqgOhQUI6Jx4oNlrFcnmK+32kRyBFtOo2zoMi9WQjeI0FB4OBcpKLoOBYar1iiwQwq0tz7QY5fiCIQz6Q2f4qCYe2UzAT3z1jbCp8uSYZdmyHg+axyC6+Fs3/WKxZeUgH9fKdePIvuPLgjCaI+27mx5Y/SzP5fBXBoeg= 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)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231022)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123555025)(20161123562025)(20161123564025)(6072148)(201708071742011); SRVR:MWHPR07MB3470; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 4:lHm4k41UJy+DjW7QqdxtoQLrQDdKqxY+ArdELq/xR/Flfqr7lhYOiPHOTnZJt36cA6WP4fKgVjhziMSmuFTpMk40rxRu8X86lpEZP1OdUUNS99YqcKVfZrzxL/GMBvC9lhemVaJwwOTKeacGd65aCUzejMma6eyQnmcEf66OgfViU2hNDhEX69pzQAzHmh+EyLIm0Rmw3FU/2LCWC5jz62YM8HDI6rX3UIHJV2oDG4UDZCawMdFJwIVDsKJc82unD9TNNYp/rqZ3Nl0h173GFVdWswbAAkLP7cZhXZWBE4OB+FS1iAk2AmO7+YMbCTbcYL7zJi8deloIxWCYQJDWXde8BObQxzRRYSD5KtD2Jps= X-Forefront-PRVS: 05087F0C24 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(366004)(376002)(346002)(24454002)(13464003)(189002)(199003)(33716001)(25786009)(68736007)(478600001)(81166006)(8676002)(81156014)(52116002)(76176011)(6496006)(54356011)(50466002)(97736004)(53546010)(8936002)(72206003)(47776003)(58126008)(2906002)(7736002)(66066001)(16586007)(6246003)(316002)(3846002)(16526018)(106356001)(23726003)(105586002)(93886005)(33646002)(1076002)(189998001)(6116002)(55016002)(9686003)(101416001)(42882006)(6666003)(6916009)(2950100002)(305945005)(83506002)(53936002)(5660300001)(4326008)(229853002)(107986001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3470; H:Pavan-LT; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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:rey0b9SGnPR/s0w7eMZwWPbvPs7ta/HeEGJKuO/JO?= =?us-ascii?Q?msJbFKHnc7HteA5Xius/z+NssrATuQio0XWkoeTBXWKC9+0APa6SudVPVn0A?= =?us-ascii?Q?SXlMmD+tOQvP8VMi76RrVfDQH7OY4Hd9Nf5gYH5tekG5DlVSn84upOkKd30Z?= =?us-ascii?Q?4iH7Lghj0/jaTZ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EPCVg9aeSVdOd4M3h6Hh7GBHdiC9Y6khZD76XZg=; 7:ql25RDBRyaHhrXkDuMivVGnzln7gCTxT8ymnnmjMNOEwsUwUeq+249jKd1SNQGpy1EJ7rH/uhRpTrlRbsXpCwrTx69fr/pb22r+88ROQA1G4ppM9myBiJI4stOGYJilYvceUQoqYHpMWpQpDnBCSswiBLaR6ovlAwu+3S4WS2I75eXMlMcglfNFABjby58okSPl2xiYaRmZNjofZsY8rN7O/wY9hvFBQmqWP23EsrEfZNaFxmp1M3a9cSfYUNzhi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2017 05:15:57.1526 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4513c34a-7411-4efa-d84c-08d5387a9b42 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] [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: Fri, 01 Dec 2017 05:16:01 -0000 On Thu, Nov 30, 2017 at 11:56:20PM +0000, Carrillo, Erik G wrote: > Hi Pavan, > > Response in-line: > > > -----Original Message----- > > From: Pavan Nikhilesh Bhagavatula > > [mailto:pbhagavatula@caviumnetworks.com] > > Sent: Wednesday, November 29, 2017 4:35 AM > > To: Carrillo, Erik G > > Cc: dev@dpdk.org; nipun.gupta@nxp.com; hemant.agrawal@nxp.com; Rao, > > Nikhil ; jerin.jacobkollanukkaran@cavium.com > > Subject: Re: [RFC PATCH v4 3/4] eventtimer: add default software > > implementation stub > > > > 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? > > I had also considered merging the SW driver with rte_event_timer_adapter.c but then thought it would be cleaner to separate it into its own module. > > But I'll make the change so that it's more like the eth rx adapter, and if the file gets too messy when we flesh out the SW driver, we can break it back out. > Sounds good to me. Cheers, Pavan > Thanks, > Gabriel > > > -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