From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 317A5A04F3; Fri, 20 Dec 2019 04:26:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 606251BE3D; Fri, 20 Dec 2019 04:26:19 +0100 (CET) Received: from FRA01-PR2-obe.outbound.protection.outlook.com (mail-eopbgr120083.outbound.protection.outlook.com [40.107.12.83]) by dpdk.org (Postfix) with ESMTP id 41E171BDFD; Fri, 20 Dec 2019 04:26:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UQ+co4vX1G/j1OAU5bAxVKRBA1mWOGK+R+iKU7NLC0s=; b=i0L0ImCplVhQ+9LQ8+LyOXpYl56FQwufWcg0I4Bo6DskIrIKGdbP20SsptlFicMyG8cTxALp1s6bmhMjGB+IUFYI6b0CYwj5GoWvYQgZJ4s7vc5rjf8ZFbwmgz4ioqMatd1zWl1Gv/a7E7YneBxxiEwJYBbrFof3c8c1v8pILAU= Received: from AM6PR08CA0038.eurprd08.prod.outlook.com (2603:10a6:20b:c0::26) by PR2PR08MB4860.eurprd08.prod.outlook.com (2603:10a6:101:20::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.19; Fri, 20 Dec 2019 03:26:17 +0000 Received: from VE1EUR03FT037.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::208) by AM6PR08CA0038.outlook.office365.com (2603:10a6:20b:c0::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.16 via Frontend Transport; Fri, 20 Dec 2019 03:26:16 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT037.mail.protection.outlook.com (10.152.19.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Fri, 20 Dec 2019 03:26:16 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Fri, 20 Dec 2019 03:26:16 +0000 X-CR-MTA-TID: 64aa7808 Received: from 6fb878d287fd.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FACE30B9-066E-4447-ADB1-CABC9A4D989D.1; Fri, 20 Dec 2019 03:26:11 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6fb878d287fd.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 20 Dec 2019 03:26:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JtUS4o1P+pGQdmTAlrq3inr0TgYZz38OMKeq0r/g/TxkFBKLGPmNe83VGhvb9s7kfg2c+pLerSwXtxfATIumFqSUVK26SsBZka3WND1HxiNpJ3KblXZ4/EtP0nqf91BlTc7EZbNvyclmfpA5BxK+wc6QIeX3XSKkA9pA/77hHNh5c9T0WiPLhSB4XvT8td6zV1MXHwVVfFNi1rOgopFiJunXa12G6F4InojBZcveW40qLGp1zo25obWBWJzNevStG/jp4mK6FO9MW44cQL5svcyFsGiKHZHFCXpNqUGoBDsQVbEmq6rhU9K9+ed4e9SSHP4j/qFGlr0BGqJZqMHRSA== 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=UQ+co4vX1G/j1OAU5bAxVKRBA1mWOGK+R+iKU7NLC0s=; b=IJ7vpd4N4f1IwxIcUBmrGrCbCQSp+gCj2GJ6grVOoVLhL+ovd6yoKLYu3r5fJOe3Rlo1PxxhgKDN6AY8+zskDMaIFBxCc4qxkAkBXDpAVat2u1POaooSQraEPymxIkjuEmWezxcTJdP75fe1S8xv+DJ0N8rtpqL/ocwIitNYssUNB/j6KjNnOsAdDIWfzYm4620jomZUrt1Ykv5x/tCV1R6H9ItE6QZQhXLr/JyWYO5RNsaT5GpAxJTKb98BwubkLhWvEQcSbhhRga/vq0jXqPwBwgdnKUX/pzq7Z6j5T6ifUjdfnBkgEujSGrEo2oSpjZ9cspqzq30U8a6Zca/AQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UQ+co4vX1G/j1OAU5bAxVKRBA1mWOGK+R+iKU7NLC0s=; b=i0L0ImCplVhQ+9LQ8+LyOXpYl56FQwufWcg0I4Bo6DskIrIKGdbP20SsptlFicMyG8cTxALp1s6bmhMjGB+IUFYI6b0CYwj5GoWvYQgZJ4s7vc5rjf8ZFbwmgz4ioqMatd1zWl1Gv/a7E7YneBxxiEwJYBbrFof3c8c1v8pILAU= Received: from VI1PR08MB5376.eurprd08.prod.outlook.com (10.255.196.79) by VI1PR08MB3056.eurprd08.prod.outlook.com (52.134.30.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Fri, 20 Dec 2019 03:26:09 +0000 Received: from VI1PR08MB5376.eurprd08.prod.outlook.com ([fe80::dde8:216f:6a0b:8cfb]) by VI1PR08MB5376.eurprd08.prod.outlook.com ([fe80::dde8:216f:6a0b:8cfb%7]) with mapi id 15.20.2559.016; Fri, 20 Dec 2019 03:26:09 +0000 From: Gavin Hu To: "jerinj@marvell.com" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "olivier.matz@6wind.com" , "arybchenko@solarflare.com" , "bruce.richardson@intel.com" , "konstantin.ananyev@intel.com" , "hemant.agrawal@nxp.com" , "shahafs@mellanox.com" , Honnappa Nagarahalli , "viktorin@rehivetech.com" , "drc@linux.vnet.ibm.com" , "anatoly.burakov@intel.com" , "jerinj@marvell.com" , "stable@dpdk.org" , Jerry Hao , nd Thread-Topic: [dpdk-dev] [PATCH] mempool: fix mempool obj alignment for non x86 Thread-Index: AQHVtnIWCRQqpgYRZU2V3sHlQdkayqfCXJAQ Date: Fri, 20 Dec 2019 03:26:09 +0000 Message-ID: References: <20191219134227.3841799-1-jerinj@marvell.com> In-Reply-To: <20191219134227.3841799-1-jerinj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: afe815f3-2d7e-4369-b2f8-7130c1750080.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f93f9f3e-a3e1-4abe-1b64-08d784fc5f9e X-MS-TrafficTypeDiagnostic: VI1PR08MB3056:|VI1PR08MB3056:|PR2PR08MB4860: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:2582;OLM:2582; x-forefront-prvs: 025796F161 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(396003)(376002)(136003)(346002)(189003)(199004)(54906003)(55236004)(6506007)(7416002)(55016002)(9686003)(110136005)(81156014)(81166006)(33656002)(8936002)(7696005)(26005)(2906002)(86362001)(4744005)(8676002)(52536014)(71200400001)(4326008)(478600001)(316002)(66476007)(5660300002)(66556008)(66446008)(66946007)(76116006)(64756008)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3056; H:VI1PR08MB5376.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: cNbxZ1WwhWj1VByzm6SfjxjDsb0ZguUY5FmujK818odw9y7Nf3UbEwXnVlWiOuXlo+6zGHaHG3FLoAt0UKFdZUpeqFHuD0NYPxSe6rK5KF9raIchIYht2bMIsEbQUwbVCXbhtb8x/htDV6P15uXgNnCD7rzqAxOu7fqSF7TiEablAJDz2nQKnXEcelS6cHiRVHkxOJGs1TabNsGZ6+RqAhEJbxoJxyTLRUcal11BwMgpphd+LtyuLwrxIai/BrWDd6xSznKuQuQtYSEB+mEkT/I9N86h7o8CkqKYejnSTzfbNfUOAK78/aRFgA2+GRD1UVxgJwciPaBjGTlbJo22/5oCbPh6qBdyAWYkAKT1d0J5VppCa+tZFN9EgkTsqlI1hkWplQq1Ky7bDLXiOUzbs8boQCsCOoiiO/RKlhL85xXJpMlokBYaHvqUZ/3d9CUS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3056 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT037.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(396003)(39860400002)(189003)(199004)(81166006)(52536014)(36906005)(8936002)(316002)(5660300002)(81156014)(110136005)(336012)(4326008)(356004)(54906003)(450100002)(70206006)(26005)(76130400001)(9686003)(6506007)(2906002)(8676002)(33656002)(86362001)(70586007)(186003)(7696005)(55016002)(478600001)(26826003)(4744005); DIR:OUT; SFP:1101; SCL:1; SRVR:PR2PR08MB4860; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 93f051e1-e27e-4eb0-f3bf-08d784fc5b43 NoDisclaimer: True X-Forefront-PRVS: 025796F161 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M+Rbx86gdi3HVCPsFEG8KdSpQO8STYJtGVM/4N9FRCaNhdY0DKGE5vI+vuKcongZBoy7Mq/yloi4IB+wUxxDc91yqmKLGjLmCzSdRUP9j70p+aKQ7Ha3p+6A/hzE7ovT9gGmRHufSsmI/+QbSAPH0HI/6BxvieWzwTRvC1wEVSiZNor5WZU081RXOV8O+3CXnOMvtoU104YTaxKw5G3k2uI9SqBuEUATZoMXzaBUdeEr8cMoXKK9RXVrMN8/Gm0AjLc3byHu5po7Q6qncAumhgxaK8DXSV0Lkw+o+HjKhi3MKq/+AnPzroEpsNmxu2QqOHpI+X1tTz9Fq0GhwCHbBTCJTkCOxvSPQeH2cWRembdKiQsTBHRR/IeXK/6VDuWTZGcc53fh4hy8ytzYzGl9HSirJdsKN3Vh3t/Pi5WsQuJ5U8QyPACSJvsZ+vKJ9zgr X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2019 03:26:16.5655 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f93f9f3e-a3e1-4abe-1b64-08d784fc5f9e X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4860 Subject: Re: [dpdk-dev] [PATCH] mempool: fix mempool obj alignment for non x86 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Jerin, It got two coding style warnings, otherwise,=20 Reviewed-by: Gavin Hu WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #144: FILE: lib/librte_mempool/rte_mempool.c:84: +arch_mem_object_align(unsigned obj_size) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #154: FILE: lib/librte_mempool/rte_mempool.c:106: +arch_mem_object_align(unsigned obj_size)