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 9DC6DA0524; Thu, 6 May 2021 14:24:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 199EC410DB; Thu, 6 May 2021 14:24:38 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id AB4AA40040 for ; Thu, 6 May 2021 14:24:36 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 146CM4rm001285; Thu, 6 May 2021 05:24:35 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2173.outbound.protection.outlook.com [104.47.56.173]) by mx0b-0016f401.pphosted.com with ESMTP id 38cdp38gx6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 May 2021 05:24:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AEfoQs8PhHAYIx/pPP840428kOXmu3Ibzmr/eAXtDAq+LWk/u7F0e7VPlw3mu2XcBmoE+Ik2ybiRodEN8LoW6p5RkFzLr1H/xd4NCcaC7D603pOZph20y02ZUyYabyc5sTjt2tAl0KXG9pWRgZF1/rISf9Z1sZjjFLjZRv1zKtEBAT1zGQlFGLcZInrEFGtMFStWFGZ0iMrNo5JW5V/dTDwztFpt0KyVqGVZqcU91Gjeq3Qam24qkeMrnUVQ+5xs1hVRsZZNRT0Emok6lYwLKa0AnUl1WFAvfFLDol9y05AK9JPG16NNg1FkHARcU1A09O8YuNJBx12eDJ7f4pnizA== 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=rRnWEVNej3i8JPOKo1F0meD/iRjranmlEwl1nKcUhpQ=; b=EmoXWIbam6dWub8kkeO3q/VXy0Hl9G/4adUboGURayC3j23pEp0cIPOQ181M0wIhPyqEUZfXWPLcEPCAf3YVcs3w7+ggcaAey5zAfwuByO7eOdFLJ3SwZYWQ5l7y1BKy1w5FcacKXATTpoqMMJ60WwrifQwldI8MScZb4MQ+Gne6xLOtKN9gnSEJR6pmMT8HVBomsUQjKmJiSd0p9sUvGFmaU8uvKJErUHOTW2Um4a5FQ91CPoUX+sKZkhpjHePFDt9AVCOfZRngwAOTutGfVw8mBZMxrsd6lAknF4BgHrNJH+DM23+Xu9atScL6zRoidH+bHrrVjV4njpPFX1+/qQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rRnWEVNej3i8JPOKo1F0meD/iRjranmlEwl1nKcUhpQ=; b=bnMerk2apDYa5axhM8I3s0DCsIPzUnxKI/93va046ELEvRhKvLJGLkO/n3OJpW1z6YY/w8YUoyle8vm7nP26H7XJXRzmGoCHxJVg/jzYqu12wrEEs6JAo8akHSJip0wi62fI7KcjJgmxbiPGlwhtCxWT4wfiKMOHbEWL1+PCWHg= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by PH0PR18MB3976.namprd18.prod.outlook.com (2603:10b6:510:29::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Thu, 6 May 2021 12:24:32 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::a187:4890:1cd6:30d2]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::a187:4890:1cd6:30d2%7]) with mapi id 15.20.4108.025; Thu, 6 May 2021 12:24:32 +0000 From: Pavan Nikhilesh Bhagavatula To: David Marchand , Tyler Retzlaff CC: dev , Thomas Monjalon , Aaron Conole Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH] eal: avoid side effects in RTE_ALIGN_MUL_NEAR(v, mul) for v and mul Thread-Index: AQHXFxbGzvcBUtSOqEm8AtkbXxSYVKrVacQAgABCfwCAAMRxIA== Date: Thu, 6 May 2021 12:24:32 +0000 Message-ID: References: <1615496911-7050-1-git-send-email-roretzla@linux.microsoft.com> <20210505163034.GA27627@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [2405:201:d009:304d:850a:7536:9281:1f10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d5846ce1-f0c8-48e7-e200-08d91089e760 x-ms-traffictypediagnostic: PH0PR18MB3976: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JxMUYEfOwOJkACMeiMaAgaijEm944TCYCHypHnVMxJ5D68hovv55tFFkEp2s7JZf7hyjVjRkYAApINRxlROltTQXyrGbTWjrlI8XNfhXdRbMt9gAVnXDSjfJ2qTRDnSJaO4ivPUCQWEwNFI485T7nlr/OvSf4KWAKdj613wjsvWLYY6EnN4sRMuwGazMtDE4VmXgh9CuOPG9jTNMFGxGRZYMYuPcTb64Jpjbfvu8wrjzePunEZgOqUi4UkW3g3GiAAO5pyGweZWQlUc+iFnfOSKOP6q0MdMAjBq5iU6xQhzbLYiZmwZf/lSOGD01xpTOGI6DjPdiW3xRSBqazPKyWggUVI0EEpUy8238piCNwaS524qGYNyo7p9LsiC556fay0EW3J5A3hTMzuMLsOqWqSCU9vlXcP+7LjRk+5HVS7PbZFWb6iOElg5mr4r6y7/nyri2BDSExJ/WBENbDtPGOrrjvvD1sZyzhe5tjVK5NI7T/dZ9YdcMlCBZpLWL0jpbZLAsmm5/54kpSBhgVjWUkc7hgoBYZlCj4ioeVJaK5ba+uArc2aVij6UQk/BnoJpC7ylV+KnW6OAieBK6q5KafIAcDQ3L1aSw3YxQi1X7onmdHc5yMN/Y9IJSxs13As5JyulzSkmkfBt8OJJcEziWjlYHhX5RPNSP9B6l1pHNKb0= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4086.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(396003)(39850400004)(376002)(366004)(55016002)(71200400001)(478600001)(9686003)(52536014)(54906003)(38100700002)(110136005)(53546011)(86362001)(7696005)(83380400001)(316002)(6506007)(122000001)(186003)(2906002)(66476007)(66556008)(64756008)(76116006)(66446008)(66946007)(4326008)(8676002)(8936002)(33656002)(5660300002)(56340200001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?N1hZaEdaSUZGV0NDOU5yYmtmSkhiUStsTXkvc3hBWHRzNVJvRHdCcFgyZFVa?= =?utf-8?B?RXhvbEF2SVU2K0RoNnRZRDRsalFLc0lJWDBaUW9ycE5kQllkVG90ek0xMi96?= =?utf-8?B?Yk1TUE83MlBkb08zUGV3RVdMZjYxb3pNOUE5R2RFRzh4bUg1N2FPUmNGU0Mw?= =?utf-8?B?MSt0YUV1Z3l1YUl1T3ZrZGdhem9wOHcyb0FMNmcxdUpXU3dBMFRWMGVXY3Nv?= =?utf-8?B?Z1hDUWt4eENRZXZHMUt3UFRhR0VrSjh4RTVjTFpmRTJCQUpC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pQnlQVVFHbDZ3?= =?utf-8?B?QXc4R3l1SzFWYzJkTm1nYWFWcTRCVEplNFBURmFHRnRzRGIrYzRPbTlYNjFz?= =?utf-8?B?ejZYOEExU0VvdEMyZ1A4b3VpRGhSaFd5UENCQTRwYXJqNDI0N0ZuVDE2aE43?= =?utf-8?B?ZDdrcW1JV2JSaDBMMkxSamRCSDQzeXR0UTFEeDhSZWVFZUM4VVl6R05MNVI2?= =?utf-8?B?L1lXaGY3OVdFdkdiOW4xUE1DR3BMdllVakNuNjQwMWkwU3Z4OHhNa3o0N2xn?= =?utf-8?B?YXA3WHI0UUpLbUV3QmhrTFBpSUoxcVdzMXNQS016bHp6ajJrdEdBU1p2TnpJ?= =?utf-8?B?Wm1rV1huUlIwNlp3MnZVY1RKa3hsMVFyK0lUZXhaLzN0ei90N1VFNDlnVkky?= =?utf-8?B?M1RqUkFEcXovcm11S09oZ2tHTHI3WWlnWTRnYWk5NHgzeS9vbDJYQlhxUjZz?= =?utf-8?B?VGNMTHFsOG5XMkY1QkpHSVc2OXMvUWlkSWQxTUF5R28rZVNIQjVDS3pnbVY5?= =?utf-8?B?a0dyM0FheTFDenl2dGJiWnp2aWs4WHNLVU5jNHpyVFNYaVVya0pQaitvelpa?= =?utf-8?B?aVFVUTZNVlNiQTR0S3ExTjV0VEFZdjlSVmZqbExwaTB0MlZ2VkFDUmQ1eDMy?= =?utf-8?B?MVB3SlJ3amE4WWV2czhsY2ZUTTA2Uk9sdEYrbS9NaGY1WlZNVXIvOFFMUzlI?= =?utf-8?Q?xHZOz0X71sjDY?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4086.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5846ce1-f0c8-48e7-e200-08d91089e760 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2021 12:24:32.6333 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3uIPzElZahAD/cgf5HSGrSUmvcngWn7LfzhIhln+0IXnXNFm5+Vr39ZnZVrjwssteAFf8bh+DbnbJA67S9WMTWZzIJouEfxw+6Ad0N3ve+o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB3976 X-Proofpoint-ORIG-GUID: n9x60-X-Uik4kD5oHG7bJLtEuS-eYN1w X-Proofpoint-GUID: n9x60-X-Uik4kD5oHG7bJLtEuS-eYN1w X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-06_08:2021-05-06, 2021-05-06 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] eal: avoid side effects in RTE_ALIGN_MUL_NEAR(v, mul) for v and mul 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" Pk9uIFdlZCwgTWF5IDUsIDIwMjEgYXQgNjozMCBQTSBUeWxlciBSZXR6bGFmZg0KPjxyb3JldHps YUBsaW51eC5taWNyb3NvZnQuY29tPiB3cm90ZToNCj4+DQo+PiBPbiBGcmksIE1hciAxMiwgMjAy MSBhdCAwOTowNzoyMkFNICswMTAwLCBEYXZpZCBNYXJjaGFuZCB3cm90ZToNCj4+ID4gT24gVGh1 LCBNYXIgMTEsIDIwMjEgYXQgMTA6MDggUE0gVHlsZXIgUmV0emxhZmYNCj4+ID4gPHJvcmV0emxh QGxpbnV4Lm1pY3Jvc29mdC5jb20+IHdyb3RlOg0KPj4gPiA+DQo+PiA+ID4gQXZvaWQgZX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hY3JvcyhpbnQg X19ydGVfdW51c2VkIHVudXNlZF9wYXJtKQ0KPkBAIC0yOCw4ICszNSwxOCBAQCB0ZXN0X21hY3Jv cyhpbnQgX19ydGVfdW51c2VkIHVudXNlZF9wYXJtKQ0KPiAjZGVmaW5lIEZBSUxfTUFDUk8oeClc DQo+ICAgICAgICB7cHJpbnRmKCN4ICIoKSB0ZXN0IGZhaWxlZCFcbiIpO1wNCj4gICAgICAgIHJl dHVybiAtMTt9DQo+KyNkZWZpbmUgVEVTVF9TSURFX0VGRkVDVF8yKG1hY3JvLCB0eXBlMSwgdHlw ZTIpIGRvIHsgICAgICAgICAgICAgICAgIFwNCj4rICAgICAgIGNhbGxjb3VudCA9IDA7ICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcDQo+KyAgICAgICAodm9p ZCltYWNybygodHlwZTEpaW5jX2NhbGxjb3VudCgpLCAodHlwZTIpaW5jX2NhbGxjb3VudCgpKTsg XA0KPisgICAgICAgaWYgKGNhbGxjb3VudCAhPSAyKSB7ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIFwNCj4rICAgICAgICAgICAgICAgcHJpbnRmKCNtYWNybyIgaGFzIHNp ZGUgZWZmZWN0czogY2FsbGNvdW50PSV1XG4iLCAgICBcDQo+KyAgICAgICAgICAgICAgICAgICAg ICAgKHVuc2lnbmVkIGludCljYWxsY291bnQpOyAgICAgICAgICAgICAgICAgICAgXA0KPisgICAg ICAgICAgICAgICByZXQgPSAtMTsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFwNCj4rICAgICAgIH0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBcDQo+K30gd2hpbGUgKDApDQo+DQo+ICAgICAgICB1aW50 cHRyX3QgdW51c2VkID0gMDsNCj4rICAgICAgIGludCByZXQgPSAwOw0KPg0KPiAgICAgICAgUlRF X1NFV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