From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20A4BA04B5; Wed, 13 Jan 2021 14:01:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FDFB140D1E; Wed, 13 Jan 2021 14:01:38 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 81B6F140D1B for ; Wed, 13 Jan 2021 14:01:36 +0100 (CET) IronPort-SDR: RGU3z5J+cQh1MyMNB4dzoRIkxNn6tTnEkEWiKFuW+E/uwqCzn4wco4e+ixFjYLZDvKv6PLy+ws L+5xZGF6kibg== X-IronPort-AV: E=McAfee;i="6000,8403,9862"; a="239737697" X-IronPort-AV: E=Sophos;i="5.79,344,1602572400"; d="scan'208";a="239737697" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2021 05:01:35 -0800 IronPort-SDR: k21nGbh4qJkYTZvQSNGnc+DnKKE5njYnAA7MKOCepjzCbg5qQ27b7iFTRtn4nar1885P11egdp 9H3ePUIYDRgQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,344,1602572400"; d="scan'208";a="363877347" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP; 13 Jan 2021 05:01:14 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 Jan 2021 05:01:11 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 13 Jan 2021 05:01:11 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 13 Jan 2021 05:01:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oYT6DJ1g2ubizFLcvs22YUR/GENVE+5ra/Y37zxjMWtgJGpREe854gTyFudT0lJ0PoUyQQE0BwW+r9yKOKV0AU1wed2VrBoTz4xqXHiHwYdFBpK42V+PIlAQPfshKxjh3IYNsUpOllpzbK3wNz5z6GiOmQKTxWzN3nvvYpVTkVdMTkW2m0NKspMNHBk8ArGHawOLd4mBYZ6BQADHtYKk1845n+bE+hFzzAHJ9Fagn1qzOIA/VGEedfnoEXoF90Z9/K+c3iin7wvHb7LMN0rD99dwLOzZQoeAIvcrIwUL5QasnTuq7h/MQnCfAB68NW4bQYmdAIQ1O8Uu/KArwNdtyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TmA5u3hXmc0T3cxC01H+k7VRvwGE98c4hdly2SfADbg=; b=SaVG/d9Bh24qRFXeSLrQ29ImmUtgXFUR/ZYvYuq54D/r0ywFdDj6URXPTgptYp5GqRHQSB6Vlph2Jw7Jdc/XN0IPePcfHIgZaO3P07Yn9zXVzdEQRSqyEktDchCScjTJeWTSDOZuAM9eXDVvBfHo6MoC+yHf64qx5fQYNTQLK2KoSjApV7zjS6LsUBEI0XYueL/1IntuFHxh5WIXoo9Ty0U8ftqNjLLlG84TUF/fCMRpoRz6JeRuqHdq6RWwhP+NPk/1CgdtsrzwHK39qXgVorBS8Xb/81wxPWeIj1Wd5Yd78y+6ABFO/uMqAsfG0Ovh654o6hZECUwn6UiV42Lirg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TmA5u3hXmc0T3cxC01H+k7VRvwGE98c4hdly2SfADbg=; b=nKh5hgAJtHLELR2V+YyPBhSlPL2nM+z0wF4ojUrj0v9RIbTfk8Qt41Tx1R7EhjEuMuZDM7eWJGbf78UAW2zFs+314fNNwfdLigUVC6I9Vj35+q41h/JVVc3CnbRsmcIyPmRRBzSzDLPIzHfHi4v2MaMpykHBCRKk0MRz/U2OsEs= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BY5PR11MB3974.namprd11.prod.outlook.com (2603:10b6:a03:183::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9; Wed, 13 Jan 2021 13:01:06 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::1152:1426:8a4f:c755]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::1152:1426:8a4f:c755%4]) with mapi id 15.20.3742.012; Wed, 13 Jan 2021 13:01:06 +0000 From: "Ananyev, Konstantin" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "McDaniel, Timothy" , Jerin Jacob , Ruifeng Wang , Jan Viktorin , David Christensen , "Richardson, Bruce" , "thomas@monjalon.net" , "Hunt, David" , "Macnamara, Chris" Thread-Topic: [PATCH v16 03/11] eal: change API of power intrinsics Thread-Index: AQHW6Qm06s7DZYUr4UKW50udiOv/b6olheVA Date: Wed, 13 Jan 2021 13:01:06 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [46.7.39.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7da016a4-4c63-4401-af5b-08d8b7c34a80 x-ms-traffictypediagnostic: BY5PR11MB3974: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:357; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gSJbckSnTTyyIIUXhlEnUmeApJZ+1Jr426e+bXkzYVbKxTvP5ICTw0K2ak7Dd6u8BC9qi8SFPH2hCZOH9C0k3Laj41PMJx47eMGJQGvunpHl0SJgbvbWsHdLu6L20SFcvtCWS9rWkHNA5vS276FX+pOA5rKk0t8n7+Vnnw+76uTPTRr1iW9COMUpj/Ud9vmZUTFsupSGQbIX4QWgcq9GJOZOLhvxGAk9+58pJKyigNVuWM9LjkwIOAK3+V4Bs0pGowXRYU701kGpVZ4ALYo89nQGqa08seynh/AUYcTvsu7wQ0duKFwhQJ44o6nVT9i3bsWkLixpTRK+g8tnOdSbdtnMCGAC7RxJoAnlnXgSS6E5gXBrsi6PyYWrgflo3sSOC1Wn8sHW11yAs5gxnyGSNg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(39860400002)(376002)(346002)(66556008)(4744005)(71200400001)(6506007)(64756008)(66446008)(26005)(5660300002)(186003)(76116006)(66476007)(83380400001)(2906002)(316002)(33656002)(86362001)(9686003)(54906003)(8936002)(110136005)(7696005)(55016002)(8676002)(4326008)(478600001)(66946007)(107886003)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?74cf1AyxWzdXIBE0oqaHR02z2ocW/fZOBC0EprNQ4t6sr2JbI/xaygaPBlDN?= =?us-ascii?Q?q9PhfTO0hFjScMZAVuOovE7tYFpfywU6wEkg13HfLUxrPGGTXnjCpzqaPxKj?= =?us-ascii?Q?13PHUKjXW3+OKxEPi/QFzpklUHA2jdjc0cAp4vMxnbYhqek/npGOWljf7i3U?= =?us-ascii?Q?56ta06nQ8Rt61fCLy89okoa55eEuwUFcWwHC9H+c0wNCI1zJs+20HeM7mgGv?= =?us-ascii?Q?gID7slfWrAH0UMUe5pWqh9RUgYmzTWxlYtuYxHWK4dWdqgRm+aY0a/TbQfyB?= =?us-ascii?Q?FvA5Pz0YPqpaMvfN3hTbo87tmMf+/rOAXmJ1M2kBkAgaCUdLPPYjBpAyAbyg?= =?us-ascii?Q?0+BDoWQMV0JCdhMMwHw07qfrjK8JtlPo58Jb5fi/ZY4TGTG4TSWtydhgdvow?= =?us-ascii?Q?8+7KhHyqZcTXXiF3uJlFa1TRfCVosTtngvf6lHcNTPD6+8XKXPz3jbwJMwRV?= =?us-ascii?Q?b8TxbdVGRxg6iQtUmLtv0dKkQK7OrJGZBgO3O8fv9sAVR2WpfQ6j7PPLUQxi?= =?us-ascii?Q?5yemqY5P31XHPrNsXcw5NojgH7xr9QLLvDNDcUpqXGn7kvySDfa9ZNZ/2oAt?= =?us-ascii?Q?t3xUexD5aEPOYbmYIYNtR3RkcRS8kAGVewkPC2Ij6WrmETYpZJeJC5xbrflj?= =?us-ascii?Q?HQnu6UM/lziCpwQaIs/veMOQhuDQ6ULd1zpjAuQM9XRKAb+jpWl5gtn4gCcd?= =?us-ascii?Q?zEifPIX8odZy71LOUXG4nrtyw3NLbRJEhm6VbowcPIne3JdE4gHS9n3oCEem?= =?us-ascii?Q?zA1itwIN1s1puzhbItXDnz/oEM1tNN/76t/lzu2+/bGVojBzo4+W0yPyRdEl?= =?us-ascii?Q?3pRVJ0uc80xwLTw3Ni41OHnsJj/kvBgjLlNUR5fzHcdCanuptP8VycjBQ1qU?= =?us-ascii?Q?FoYghJUYFK9b2jeQ/oMZibBWaBQvEhuqY85nkNpTKWalpER0eQP+KWPNBnde?= =?us-ascii?Q?vlAFqudpjFImWAURSrfGtEeYnLAr180wZNN3ooR8rPY=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3301.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7da016a4-4c63-4401-af5b-08d8b7c34a80 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2021 13:01:06.8398 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NEI2OBRmUHtFrPQC9YN7mduo06beo52sqB+2caAv6VklN9Q3M7moMM+rSzMaKVoU4IMQ9COZ+lWm/UN16OdQzk7MnGYPG+vd9AWMkhNyasU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB3974 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v16 03/11] eal: change API of power intrinsics X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > Instead of passing around pointers and integers, collect everything > into struct. This makes API design around these intrinsics much easier. >=20 > Signed-off-by: Anatoly Burakov > Acked-by: Konstantin Ananyev > --- >=20 > Notes: > v16: > - Add error handling There are few trivial checkpatch warnings, please check