From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0040.outbound.protection.outlook.com [104.47.34.40]) by dpdk.org (Postfix) with ESMTP id BFA471E508 for ; Mon, 11 Jun 2018 10:33:05 +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:X-MS-Exchange-SenderADCheck; bh=1yLnjemfx8S161KVDszS2jZdOxORV9p03G1EMXPJ7fE=; b=PQwg4YRqmQrcfDLCcR21ZY0ijhWs04lL+IWazY21t4k2/Rhl8hYTKefCFdw8O49VA8fmK3Qg3ubf68PV65PdpswcF4E+8fD7joTYxxdMlZZWcweijtUXwhSyGSOC+03umcKvWXQhiBHES4+7KHgCC3hEg0yohC+shp7eBkK3JJw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by CO2PR07MB2520.namprd07.prod.outlook.com (2603:10b6:102:13::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.13; Mon, 11 Jun 2018 08:32:56 +0000 Date: Mon, 11 Jun 2018 14:02:32 +0530 From: Jerin Jacob To: Anoob Joseph Cc: Bruce Richardson , Pablo de Lara , Hemant Agrawal , Narayana Prasad , Nikhil Rao , Pavan Nikhilesh , Sunil Kumar Kori , dev@dpdk.org, gage.eads@intel.com, harry.van.haaren@intel.com, narender.vangati@intel.com Message-ID: <20180611083231.GA31558@jerin> References: <1528478659-15859-1-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1528478659-15859-1-git-send-email-anoob.joseph@caviumnetworks.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BM1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::21) To CO2PR07MB2520.namprd07.prod.outlook.com (2603:10b6:102:13::7) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(2017052603328)(7153060)(7193020); SRVR:CO2PR07MB2520; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 3:FIswmFhMjLDA/dO6QYYrmb/XQNajs/v0xdlzeKl5AW2H0ImbwV0O9GNDU8qHFTdNVwX1MVMSe69CcNW59VGQE8kqEr+bjcDcxLvcT51SZDFQa0ui+KJ4CCDDObHSaEYSLYNc+rmSwEhFcjqHxG3WaxM1G/3H3/z4TmPJHi0LruCJNhvRRqqTTWD8nZnkWlcOjbF5EiY5i3NcdRcJ1uxqnJNbRL1bON2WxRJdxqmbM52uZPKcro6Xy2XCpk0Vgjwu; 25:3+ck75w0Eyq9JsGcCHYHCLaeVKjhUboVutqo7TEXiPQNBS5cjeXSH4amTgErwA6w3FyZp9Ht3H0rhnjwuEOh96hy85hPuORxd0wjyyz3SBfN7AIttQj2hod7FzMREUVDXXf48Sqml9lxfDq4yR9gHw6UZE4Gml2o1W5CyA+Y+tCLCUv5MJVnzqijOcV53LlqbLG3XAN3Th2eCuRcSvNVhHTqfXx4vYL5Jsvld1AEXW3wBBbB28xd6YshPOvFEzgP1L96REk42P1RuJ/6biJAKv0X4RH2dUliErm4+7USuS0iKMz8aldk2HEfwZYpnH7XU2qbCqv8bNSljwTvoyyngw==; 31:lTziQij+ALOV5C81cXob40uBrvZMqAxOV5SC6YDMySwQfA2leV96uaUWYPfrLF7IXBjXJ646jtlfoXWCOsZC1E+zl/JSRaYaBw0kBcNAqRFynZ7zI/c/LoMZjc+J3C0FRNrWtLk8KMI7o2/eslOiITmcFn73nKrm9ucSCby6gr9ca6bjnVF43r51VE24bZZCSeEpCYCsdYBMjh5dn9KBWjIEeERXwcu1u8aNPmbWAOQ= X-MS-TrafficTypeDiagnostic: CO2PR07MB2520: X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 20:Aw3yQcsc/SMXoQGXbLdllbGW+XQm+vT5Q9SczWyZzNVfUzzUil3sBHT+eu4NhDRIRmmnQWzHWXKQOKpz9RVB4GxTsPUg9T8xPLN2x0QahMrfGZQuRnXUp2rtaluxOgzMIw8uDjU+5kdMx0nffHLiBS47mWRWhBLbc9LrIHRZIIh3QNJXLjKOtb7+H/tmAedbB0DVWiaAXpMCcLNXNHP47PJE9P95icICcJ3qN3mEZZA3fCEK1E5f1i/goYwd50Q6EZliULTeM5J4w97wUSNPG40aP7NH4QZtAqP1UwDb1Iq89AzwTudn/CIiK9GlYy5uMU0VvmeeIQomzMJkWAh8bwEnbid8nnklhKHUAeuKTuAboUAeiWnGz8GmXPiHqfNWO2+W51x/g0yt3XW/5PNuGpI7G2+S8VaJ3G/rqAe6GMV7lkTInM/UUHSA1CCMuKS0+6Ckk/Gq4w8nZTbRAJv3jgicaVHEJt4Q2KKlT10OUX5psag04mFOvZIEdtm3XMt9yM0/1Ant8aeMnHJGUxEPNhQ026LopO/DhdfLKgz3vaDCQ1pl/PQWJORD6VNYPO3AW2PC43vIrSJ/EFtBYDTXagj6nCYqCU/T/opN65YEYqc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(185117386973197)(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:CO2PR07MB2520; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB2520; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 4:djGyuJWsEfNl7xkA8LmOhGcicZK7YFkIxYVVkK+WpqPOnZTvFuvwwWbF9Wyk6BYAaWjtIfmHaBqSlIEZ2oA+TYjl3q/vaIrLh/tJwn67SkDuBE2V/aTKh9dL9Llmm20R2z5bgQYb9EaVfBmENop53OMlxK0mxVgLp4lPf4g/trtVcw2E+Y35UZpGGHH0cZA4IUcCjtVAnWP35qzoP3apv6EET8p9Iwt5EXZBzH7e8AfYHAUEu1VgJxBdxJB70Gy3AjkpTdLxGRF5MaQpm9QnGsl6AXneBVsWMfFbYhcIB4UJdSDa3ZWVoloQjhkejgDOWPhVBXL6VifeGfeYGzSWEhEmQotjpxDLwV74AG0ThNc3BtIv93mPLE17NR0BApIP X-Forefront-PRVS: 070092A9D3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(366004)(346002)(39850400004)(39380400002)(189003)(199004)(13464003)(5660300001)(33656002)(316002)(9686003)(16586007)(53936002)(4326008)(97736004)(7736002)(81166006)(478600001)(72206003)(81156014)(6862004)(8936002)(54906003)(55016002)(6246003)(68736007)(3846002)(1076002)(25786009)(58126008)(6666003)(50466002)(42882007)(33716001)(6636002)(6116002)(8676002)(8656006)(23726003)(6496006)(386003)(76176011)(33896004)(2906002)(16526019)(229853002)(66066001)(47776003)(486006)(44832011)(11346002)(446003)(476003)(105586002)(106356001)(52116002)(956004)(26005)(305945005)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2520; H:jerin; 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; CO2PR07MB2520; 23:sdV8odbEa0FI4vsIjfbSxX5jvbxR6/lJ+2SgSXPld?= =?us-ascii?Q?Q+VhsHU5l2GLVNMabDNNEn023qp1DpJNLyZcWxBTxtPwm6gmTbM9x9SSEDsg?= =?us-ascii?Q?69Al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d/eNCKdbqr6rp?= =?us-ascii?Q?tpYn64Dq3KWBMKXx8c2MTJEOJSd9BQtn/Xp8aeeEroj2yJiaTUOL1e83EfEs?= =?us-ascii?Q?aRrHw+f4nCBdUmi7q5R5qZCQExOl6r4qvq0m5y1IU/x/kxWes/oigNDkZv7Q?= =?us-ascii?Q?I6Lo3kuIROIt33LgnoaYCCOPbH0QYjgCDe8AGH0jvLNDqCnmjaP7OdRPRh0t?= =?us-ascii?Q?uZLlpASUncymmy0MnJ/Hp5OivILTVaVGOIu52QVf1aIz7nGp+aq1VQe/PpS4?= =?us-ascii?Q?UbIMUEG0+vJ/71I9kMJLcsRX0KjQW239bhJ7hs0dUI2AVM6MMtiIJAklSCSa?= =?us-ascii?Q?1w/KgyGlaxd+KcY7Tlb16c1jSz/1Scwczm5IYx2vnRsFROOLqxhYUWflg/jg?= =?us-ascii?Q?6OVexQj7pThZj0T0b+UKOybCTI=3D?= X-Microsoft-Antispam-Message-Info: Am16wBGwmn0njdmwWr2XviI8tf+l5xYPqbuW0LuTUNvojFTyu1JKiT42XqIIXo7iQ4z1YW4MnLuca+1i1pYacNOWmogNT+AOihwViWuh2qVReS/Y7obAQGiA+5zQNGujUPOEKmWvrycp9Kcz76ukUpNsqIMuqn8QqNtul0pJ4otI8M26UF8Kh4RyA6GsmaHG X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 6:yHKUAmKl3eMT/S5mclfHIUwWc2v/3GBVIceikwIku6DZSmFuhf88YKO6v2OVou+pS3s7euRsOs+52KUyz8vy6utJJzZNO+tMcvIjVfTom17M6M5cJMv+kkuwAX++ETOT5/D8bbMhtWx95nNuroFopsPgkm2bM3LluIZb35GXlRu0HTzdcHo2yXV8p9CtQArvzq9srF1bnsXFyLi9PYw8xkjlysReg6BcfR7buPugptl2lZFf94n+9vFOVqPsIfKWE7hcwVfCzW0XXI1wEwKYUOWAG8NheWLJzC9o/O39SD3Dry2qIjGrAKsuhIkr3UDtpHiDpNbUu2rBARXTqIzIuRo5AOkhRR73SGng+zsWej70BTv5+Veaf+lPprB7cj8gLqeFGYtHtz2ttOzJO8pNT4mLOqf0amNSYQJTf8X+CidONJfCzVkyJ1DIPhk65s72ikij/Aqm+Q4oh+WSzJWSzg==; 5:4hR5HVLUNelH/BrELZycJcRHlNXU+N3/SwEHROWxjloUFXiJk/rX/4ilhEbaoeeJ5lTids5Xx7wqLi8QeLATBPb17k5Z0k9OCa3Vl+UI3Ki/lB3N0JSQw1lW1vdTpLli2oW60RyVUHGlpASpcmyXmFyiPM6+mcASvRHSqJLQJCY=; 24:OcQUsXlr2FuY6tlOSlf9t+U/LpAPmZBS0rwf3/fSS3wqYYlYJH3izqZof3qqBekXLwWppwHKTBvM8NwDPgDrJ3PjRbrbDKtsW5o/BSKk1Lg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 7:RbB93K2qRtZxum0NRD9JQftKTRK2CheeEPMWfL9T3vFOTTHgq4NwsrJft4v4pRX8c2eqexiJ9QXZ8tV1jHBFvDgtYrph/9Gkoez3/CmL+KZ4BVLC6PaumLTEYKEL5TqEaaFZ7L+beL0reDkLjRlf8bk7Zssg1ec0wIm9GfiJkDIrpEmEZrGc8Uf3hROlMZdGHp/FS7O96L0FCATXHKT1ZA9fGU0tXkiocQYqw+cK0nI5VhTlRTn70xiuBK3RqBBw X-MS-Office365-Filtering-Correlation-Id: b272e279-2350-443f-581a-08d5cf75f1b7 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2018 08:32:56.5588 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b272e279-2350-443f-581a-08d5cf75f1b7 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2520 Subject: Re: [dpdk-dev] [PATCH 00/20] add eventmode helper functions 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 Jun 2018 08:33:06 -0000 -----Original Message----- > Date: Fri, 8 Jun 2018 22:53:59 +0530 > From: Anoob Joseph > To: Bruce Richardson , Jerin Jacob > , Pablo de Lara > > Cc: Anoob Joseph , Hemant Agrawal > , Narayana Prasad > , Nikhil Rao > , Pavan Nikhilesh , > Sunil Kumar Kori , dev@dpdk.org > Subject: [PATCH 00/20] add eventmode helper functions > X-Mailer: git-send-email 2.7.4 > > This patchset adds common initialization code required for using > applications in event mode. The APIs exposed, abstracts the complex > configuration options exposed by eventdev, ethdev & eth rx adapter. > Also, this enables the usage of multiple workers fine tuned for the > features of the underlying hardware. > > With these APIs, existing poll mode applications can be made event > driven easily, and the applications can better leverage the event > mode's capabilities. > > L2fwd application has been made event-driven to demonstrate the usage > of helper APIs. Tested with nicvf eth PMD and event_octeontx event > PMD on Cavium's CN83XX platform. > > Parts of this patchset is inspired by an RFC send by > Sunil Kumar Kori Hi Anoob, There is bit overlap with Nikhil's TX adapter patches and this series. I prefer to have Nikhil's Tx adapter gets in first(as he sent the RFC first) and then rework this series to adapt Tx adapter patches. I think, this will enable - application code will be even much cleaner with Tx adapter. - zero overlap - no major rework Nikhil, When you are planning to send the first version of Tx adapter patch so we all can review it and give time for Anoob to rework this series based on Tx adapter APIs' All, Is there any concern on overall rte_eventmode_helper.h approach to avoid code duplication for Rx and Tx adapter configuration codes across all the applications?