From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0084.outbound.protection.outlook.com [104.47.32.84]) by dpdk.org (Postfix) with ESMTP id 087372B84 for ; Mon, 11 Sep 2017 18:16: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=9SCsz7m+S0JMbNBa4Kr7iyDE57VFel27/BXjatfZMxU=; b=NJlhfcD02lhUA3x1BEVrCs3a0o2KquuaMTQGO5j6WdV7tVDB2pAp0iIY7ptxhNeHeKl0jsiZ9v/p3X8mLoboegol3oSMnMYaFNAhBPHpB4lv8Qrf53bkWl2V9AmTER/BLrQeKikjOd6BQcoKPdwSe3Lv0A0hmMXX2ud+hlaFeFc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (14.140.2.178) by BN3PR07MB2516.namprd07.prod.outlook.com (10.167.4.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Mon, 11 Sep 2017 16:16:37 +0000 Date: Mon, 11 Sep 2017 21:46:09 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org Message-ID: <20170911161608.GA21422@jerin> References: <1504883894-43451-1-git-send-email-harry.van.haaren@intel.com> <1504885015-44642-1-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1504885015-44642-1-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.9.0 (2017-09-02) X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: BMXPR01CA0017.INDPRD01.PROD.OUTLOOK.COM (10.174.214.155) To BN3PR07MB2516.namprd07.prod.outlook.com (10.167.4.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 358501cb-c93e-47fd-88c0-08d4f9307b3a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR07MB2516; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 3:mtYY7GvDjLtUNdFvyy+CxAIDWcr2BoleFOr3/KrTY22mRvIECi+MZHmGdPA+4gW8d1TVLQsmQSEB7T9j63QSgoxwL2HdwKfxu5gLEuT9uPGcLnusUYZUmtuYtt31JY123Roo8tJCXxVpqfu1gQqT3rD7zUBHma0r8NYYdi2PwohlRNNLWE4dTiqnN2x9UcUgQFTKTU6XFsOomSavS/fT2Z3Y793tM/VpEh/JbavP5ni4amynlHbSbeU6GDD/2ZBI; 25:l6AIqqDjBUTwwb0hfao2pXOF/o7Dil8e1USYhG3KzQDLc85RjXxxOBr6ZvhaIz7j3DYSklAKSIwIFT1sitkIKUM8o7Iy2IygvEINsXELtFadOQChda7dzgECoUDKxF0JprCh4Kg6rB8BG3/e1yXvG0U6scjav59dLzWU2b4s6x61o9R14sxHSBPVandedjL6YriGhxLJoN9/6z6zF6qcAnNmUKaGGOVj1bakoZlyUp+PE2bZBH8j5DOo8I2KLpaKI4OyHW/zYpof3iaa1fOHoNJfTipYDZmu+o6rRx9Gr5p24jn2hK2aYNW9ZLvqHV11bUH6h8CsvCDZzw98CMlrWQ==; 31:2sgdt8iM3aMqiJLI+PdPzPmmnpNL40eQPxeKKqSKJAZS45+IjlJss0jp0FTM7yd1yh099UBv440HNoTK2B7Cz1R3zunwYvWYqFtJ3OMFXu8xy2NKL9LHoh4t7rsRgMwcJJozWvJRqvWaKfGbiAvwtnmGWLA/zfBOR29wd+42AcRY6btMtrnCg9soJIVO0CfvI7QGGTDJe/G9pgeIZhFzIZ6yHHf6NpTb6r9c1gzV52s= X-MS-TrafficTypeDiagnostic: BN3PR07MB2516: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 20:rk+BtYz76S36r6ljHJQ4zMFGWu1yJOrdq45GtFZhtfxEVEb9vVJApoUsn4e9xG+qb4KRW1gFK8gx0WVVDpsByMm0CkApg8adc8Q4+vp+IrQmnmfLXBzENoMaY97jiUgZnqQ3ssxWAvUJPNeId77adWSDSroad6rfdz2NUUkv990G4aUHikuX/A+AO9GmFIF8Gj0kXulWV+sxUiHCCn/c/UlRWNbsU/NAci2qm3CT7LuUcGrDTk62YmGclAJQXPxP0p7tA7OPsCMida6s6m7y4GsFpGoCe9q6KcZ+y3EzIaApcqcTZCWEYSIzffuRaFnEBm2eJEKDUr8Iswp6wEvcbUueFlQ5QmMYsP0v2GYV3Xk3wClMb61Vb3T1Jb3n0zWz6+Xewm/oRKGf/PHhizNuKGJVCfv1GhRz3Tfdvalco9PL8cxmbVySZNnxFgIMyfEDel3yZEt/gaAa8amb0/P3BEK9uaL29XFYXmLGR3WRaHuj7zHjdK+FZ2upmNyZGroUOo3db/P7dhtPu3EZWzbXVvF+VSm6LVMYjOVK7ZQfO2SE1ypE7W9kIOAIxSn2qg50dpe9ASfL8eqJ+AR7tGDZB5rWiOWqHwhwvGsIE0rMK+4= X-Exchange-Antispam-Report-Test: UriScan:(211171220733660)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(10201501046)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2516; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2516; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 4:hdrxaQ4jqYeTy26sKGAxlx5Iwro7qMImM19Fg22JbtzNArzwhtQDMhtNtuTSXNpDUjd4Y/A8uW6GeWru/atC7TcIicW9JTN6o32jpNuv+hs9c7OgJo9LKQpp29zhsIgrhTDDV4PmXmvwdNc2EaEcWUkemE1JeyPVSiSyj+C3e0Uvh+84YSDzcZIv1q+2XKVECXdK9A4dzE44YUA+oBbqMggu9M1O5nOjNYXv1ghnHPG2tubcVQgr02jB0zwBG2YNT+YPgr8fXD5Q3IoNKG1yIW85cv4OHXEcxi53KLytb0JcxVeCCaGowuGA7H6zaTIWC8B+fd40ufr8oWhRyzw4AQ== X-Forefront-PRVS: 04270EF89C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(189002)(13464003)(966005)(105586002)(2950100002)(42186005)(33716001)(8936002)(53936002)(81166006)(8676002)(106356001)(72206003)(101416001)(54356999)(305945005)(25786009)(50986999)(76176999)(229853002)(42882006)(6496005)(23726003)(68736007)(3846002)(33656002)(478600001)(83506001)(4001350100001)(6246003)(1076002)(6916009)(2906002)(81156014)(6666003)(66066001)(97736004)(9686003)(55016002)(189998001)(110136004)(5660300001)(53376002)(7736002)(6116002)(47776003)(50466002)(5009440100003)(6306002)(575784001)(4326008)(110426004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2516; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BN3PR07MB2516; 23:gjcwt7wrZefth8+ins7z6/0Vcyb4BW0Iz+qmFvav9?= =?us-ascii?Q?k1S9AAU/LsUUbqE7gChXyJL9PwchYBlsOksf/vBUziw9YLSjG+9fJy0Gqns7?= =?us-ascii?Q?XjtZp3z7mYWPhxIXB14EkScgbsc4FtnSo4hmA6bNjrEJP5hsw/MnWQFUFPI8?= =?us-ascii?Q?xzb9xLZeFnRgB5j+ZIoJVV9p7cKY2RHkGC9ET9ENxVmIm0TSwBgfmu7JfEuB?= =?us-ascii?Q?D0KP2RQb7+YZQz7OkE+L+BaXQHqS+60gHaCXkUVucQDGCI61BbjfB0DPeYgm?= =?us-ascii?Q?R181Q/jqDCL5GzPGqyq2xUxalpKwhnpVPfa1VzVpzIBJUguyZxkQi1oFmJV6?= =?us-ascii?Q?mTiEJow9WtqdcZfJQhEVoogHEaz6FnbUBTFasJDwVVYdgbfe/LCNskn0N+hg?= =?us-ascii?Q?+AWDOLY/8pYukEaHkfOy97D7d31xgjhXnVy0hxKk9A45PzMChd+zJIcleo01?= =?us-ascii?Q?MrMAXJBco1DR5/1oRfEzP928G7EfWJopfarV9hMND3UshcF3Ml467lyq/Teg?= =?us-ascii?Q?95N5dQRZga8XFevgnWMLbTorsiPWCanIfOViiRYZ/ivim7oW/0U7/WXAhWQC?= =?us-ascii?Q?C8nRhz2kZg2SQm+lU1I/dso5aQDNyKLUkpwu9P9GK8C+O0lRWotGP5UxBySN?= =?us-ascii?Q?dgHYhcnK0ph0KMpnQvySValt6g1/NStq/wAXILNgt0I8VxLDvKoc7WlHtC5c?= =?us-ascii?Q?6auTqqkbVWYiZrrvvzXHhbHEa7whji9uMJz0NMAPjdCAj9aYa9m4osfjNyr0?= =?us-ascii?Q?kgNx1rSnwaW95j0ud/yc6ZOGcib7iJOYdVx8rquNAxogaNsoEG1rb1coDgoH?= =?us-ascii?Q?9cVdOUReBMlLtP52OlDyfm2uK9dex3Tf8GkdUwq0JNGToeYygIoKv5VnvGvu?= =?us-ascii?Q?4tMv3e9pKFXZdaDamh7LIpm9oDQY0hfzygNLbYhzaOwMjcpTDwula6XjnuH/?= =?us-ascii?Q?PoqdE31pHF+1ab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ypQvQ15qvA0TseGOS4t/zpBkn4=; 7:h6El8zgAPk+sr8wc/WJTjn+S4nLzeqgdACtwErfAjrMhYrsK2l8F2YgUnfxXaFRzMm9fb+lwf9t+EQiRtCf17y0eX6C6KlT9J5APLCfoyto9WoqKuzM6dU0IhQq+L0FDTwI7FWAAGtUIrsSpUmqMCGviq61dvcOhUMOThuQNH2+A6QFjRXZpxYm2w3+sjntx9qHseYy0zM5YxLgFrmCnLArOskXC8JP410zdDxfMgQU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2017 16:16:37.0231 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2516 Subject: Re: [dpdk-dev] [PATCH v3 0/4] eventdev: add attribute based get APIs 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 Sep 2017 16:16:41 -0000 -----Original Message----- > Date: Fri, 8 Sep 2017 16:36:51 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, Harry van Haaren > > Subject: [PATCH v3 0/4] eventdev: add attribute based get APIs > X-Mailer: git-send-email 2.7.4 > > This patchset refactors the eventdev API to be more flexible > and capable. In particular, the API is capable of returning an > error value if an invalid device, port or attribute ID is passed > in, which was not possible with the previous APIs. > > The implementation of this patchset is based on a v1 patch[1], > and after some discussion this API was seen as the best solution. > > In terms of flexibility, the attribute id allows addition of new > common eventdev layer attributes without breaking ABI or adding > new functions. Note that these attributes are not data-path, and > that PMDs should continue to use the xstats API for reporting any > unique PMD statistics that are available. > > Regarding API/ABI compatibility, I have removed the functions from > the .map files - please review the .map file changes for ABI issues > carefully. Please update the LIBABIVER in the Makefile. Reference: http://dpdk.org/browse/dpdk/commit/?id=945081a76ab0bb481f1d62125aa5b547fcc000bd