From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0081.outbound.protection.outlook.com [104.47.34.81]) by dpdk.org (Postfix) with ESMTP id 4501D1B3C7 for ; Sun, 8 Apr 2018 10:58:40 +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=qRFNtX7CQcPTVpO4soAreKtBe4ZfC3CS8VprQIkuUgg=; b=eRd7Sf1CwL1AaysCF+FHxPZAf9wjNn0BvoTLn4hQGi+KD+C2hnc9zYkexSAwWcEVZHUlKqZu8GD5C/GjJP1o51kQqAIM6B6fcBg9uorYr9p3gdOcshLSSbRZufiNC71GX8pHxFMS7yEuphIqJuo1amIB5fZgHf3LFSFRvjrSlp8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn (103.16.71.47) by MWHPR07MB3469.namprd07.prod.outlook.com (2603:10b6:301:63::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Sun, 8 Apr 2018 08:58:35 +0000 Date: Sun, 8 Apr 2018 14:28:11 +0530 From: Pavan Nikhilesh To: Jerin Jacob , santosh.shukla@caviumnetworks.com, erik.g.carrillo@intel.com Cc: dev@dpdk.org Message-ID: <20180408085810.GA17529@ltp-pvn> References: <20180216213700.3415-1-pbhagavatula@caviumnetworks.com> <20180403150514.24201-1-pbhagavatula@caviumnetworks.com> <20180408025534.GB13341@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180408025534.GB13341@jerin> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [103.16.71.47] X-ClientProxiedBy: SG2PR0401CA0002.apcprd04.prod.outlook.com (2603:1096:3:1::12) To MWHPR07MB3469.namprd07.prod.outlook.com (2603:10b6:301:63::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 474a1dbc-cbf2-463e-4bc8-08d59d2eeaa0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:MWHPR07MB3469; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 3:AZbxj4h86dz5qvy5kpHGZRSfdRmNRjOj30HTcE3r3uDlPTBL10nr5GMY5ti6jQfY/ilIfsjqNo3E2CnV91f3Y8YiEDBI0u1eBCQu3rzWNvSrBV8RrhHMej1BjxUGr+8qtagZAf0hTw/dCEh2NIaj9wa52NJqepQEQJnDTzPOMKkZm3ftZs8coazU+wpdiB2vsZIJ7pG6SRBvadctQBj49JDx1QwKToCK01au0I8jZgGmYUZwVm/4A0fBFTr3wIqD; 25:BQ5OoBTUa6NbPl79w80SThfzHoZ0bUCP+tbQquRzGvhs5Qvk5RacM+dW/yjyxCVIAbj/sTovgaWu4vi1pYENzP3gthyQLswMliPQ2hqhadhDRwTOXkHkh0qaN1CQ+r5tHeH2xr+Y4A2nxxQo/z7cUnolt8KfgyIadcew5l6lXdNFT6Kp14MtzB7uAvu6iLKdI6n67BMGodUc0OwG4lhQD8lQEp0V50pyBi8uaznku1ygq8N1wrA04XNC/XTk5P6GhgtiScZ2yiSmQUX+0p5joLsW/gxaVcs7E+UtKc1mZ0Sdgmb9Iv1ORCXsd9hAMle8fHjgy6cUnctvWEJsPNXWjQ==; 31:yeI6rhcY2Bx+RTrBoTlWrw4z7gRMJ2giN6YAiGWHBGMWAbwoHHIslq/lf8Voe7rAi34Zbo0A3JTWL2qGGEvR0HXKlD+kIRMnsgkwnAU10TbCx1zW7GnJLHbOETAwXNfW03qUzymC/63q5FYLKOG5ewmZhaF8KiSp3fWidgoLPW67v+t5klVAt00RfTSsXB36KpwaK6kALZM/GBTb2ixZX3HXGGJaa1z2bhVk80juQZk= X-MS-TrafficTypeDiagnostic: MWHPR07MB3469: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 20:FHR0dMmdB0GhgmIf74QfgMrlBrVy7wkq23vxP2RGAeNSaG0gIvoIAGi4Fovl7Bem+inzcbA8Dlvl0qX8Gts6zeoYq1J8daszxJgmDCX9EJn6hgSV0fUvARAr3VcYdoecNj8pWzBkPK6c1w45tVX7qzUEsfuL2wCucgGkpGEJ12zeU0FtZrSUcMWTXPtpFPZPnYOfGFdU1cGxePhXGWJ2TpwFwkigWVK0cetJ6A762bPV7wk6//4cl8+fDs39f9scsMHx/uvCx75130t7TasMJwjMg+7E8XzDof9yH16UKGnkuzw9L64nwbHCwX62CXClLkNDMteqC35tTYZ055yq0xqs2XdvFFkx/8RoH7cqZ2N5q1HFCe8/H+KYg0ro9TYsJ11FnhGw5GOUoi5xXkJpchJNVatfxITvy8MoAdwSwSqNQ/UiKvHGBiVogRKH+Hql4ihpgh+za1E3cyKLMgkzoja1WnkQyi+kVIE2I1YwhLEhrDb9NQhlIPO4vgd4GTAydalcZWGztZWoY3wRPsUOPHHQOTu6PANHGVVkfl3luYA4nSf+L60Xmm/uPJZ7crf6SPRz3TGD5HUGeizg2x4SHVFxB+FJUMyGydiXgtb7LbQ=; 4:cmJ3gELTjkkr3PxVFIXP78pgky60N6gkoFxBKRVsaz5MBgHzSDlSzox9GNkvqi2cF3+e+LLJI+Ztw8AnTf2cR3vx6J0ab6KtsfoKppUBjMOeeeve9W9T4aFLUtnc/4s7j/g6yc1xJhyP7XBjT2UnzQwioTnofwS9puY6PeSEScS9LBH5H+u/1IwhCcqLwLYjKV/fPmXcPDujxf8OfeC3AB+l6GmqtwrOsRDJeer3vawyVjBW+WNEtKn//67yPt1VOKjvJQVLIFMHwrDddy+6Tp2BSZs8mCL3sB9wyNhC2GYUz3V5m3U0PLZw2J0tCxa2 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(3231221)(944501327)(52105095)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:MWHPR07MB3469; BCL:0; PCL:0; RULEID:; SRVR:MWHPR07MB3469; X-Forefront-PRVS: 0636271852 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39850400004)(366004)(346002)(376002)(396003)(39380400002)(189003)(199004)(51914003)(13464003)(33656002)(55016002)(7736002)(16526019)(476003)(486006)(6116002)(478600001)(966005)(1076002)(3846002)(8676002)(1720100001)(9686003)(33896004)(81166006)(4326008)(53936002)(305945005)(53376002)(81156014)(72206003)(23726003)(6666003)(6246003)(5660300001)(6306002)(316002)(97736004)(58126008)(66066001)(956004)(2906002)(8936002)(25786009)(76176011)(6496006)(11346002)(59450400001)(446003)(33716001)(386003)(42882007)(50466002)(68736007)(229853002)(26005)(47776003)(52116002)(16586007)(106356001)(105586002)(18370500001)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3469; H:ltp-pvn; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3469; 23:Q9aBSdsziDJaDu5oniiko9F5l6LTNaJ524gD6Eq/X?= =?us-ascii?Q?DJpFPPx6Q4tXXkn2IWw53Z6r7lXfHSdJRFj+ddz2ZQICfD2cUOSuC8JmHfuW?= =?us-ascii?Q?SCaBq+UsXXra1Zg4o9DPZUV64n6fKlaoe1Vp/V8icBme2Sda/KEWDbz6uYmd?= =?us-ascii?Q?uNNZkmx0Q3RZt06tcwo6gxX2a4EMGbWOvP52pWRbMzPEWfAAp6NjO8Q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uefU10Nx3ir+t1lXMPl8VRKFPxcs2Y7JE50bA6nM6?= =?us-ascii?Q?gWa5qh401S5nRAJvYOzosnuX8oL3da44O+9QUMc4YkS/hgZCS4Irlzzfvf3/?= =?us-ascii?Q?ZAD8OMeXW7jnWnurd2yjVqRkWz0yPCHI9aTNFQr+lkuAiJB9BuMlq76wPKK5?= =?us-ascii?Q?QWeU+A38OOVLKrMQ1PiHCuXZ6OoQdJEVpu9pU1TJdmEiGK3kx4ZUBwhZfsR/?= =?us-ascii?Q?D78DRwSnu7sj2xBsNhttOkjaElnr+XxbDkkJvial6ddIYTOmJ5OeLVDLY1El?= =?us-ascii?Q?djvh9O91GjUtVS4vzeW90FjQKmtN5ozti7ur6yxMf5hQ/ufijVs955dpForl?= =?us-ascii?Q?yeEbyR4DZQ31mSbPLCnjSbXhi6slqY=3D?= X-Microsoft-Antispam-Message-Info: 3wH7wBnG4CxTCPaCE222AgZhA71NkQqkWHoYR135M9Xec3xSYYKAlXe4WvFxhDm8N+ukYNJPD+ainzL53e0Gm2L9TZvhoSHRR8bdIeqnVW2I8amU+j/FnZlf4UAb3Csiowh3Pn2S89+ACC0oCA7CXQ6xwJwOfgZ/0ocWQav/pGTr5sC5krqmAGBBVJsG8ufF X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 6:kCzXDPVO4oVzWJkroNLXNM74mv7JbNTw6CtQ5cQarid8Jiy0M+f1iIPDNqliuypF/jaYr8+0xw0+963ppXQ708mACrYbZqFeegEBgl8EabAXoIdEMj8KhVrkMwjZyEzec2pBFuJqYzrKeso+rakxjVZw57DOqXmJD3heSNW7pq0nKYB/quACqE0y0Kk3wiGBX7wQH14zlwOTBpeaD50GiOZ8trxKhN82TcGEw47RNcRCrWSnKrgZZY3gDRcT4/HP95pS6Sp2tw9/uYZxoDPDPqvYvElgyVJIu5DZ38VcY6XKcoYz8wv+vuUVQcxIq8iwAe4a+rTe62bT7Bz4UK28xSgmNI6oTMl1auCfAX5otqYuro2swPRRNd0eiDtTGMTllQvIT+zXW6PW6J+NG3MoPpE+Di2BOSS2ssl9+DGX8G84sVjBk7mfOnA1bJCoRsKkXAplPQu4cj9FUdj4aUh8Sw==; 5:Ky0pg/6PKHrYD3EuFaW8LS5ch6V9KhRgk9LZwZQA7EqbDq39+w6qMpM4U9x42gQYlXYS4p8rz+6NsBWbz57Jpo5ALB6lqxvbo5m3equRevThnP4QCnfhZdb8kc7Qe7DQiWflrBatPT3ZB5fQU5X6u81ry1bPO9ITpwxXVu7RnBU=; 24:Z7Lq9sfj3J9vf/9PLGpjVrvTLRE/uQRVDnymzNDv19pDzbwh+Sn9ZjjSdOS6j5s+1BMt2nYCrKcCmQh2Lm2fbR1s8FDvmH8Co9pcrGWL/JA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 7:4eVluElDcx2HoI5+pNM+b2efm69wL2fQO2mIp4T6CjFe+MgrrdjHfLSSFhJFFm+wAdY3lTy6WErVQVlaKGTyYUTQkh6IjFdu4ZgJVzLrf+ESq2JOPrSNpSB+1jj27wqjYYJKirVWOhgR6GASphIrklhHNuqOXQzjOKP9u64FPY0nW0sgQIP1ezyCamU9p0hCWxiWS5XbNmsaKGGjjBhO/qCloRlbm+hNdXEQ8danm4VfQec51Inh5jCMj2PsP1SM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2018 08:58:35.9133 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 474a1dbc-cbf2-463e-4bc8-08d59d2eeaa0 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] [PATCH v3 00/12] event/octeontx: add event timer adapter driver 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: Sun, 08 Apr 2018 08:58:40 -0000 Hi Jerin, On Sun, Apr 08, 2018 at 08:25:35AM +0530, Jerin Jacob wrote: > -----Original Message----- > > Date: Tue, 3 Apr 2018 20:35:02 +0530 > > From: Pavan Nikhilesh > > To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, > > erik.g.carrillo@intel.com > > Cc: dev@dpdk.org, Pavan Nikhilesh > > Subject: [dpdk-dev] [PATCH v3 00/12] event/octeontx: add event timer > > adapter driver > > X-Mailer: git-send-email 2.16.3 > > > > The event timer adapter[1] provides APIs to configure an event timer device > > that allows an application to arm timers which on expiry push events to an > > event device such as OcteonTx SSO. > > The OcteonTx TIM is a co-processor that can be configured as an event timer > > adapter which can be used by an application to manage event timers. > > > > The TIM co-processor processes the event timers registered and pushes > > expired event timers to SSO based on the event queue, schedule type, flow > > id etc. provided as rte_event while arming the event timer. It maintains > > event timers with high precision and time granularity of 1us (microsecond). > > > > [1] http://dpdk.org/dev/patchwork/patch/33525/ > > > > This patch set depends on: > > 1. http://dpdk.org/dev/patchwork/bundle/pbhagavatula/event_timerdev_v9 > > 2. http://dpdk.org/dev/patchwork/patch/35216/ > > 3. http://dpdk.org/dev/patchwork/patch/36089/ > > > > v3 Changes: > > - change datapath function return from int to uint16_t. > > - Add missing state checks while arm/cancel. > > - add stats. > > > > v2 Changes: > > - Move common code changes to separate patches. > > - Reduce ifdef clutter. > > - fix improper return value (erik). > > - remove redundent ops assignment (erik). > > - update octeontx documentation. > > Please check the following : > > 1) It has build issue with 32bit build(gcc 7.3.1) > > 2) clang6 shows some crazy link errors, even though following symbol > has been not used. Looks like we need -latomic > undefined reference to `__atomic_fetch_add_8' > > 3) Fix check-git-log.sh issues > $./devtools/check-git-log.sh > Wrong headline lowercase: > event/octeontx: add multiproducer timer arm and cancel > event/octeontx: add single producer timer arm variant > event/octeontx: add burst mode for timer arm Thanks for the review, will send out v4 with the changes. Pavan. >