From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0073.outbound.protection.outlook.com [104.47.34.73]) by dpdk.org (Postfix) with ESMTP id 21AC758C4 for ; Thu, 28 Jun 2018 12:43:27 +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=NYwlExgQBehbcQazqK+vZ/Lmjn2lMubdFO4cDUqrIoo=; b=MN0eBS0x1cbINwblyxYrnaAIP0ej6nS1qWNT0EDye4rkE3FIHuqbLGBeEd27mBOKozEOa33+pppgM79HZZFF+aQQcbmeY/zCrvt7WtPNz2VWjHDwfsG8M6q8WD41L4cJUS/TWJPRc1j2hEKd+ZOiGYJvMc8HcaoXai6BEasJI4M= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from [IPv6:2405:204:d40a:bcca:4dc1:3116:d07a:f52e] (2405:204:d40a:bcca:4dc1:3116:d07a:f52e) by SN6PR07MB4912.namprd07.prod.outlook.com (2603:10b6:805:3c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.20; Thu, 28 Jun 2018 10:43:19 +0000 To: Sunil Kumar Kori , Bruce Richardson , Jerin Jacob , Pablo de Lara Cc: Hemant Agrawal , Narayana Prasad , Nikhil Rao , Pavan Nikhilesh , "dev@dpdk.org" References: <1528478659-15859-1-git-send-email-anoob.joseph@caviumnetworks.com> <1528478659-15859-2-git-send-email-anoob.joseph@caviumnetworks.com> From: "Joseph, Anoob" Message-ID: <12a1fc10-6879-4e1a-bcb4-ec66a9494346@caviumnetworks.com> Date: Thu, 28 Jun 2018 16:13:05 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [2405:204:d40a:bcca:4dc1:3116:d07a:f52e] X-ClientProxiedBy: MAXPR0101CA0040.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:d::26) To SN6PR07MB4912.namprd07.prod.outlook.com (2603:10b6:805:3c::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3bb91ded-7a68-443e-66cc-08d5dce3f9c4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652034)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB4912; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4912; 3:D0qvXNNrOdQXE5GPC7yqK1A9TiFqd6LY7T5K9YbMZJIpkUcIj3s8LgAnm/QGFEP+bMpmPOmXooZOFIxt260p/95O4GES+ZLOmGp+P3GekUXdDEgWz2NZfvqG1D9I2Eb9lVSARtqsHwkFzm5OAIRJ5KrUPtFxE3adsdHEnNkGYY/40W+mteLv7aWYe4bIG+3feNtq8O0PABtz6vP8VHEcpCal+GCgUYp4570+Fg0RIf2JfDAk4erK0/6rwR7Fg6JW; 25:QlUKCvmMaqpiT4xJsI/qgh1rP3VUPLQAzrz5sDKJLqesXbVnmy2VAbJoiR84eclG9Of2DM+EtyC5+66whQ6Xxge1PiZOCRTCqof0CLuGFTXV1XdYwhnBmxK7gl4LKdlIJMNXmyCattgEQeWShh2f3HLSYVWrBlWxjgNsFHJgAI5q0j1m8YAM+5uVBw8ZEpIuorirwfFK8jR8L2uDZZ/rJ/U9M20nb1nJJibQvrjWUg+oUze1sLNpt66b1OSTYhSp3ztgQ+mcVK8cdPnmE+vN8D2P52vcrbbcH6RBrPLuEiAhhe3emoSqKrt3DvqrxmTfw3CAepwA6xDHWFwp8FTpPw==; 31:J1StLHfCoOLnwi39ToxZAaAWem/a0nltIy0cXw1uGSdfAPGoxC3rv9mMUlyT5IsQfqghsIpTLkXd5ADzswrH2QyPKKkfuvLXCSYn/sCRceaZ3h2ZUgGtYAilPvkSRuEqVE6yTA8huFEYV2wAS17gvAW7nkTEmMMbVE3iOYGvrvFamPPsSSFiUNSiCKoB3xO/UK+DWaISGMUof3FcKXRtBjrX4Fy7e0iowXybIHKTG8k= X-MS-TrafficTypeDiagnostic: SN6PR07MB4912: X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4912; 20:c+QANrZV7dLqD0uDq75ssSYJSEWgrT2tdc6UVD4zU7cXbUEhlp2wINpS1xpP2BIHfAefEeSnG3A264tEYNI+xLq+IUC8Cnia9v811XX1iS1O2xUh3emZ7/JWPzmLahe9gR8i/pUOUoXsqQA0lhvVmgT4zMB9DBJdsGiKdppaCav5UZLUYJ/cWGi6HVo3dCACkGp3p48U5wOl+URAaw5Rhj2HWdSXxuGhgkv10i+08vbYR+J58tq9gafwjGLbHiq+Zqn6LyloAoPmuq6bygpr6rB5FmcTVJfp6WQlZeQXKppaaw7+kgN7/7Aqes1ox7iHa7ZSALG7lBJQPcDkBvjNUh4VFECJ+T2r031sQiEqOINjmyNqOKPxg8ZGgQmAFzrs/ns28m0mE5OhXuaD+DfAOZhWkQrFe7QOu6bijBuNev3+ppPfQPHg73MLTGKlKNEODqIUFwZkzLUbjPAIJcXIR+KuK7Lc5WLtz1SA5BBEXK49qbCs6GPUw/k3pd86jirR64AzT0mCVQT3Q8Kuws7ugXsUTcKuZpM49fORWaiW2N/bxyxxVqx8RdS8isg4nsqk3GTpHRKT3L/mcSRmiVFg0gCm7dhSSVohjlDccBuKXFY= 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)(8121501046)(5005006)(10201501046)(3002001)(93006095)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:SN6PR07MB4912; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB4912; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4912; 4:8KP7SWITj3dn5wNCelZBfx8DxeikSeqbdVHHAIFomeWRRTQrEydE/fSR3QItJCvsyAylDzG0e5Cl2E+2d365zNlUbPMu5PcAFuwe78u3+v26llyBymTbGAgxJ95fN2TE4uYA2oxq6gVaE3lj6yNo9lxeSEKiZFBo6AhKVnbzwkOqCWqA+tdww4gvR8tYGt2gsB+/vk/DBWJbiIkJnVrzea0KNBpMI1VbHW/SyOsG/z8ffr8FP9yD9RK41tS9eauOvavJ77sYTXjbTmPjkrfdygPtfLkOqq1n4Ic5ZnoDEY0n8MF/VUMoWwgf9YYteeZN/5T+njirB1x7SEzQ39Ds9Vw2SXVTEo432YeOoe8+D/2olSboI7tcWpm1yUPahahh X-Forefront-PRVS: 0717E25089 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(136003)(346002)(376002)(39860400002)(396003)(199004)(189003)(52164004)(13464003)(68736007)(65826007)(54906003)(229853002)(67846002)(110136005)(4326008)(25786009)(316002)(6666003)(3260700006)(5660300001)(6116002)(6246003)(6486002)(65956001)(50466002)(11346002)(65806001)(476003)(2486003)(31696002)(2906002)(446003)(47776003)(53936002)(36756003)(230700001)(1706002)(486006)(64126003)(58126008)(2616005)(72206003)(305945005)(7736002)(53546011)(76176011)(386003)(81166006)(81156014)(23676004)(31686004)(52146003)(52396003)(186003)(97736004)(52116002)(8936002)(478600001)(42882007)(105586002)(46003)(106356001)(16526019)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB4912; H:[IPv6:2405:204:d40a:bcca:4dc1:3116:d07a:f52e]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjZQUjA3TUI0OTEyOzIzOjErN3U1SlhOL2tBRk1oMFZBSFpzdlZ1NUR1?= =?utf-8?B?ckQvR0hicHlBR3pyMHVLMWZiaC9BTTFyOWN5clpMZTZoQXdKTi83UDJWV2JD?= =?utf-8?B?WUNDL05BR2F1QzZrUi9idDluVFJnWWJmcWpTbGJKUWkrUTYzVi9kbHRvYUJS?= =?utf-8?B?aWxKTHZpcm5PQ2hPMVN3bDJVcWRDUjduNEVrRU5PVk51QTh2bnNWZmFOUER2?= =?utf-8?B?TmxUTVFPb2FqRkVsZUlhSjJFTVRmRENJSGxuNnQ3NlZrK1FYdGVOUENKclJP?= =?utf-8?B?Sk5uL1VhaWw3bHFNUk5zZUtuL1dZUXZRbW9sc2pxaW4xMzR4WVVFaXBrcFNG?= =?utf-8?B?WlhxRm5LRkFXNks2Z3Avd0JiTXhpZTNCY1ZtK3RYeDEzM05uTTdRNXQ3Wi9s?= =?utf-8?B?cGRYdnVhaWVvQnJ6b05JNXU3S2tlM3I3Zkk5S3BUeVNTU205b1JKaHNzcUcz?= =?utf-8?B?QnpBUHRIbURFQ3NJWmFQUUhwRWZmRUR1YmM1bnhLb21mT1MyODdvOHpBNjVv?= =?utf-8?B?RXZUSUcrUEUvYUMxTjRlaXc2YTV5WlJmOUhlM3NObVh6bFgvTEZkZHpUNGoy?= =?utf-8?B?OGIrVlNJZEs4SlN1MFpmbzdlNkppcFlYajV3TjgyZDNnQWRhNkEvRDlRQnNw?= =?utf-8?B?VmgxbTcvWHY2bEIxVnN2Z2FnOGEvYzRRblluRStJL2l2VXZBa1k5RGRvemNX?= =?utf-8?B?WGdDclFtbytHT3FqNTVrVlphM2ZGRWlJaVFnREU3d01qMEo2eUJNWTA1Ukdo?= =?utf-8?B?bFA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dXoEbdaT6lUtuEdNWSrvddvFxYyBnIJtuzXLLhLmqXo+L8dIujs4Mjc36/y453yE3zG/7MTRXHKWNK2nt0dF9+51Vy6AaLS24SnJKu+7DyT9tnIK0WoREWuLPxQDB2CuiHkqJTv50bnUj5PmjKvZaNyKkHjgV88dUYQ3DFsPKPbQ2chANHCdNuD4xHFALeTTTr6zIWLg==; 5:dUpS5OO5allGHkQnlVDbSoa7nVGebycVHzsOi2oYZN2Z1II6mZ+yEYymTSNsH7r3/sSs7YURVzgdxAa5YJ33el6dEbJqcxFAlLDOrO1wyfQ+8+hF2N38pQpGjqIKVfCw3z5Cgmy/kOvzuVIPDWNCT7ZSUFWDivGo60+tGUQz7GU=; 24:Gg8ITrknMGzwhTFqYxBMJwGaPeck4cNynkKOvWLN8dPnIkSm2MHCybis/yzCZHmkD16IgzzlDWovrT5ZZsPgswefOBGAoYdjoOZS0pHQ+Gs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4912; 7:IJ5aL6acZtjTglcuM9lU8LouAzXYGc8GZC3kn7Dv8jy/JBLOl/ESTjyOsANcx84McobCrqy0aAFeiJ9OUaoKhXlEgw2FnHdfNlteK+rdbOZk43HP/67bvafaRFCp72exs0n7AamhpbdCgWNA842ErBbsS0hpPp2I76eUPejx9h0H6OvhKDOmPktdHH1FZiOrCK4wwFpzBuSEbF5Upe9Th5fnj3CkHTa9EwvPkWJlscxjlQKZcBxinEBNo9yqNmXR X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2018 10:43:19.1216 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3bb91ded-7a68-443e-66cc-08d5dce3f9c4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB4912 Subject: Re: [dpdk-dev] [PATCH 01/20] eventdev: add files for eventmode helper 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, 28 Jun 2018 10:43:27 -0000 Hi Sunil, On 27-06-2018 11:50, Sunil Kumar Kori wrote: > External Email > > Regards > Sunil Kumar > >> -----Original Message----- >> From: Anoob Joseph [mailto:anoob.joseph@caviumnetworks.com] >> Sent: Friday, June 8, 2018 10:54 PM >> 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 01/20] eventdev: add files for eventmode helper >> >> Signed-off-by: Anoob Joseph >> --- >> lib/librte_eventdev/Makefile | 2 ++ >> lib/librte_eventdev/rte_eventmode_helper.c | 7 +++++++ >> lib/librte_eventdev/rte_eventmode_helper.h | 6 ++++++ >> lib/librte_eventdev/rte_eventmode_helper_internal.h | 6 ++++++ >> 4 files changed, 21 insertions(+) >> create mode 100644 lib/librte_eventdev/rte_eventmode_helper.c >> create mode 100644 lib/librte_eventdev/rte_eventmode_helper.h >> create mode 100644 lib/librte_eventdev/rte_eventmode_helper_internal.h >> > Having a separate helper library to configure eventdev may be a overhead to the application > as application needs to understand main DPDK API as well as helper routines. > It can be kept in application as a separate file. For one application we could add a new file, but if we are to enable event mode with multiple applications, wouldn't this be duplication of lot of code? Considering that I haven't added the required parsing routines, the code additions in one application to make it eventdriven would be huge. I do agree that making this as a library poses its own challenges, but do you have something better in mind? Another option we can think of is making all these changes part of some common headers and then each application can include and start using these functions. I'm fine with any approach, but we need to consider making at-least l3fwd & ipsec-secgw also event driven. Thanks, Anoob