From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0067.outbound.protection.outlook.com [104.47.42.67]) by dpdk.org (Postfix) with ESMTP id 66CA3235 for ; Thu, 23 Nov 2017 05:37:29 +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=HzqVcT95aEicokdqutsepTH5LGbuvVwI5oq1eX9bMWQ=; b=NPHIUYB4JVf8n49lHNFbSk8b2TZwn/FCDYbqWrxQtxuYml1WSid4sXT+SIwabkfuJ9eQDmgJHLA4DrvNLIQ3+7ups2e9wYk+T2XTlrvjPteB73gBBfGjCuZdgcvoqNZKCHsTe50Ax+1lWLKm7016aTMVKhFRRlNnFap41bYPA4g= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (103.16.71.47) by MWHPR07MB3469.namprd07.prod.outlook.com (10.164.192.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.239.5; Thu, 23 Nov 2017 04:37:24 +0000 Date: Thu, 23 Nov 2017 10:07:08 +0530 From: Pavan Nikhilesh Bhagavatula To: Erik Gabriel Carrillo Cc: jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, hemant.agrawal@nxp.com, nikhil.rao@intel.com, narender.vangati@intel.com, rsanford@akamai.com, dev@dpdk.org Message-ID: <20171123043639.ekdsbe6m3oyyjroz@Pavan-LT> References: <1506093431-57588-1-git-send-email-erik.g.carrillo@intel.com> <1511217333-142455-1-git-send-email-erik.g.carrillo@intel.com> <1511217333-142455-2-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: <1511217333-142455-2-git-send-email-erik.g.carrillo@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [103.16.71.47] X-ClientProxiedBy: SG2PR0302CA0024.apcprd03.prod.outlook.com (10.170.129.34) To MWHPR07MB3469.namprd07.prod.outlook.com (10.164.192.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f90c442d-d53f-4607-9bee-08d5322be626 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199); SRVR:MWHPR07MB3469; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 3:lRpfsNSbwMWPEvHEVrVfF+XkuB6qxaiPejEhQjjQD/BzFZDZ4fEVEjEMZ57hpvJTgKd1bWnwfRhGWoX5zWHTQgO6XC3n5PWhyGpI76LN3xa5nPa+gFj8/YR4ITKYgJNLigXh+gRQN+IoEHieF+4XefGbB8q6Lv0E2LDhOvaBfvP0Nyq/nzm8Dmv+tskaG9prewtFpQ8sTQ04qr8hk+jxutTI1u6qPGk5Qein6fGTCKVcHodd/15hE4ug8AaIUwRX; 25:mLuTnjuSF39k/SQvKRTjq9uN0Gpkt9gs8Yi664kRTifMlnpja+g1dir5zV6fstsnrXC4MDN0BUGAs/VZsbqLW0ugvd/5NqamTBokBQKWa95D+I2OR7a5ha+DyyhG64+/5bx7BVse7CFZ03XOa5cYl+vjDljmCZcyBCb7JrlRHbpvuSWqz/WoCHBhKeDiyfGdHKpYfqOl17M6QlIwwa3tpBs6apcjKb4DJLxA9ZqXRe3hg3k0ayN5B7yHi9uCQ7N4EI8R+7ZyiOiMTcddGI2aLDpzWFxH9emgK7WxR6Fgd9ECd3N9AKn71I8upJ6HMBMDArXNYFLT566Fc/yliZPAxw==; 31:v5QRb6zztkoZyr5drNVaWda3O5LHPSSc3IWPIjUNuh7VBT5QGvtIYgDrfK2OEkZEdr1fQQbRVzpj1Y1KuMHQLNYiV2VbMtao0/Ve460SKzCN6KkCcqaKb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L6eC7lX8AX+AOSeVwnnaPrQ09OdncmYt0m/+W9hC2/Em/R4/8j X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(3231022)(100000703101)(100105400095)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3469; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3469; X-Forefront-PRVS: 05009853EF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(366004)(189002)(199003)(24454002)(5660300001)(1076002)(83506002)(478600001)(16586007)(6666003)(7736002)(2950100002)(72206003)(23726003)(4326008)(8936002)(6496006)(81156014)(305945005)(8656006)(81166006)(33716001)(58126008)(97736004)(42882006)(8676002)(16526018)(6916009)(316002)(50466002)(6246003)(2906002)(53936002)(66066001)(9686003)(33646002)(105586002)(229853002)(101416001)(47776003)(68736007)(25786009)(76176999)(50986999)(3846002)(52116002)(55016002)(189998001)(54356999)(6116002)(106356001)(107986001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3469; 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; MWHPR07MB3469; 23:XDKW5Dwuk8BSXdcD0k83IGEq2V6Ng/v33JK+ppusS?= =?us-ascii?Q?lKQS5VOjFxiAYyPj7fBAfetn7rIbMipOF7FJ3oSNIPjt7qTKqJwQeSIlEJQe?= =?us-ascii?Q?WTr53k9966y0+dtkApCypntyzHO1mLe6X1MOp2Um1R+ugZ3qj92PyKbMwjJR?= =?us-ascii?Q?Dy5FjQByGY4qhVTHpFNOGWUtta70BOcHANX/3b9RccdgT0ECim7YYmMO/H+t?= =?us-ascii?Q?ui8kMJtm2L850IvK2kFT1KBRauqrktrzFFldXVTTESnk0Jc5LUylVbRv5RNj?= =?us-ascii?Q?UfFwyB6P1GQueoLiCrqBjABfjKU2xn881puqixtTaOnhkIj9sBKWUo94QEAp?= =?us-ascii?Q?/v+RMNkwR5k+knSeQib5J9tqgxj3HkERC+Gdfr1kJmDBKJh338MSVybqYfGT?= =?us-ascii?Q?6eK4X561Gf/Rxqe6v9WHcwvx4fEyjh99f4YelZbfFBigeHqPB5fyoFVgebhS?= =?us-ascii?Q?9X797REoCVwdyHD25qHW+RMJI/cTZOMDZJE+M1vWn/V1/Zx9k1RTJlwBPMym?= =?us-ascii?Q?9k92dXx7nqDXzZ7i4R90MV1yUiFGb5701m/GaCoQ4gX7GnXCGsRmQ3AAD9na?= =?us-ascii?Q?xe/wX4P8EAhnnDB9NG6MNg6TB+yfwBZSrmDMurY43l7TyESudac2rZT2Mv29?= =?us-ascii?Q?2WKAT/WXqlOcWX6dfROadO1gE0pniTXxTcEB8iwaQkMd1ZD9f2jGCiL7jr7D?= =?us-ascii?Q?/TRMa9PPGcgDza5+wXL5RyP0CVdS3+wW4wG1axodu5NTl5hDB/tCtYOBIFdp?= =?us-ascii?Q?fQE513rSGIDR2VzE3iin5OqapGlyyMa/ujg3ACb+kCCRInWSkJh2BrfS/kl5?= =?us-ascii?Q?SLN6olWmsu3tCZO/8VnUIkis42RnRtiyeJ6NKFJl1VS44nUnZ9l09+VJQjMN?= =?us-ascii?Q?Z8dZjH5PBhs3fVqHkNBuJ7GORfbejz/l6Sr33QkmQewrFVamCzvbBQDRRW9m?= =?us-ascii?Q?n3zTU0GHElSuDC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yEuRzQyS+8juIU=; 7:m2i4JXK2pGnlr/0ImYve2YjfKxgYXrzvJZW/n5nVPRnK/0OQKmx0mfHvPM2hCcIVNEtCyG9DcIJzZFqoPIICIFjgmkyM+eSr1ZbfIa7wmvLM3SQxiQA3XAdfVY6rNF1pckD4I5NXDNKIkeu24O9XsgNL1hRctF0kZ0dlE3agTPj6nJYz/9V22JoIGnELI0Xz3O2P277NBz7/TNr5YGOeeh2wrTStl6XPRir0oEwNVspI51XTAybR23FrY74j/Afx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2017 04:37:24.6565 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f90c442d-d53f-4607-9bee-08d5322be626 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3469 Subject: Re: [dpdk-dev] [RFC PATCH v3 1/1] eventtimer: introduce event timer adapter 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: Thu, 23 Nov 2017 04:37:30 -0000 Hi Gabriel, Can you please split the patch into smaller chunks so that it will be easy to review and provide comments. Regards, Pavan. On Mon, Nov 20, 2017 at 04:35:33PM -0600, Erik Gabriel Carrillo wrote: > Signed-off-by: Erik Gabriel Carrillo > --- > v3 > - Reworked allocation and ops organization in common code based on feedback > received from Jerin and Pavan. This will allow fast-path function pointers to > be dereferenced with one level of indirection with pointers valid in primary > and secondary processes. > - Moved default software implementation from sw_evdev directory to eventdev > library directory, which will allow it to be used by any eventdev PMD as an > alternative to providing its own definitions. > - Reverted occurrences of id back to pointer to adapter struct in library API > - Added rte_event_timer_adapter_lookup() function back in