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 EDCB6424D0; Mon, 17 Jun 2024 15:47:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF8594028B; Mon, 17 Jun 2024 15:47:02 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2080.outbound.protection.outlook.com [40.107.13.80]) by mails.dpdk.org (Postfix) with ESMTP id 86C0A4028A for ; Mon, 17 Jun 2024 15:47:01 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=WYIHFi8iLhNfkMJz2dZGKpkcX2kpHClICl40fYZ/1KKuwPy4rtjXgndLXwF8sEMjjxJ/isJ/c013WkI4GkqqLZz4YtkT31sYGZWCES8/G/bTzJtbrTt7StCVRrOx9LedOqkfYd9BMgeo1cHYpfAJjHCJB0TQkZEANnOx+FQ7IMCrN/Z6YsfAPNwkjHfbHMNEI5oimBBLd/J4Ea1EAZ83jpKx5g6Z4NDfE+li4DeDKQgLphg2rdSb4ku41m0QLSVMnIr4CMM4FdmCFFqpJmF4UnmEFaGW9mJCSKAG9acpoQd2ulGx3aQoH/kFftfC1LI1Xf95Er6TDyuIyNLn2zmYbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ybBfbU1InS6sUaIBlcGPZoCrHihYLMgwgKOJqjQQhuo=; b=LOC1iRzIYqAcEkifhY8/qRITWONhqeE1X5iAEBfXep9GgZpRvV0/Fnaz6UKky3Jac5SIs+Pk9q94k9eyCdBzyzuKO9FEmDZzOq/XUs/f+8wkcxPnrtQsR38lzLAKJ5xLzceIch3YuCIg1NRhyD2cL9YKlNZKT+0LDn/QcN+KV2biJ5MP4Cj81yBsQRqNOunR7j2THvpYh7q91eex9Ybm/FMsz6H6ZqL0hbkj1+vjfYebs/c8FpruuAEdl1MWzX0+aWkNQ3HCcK7jSFFBPx2Px4gSm3jCqU2AO+irX43A8pQOiKmWByKcb+CCV5uvSqyy9nItMJ4su8JiVZMxjidstg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ybBfbU1InS6sUaIBlcGPZoCrHihYLMgwgKOJqjQQhuo=; b=VUnVo/RMvn/V9xc0N0M5QwvV927FWxGHeo4NMGuv24bQu29jHAfOv1IdERWBdyytytGddtFyoSjGvigakve+9woZ4qp1yqjC6JxndiivQ1Xkr8l/ZxacAsTxKjgpCDO2+RlTcfqUB+39PCRpBBW5a7DM8z+Q1PR0MxWzf0oLHTY= Received: from AS4PR09CA0026.eurprd09.prod.outlook.com (2603:10a6:20b:5d4::9) by DU0PR08MB10327.eurprd08.prod.outlook.com (2603:10a6:10:474::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 13:46:59 +0000 Received: from AM4PEPF00027A60.eurprd04.prod.outlook.com (2603:10a6:20b:5d4:cafe::ce) by AS4PR09CA0026.outlook.office365.com (2603:10a6:20b:5d4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30 via Frontend Transport; Mon, 17 Jun 2024 13:46:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass 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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM4PEPF00027A60.mail.protection.outlook.com (10.167.16.68) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7677.15 via Frontend Transport; Mon, 17 Jun 2024 13:46:58 +0000 Received: ("Tessian outbound f73a80402c83:v339"); Mon, 17 Jun 2024 13:46:58 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: af4fb370f77bf548 X-CR-MTA-TID: 64aa7808 Received: from 051881a5b209.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 03FD608B-7E80-42D9-B529-A7ACCA8E08BE.1; Mon, 17 Jun 2024 13:46:48 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 051881a5b209.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 17 Jun 2024 13:46:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aKqmEeFgnrabHWBiw2ea9OtpxF4IfFA/yWHz7rbd/aKbz+pf5OKPBRuIN5zJWKeZuJeB9EMh77RxOAKi5cxlq0aOGrtSjc+pkXvxvHZ6yG+DuGgTD9CnyVa1PfY36Li5++pj3Y+3q3/vatuXJg6X/m/XxS8IS1xo4Vz/G8/FubJHqFgXLWGjbuqS10ZkZRTRsy1M97Rc9RyIjC+30B3GbEp8bykx+D2UvFlwXXu0cqElfG5ALqYLKWbb8kmulYtA0mD+CEccvkkCgBkFLTADjjtqEIZxAdas+idKFXx2X+A/vnqpWhSIciATgG3CjAOevJ8VixqZIPBBG7umEN2eEw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ybBfbU1InS6sUaIBlcGPZoCrHihYLMgwgKOJqjQQhuo=; b=aV+scyhJJZ54zXTzuEJzccMjeXAXH3+Sc3TLxWcNxTKgJS7teecbxtfou8JXQNr+7kt6ik9AcII2U5wYeiCHT5LzGl19bFRFwMSWL/QxuON1Ih+LP95YTLUJYqirDxCpBILg4s40ZRYHRAdeS8zju8uYBOem8K+7DRdRImiD2pRopdFBdVD3LRBeEC2VGPYB01y+GEGqp+jbBJeyp9EqKBy0tmpJ4dNlh051qelMRyydPkbPzUr8oaSfam5tcapPrkXMeFWBdVhP15pVhGF5ojgj9STA6AMlcSXCSQscuf8ft+kPqRnD71nNqjCH4NVKEPp2apl4DxFfkrX0CGFBJQ== 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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ybBfbU1InS6sUaIBlcGPZoCrHihYLMgwgKOJqjQQhuo=; b=VUnVo/RMvn/V9xc0N0M5QwvV927FWxGHeo4NMGuv24bQu29jHAfOv1IdERWBdyytytGddtFyoSjGvigakve+9woZ4qp1yqjC6JxndiivQ1Xkr8l/ZxacAsTxKjgpCDO2+RlTcfqUB+39PCRpBBW5a7DM8z+Q1PR0MxWzf0oLHTY= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB4PR08MB8151.eurprd08.prod.outlook.com (2603:10a6:10:381::16) by DBAPR08MB5799.eurprd08.prod.outlook.com (2603:10a6:10:1b2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 13:46:45 +0000 Received: from DB4PR08MB8151.eurprd08.prod.outlook.com ([fe80::2dd2:fd4d:8ff5:3733]) by DB4PR08MB8151.eurprd08.prod.outlook.com ([fe80::2dd2:fd4d:8ff5:3733%6]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 13:46:45 +0000 Message-ID: <5a08b8ba-ec32-4f33-a2f7-cb12444c2ffc@arm.com> Date: Mon, 17 Jun 2024 14:46:38 +0100 User-Agent: Mozilla Thunderbird Cc: nd@arm.com, dev@dpdk.org, Honnappa Nagarahalli , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Konstantin Ananyev , Bruce Richardson , Thomas Monjalon Subject: Re: [PATCH v15 0/6] add pointer compression API Content-Language: en-US To: David Marchand References: <20230927150854.3670391-1-paul.szczepanek@arm.com> <20240611125947.511243-1-paul.szczepanek@arm.com> From: Paul Szczepanek In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0097.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::16) To DB4PR08MB8151.eurprd08.prod.outlook.com (2603:10a6:10:381::16) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DB4PR08MB8151:EE_|DBAPR08MB5799:EE_|AM4PEPF00027A60:EE_|DU0PR08MB10327:EE_ X-MS-Office365-Filtering-Correlation-Id: 53b85a30-d672-4ebd-62eb-08dc8ed3f57c X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230037|376011|1800799021|366013; X-Microsoft-Antispam-Message-Info-Original: =?utf-8?B?ZDdXUCtRcDZlYW9LSW1BZW5GNDBCcXFsaFlCZ05SSTJuSGFnK1IveVlIRDVN?= =?utf-8?B?NUtPS1VqZmw0SGxkZnJIeHV1Y3NsNWY4bjEvR2JxQjJsdUZKZGZkc1lkZkQx?= =?utf-8?B?STJibTNUUnpaNkJSSFc4d1Ardlh0dUtacVZaZ3BqNC93Z25XMHkzOS9JRGpU?= =?utf-8?B?WXZPZzlaTTA5L0txc3V3NWZYVmpPQmFIYWxmNHJhL0VBc2NWSTgwb09rTWhF?= =?utf-8?B?dGFFRkVvSDZKMXBJeEwzaHJiZXdZL1pYMkQ5QUdkdlZRS0FiMTNGLzNHS2lx?= =?utf-8?B?WjAzM2djWVdFeVJTVGQxOUV6ZHhXcGhLMnlnQXpzNCtYWU5OaDdiQU9PbFB3?= =?utf-8?B?MXZ2b1REMW10eDVwZms0MGExQ3VFY1N0Nk8vcjB4b3piQ1VzUWJGOFhaTmcz?= =?utf-8?B?WTRHZkVUOElMelY4RjJmQW02T0xyZmUzeElxaC8rczVJSHFwbmJxU0dNV0xa?= =?utf-8?B?cis5NEQxbXlyVkFYTW1zTzUzL1UxdlU2YmFkeE9OL2FPeE0wVGp1eHZNbDZi?= =?utf-8?B?U2J4dCtBK2RBeW42NW4zSVM0RDgyeWJjU0Z3SWM4OVMvSy9GR2Z4bk1tN0RB?= =?utf-8?B?RFpGN25QT1VWRGVDTUhsNnQ1SEVSUlR3dWV6VXMwWURHUUZEWnd1TXoxNDNx?= =?utf-8?B?Q1lNYitJQnV5dUVjeVlFRkRuMC91bU5DdnBnaW04QU14ZE5NcWNoalpZeEFo?= =?utf-8?B?dzhSbEtyV1NlZXJvUzJpQmRBcmVaMGtGRG51NWR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S3N4Wm1iOG9jSlhrMEFXcnE3L0s3TUd2WXlhdVhH?= =?utf-8?Q?k7WwhNIQZa0Gur8LIRbX?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB4PR08MB8151.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(376011)(1800799021)(366013); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5799 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM4PEPF00027A60.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a40257fc-1aa8-451a-3483-08dc8ed3ed39 X-Microsoft-Antispam: BCL:0; ARA:13230037|34020700013|376011|36860700010|1800799021|35042699019|82310400023; X-Microsoft-Antispam-Message-Info: =?utf-8?B?N0VYQ3QreHBVb1ZycUhaWUZhTm1EazR3dkM1blE4RG10TmtsS0svMkg0Q3FC?= =?utf-8?B?ek1iRzQrTmRzTGVCSExqdkh3UnJWSG1QbjZyamRMNzFWbk9YeDAzcS9MSnVB?= =?utf-8?B?aW5oN09GTnlEbGtZWGlOQ0N1QUNZTVB2aDFaK0ZDeUxUTnBXbzNadVVmMHBk?= =?utf-8?B?VkNCeUpLaTA4YWpuUWZMOXJ2NjJMQUFQSFBFMHdFZlFLYjNBUmFEZmdrdDd4?= =?utf-8?B?T1FaY1hzMjNwME5rUEY1aFViakYyZmdhbGpEamU0bFAxSUkwT2duTjJZY3Js?= =?utf-8?B?NE51b3dROHYzTG1rWXp6WndSeHRXUzdJODBSNDhBSzN4djQ2OWR1ZTAwZ1RG?= =?utf-8?B?b2h5SG9KVFgwRW5Ec2R1bnJXekdYbTlsZGloMGFia2J6d3FMalZhaHNxZ21P?= =?utf-8?B?NzM4M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-8?B?Y3Fyd0w0Vy82aWtiMHl4WGRhaDJWWnJMQmJqZE5IYUR2SjBKSWZ4UG9YVXI3?= =?utf-8?B?a1Fqc1BTSkFIUCtXQnRINndFQ1VweHM5Wm5ERk9FOWRYemppWEN1VlFpRDhI?= =?utf-8?B?WVViTC9NSlNHeHZ0dlNTM2RiQVkyNnNVdzVRYlJIaENwRVNsS045bDkyTm5z?= =?utf-8?B?bTZsY3h0OXp2RGp2UHl3cHp3TmlNWkdXUUUva0EzK3hpeG0ycUp2TUljZUU4?= =?utf-8?B?QnlUQjBGQ3FabnFOYW9aVXBQd2RncDNJT3hwZ0s1M3pCVktUcjJrejZhZ0Mv?= =?utf-8?B?NnFIQlZSY0NSVEtiNHU0OEIvVk16Wm5iZXdHWXkwNTd0Y0tFbFR5bDJHWHF1?= =?utf-8?B?TDBEV2Z5MzFpRDhwdittdFNtVlFHUmxKZlVpUlNLczlIdWVwS042U2ZSOXBC?= =?utf-8?B?QWo1Nm95YnJudExwcUUzaFVpS2NmRGJOczdzZjZaNTZLYVRCYk1LK0VrVTlo?= =?utf-8?B?YWVyM1o1T3VrN294cHowUT09?= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230037)(34020700013)(376011)(36860700010)(1800799021)(35042699019)(82310400023); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 13:46:58.6956 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 53b85a30-d672-4ebd-62eb-08dc8ed3f57c 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-AuthSource: AM4PEPF00027A60.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB10327 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 On 17/06/2024 11:02, David Marchand wrote: > Hello Paul, > > On Fri, Jun 14, 2024 at 12:28 PM David Marchand > wrote: >> Even if this library only contains a header, with no tie to other >> public DPDK API, this library should be optional. >> If no objection, please work on this change for -rc2, > > We have a build error on armv7 (tested in OBS). > https://build.opensuse.org/public/build/home:bluca:dpdk/openSUSE_Factory_ARM/armv7l/dpdk/_log > > [ 395s] [1730/2037] cc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline > -I../lib/cmdline -I. -I.. -Iconfig -I../config -Ilib/eal/include > -I../lib/eal/include -Ilib/eal/linux/include > -I../lib/eal/linux/include -Ilib/eal/arm/include > -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common > -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log > -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry > -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf > -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring > -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev > -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci > -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev > -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/argparse > -I../lib/argparse -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu > -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf > -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev > -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher > -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer > -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor > -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib > -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port > -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag > -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph > -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec > -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding > -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp > -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump > -I../lib/pdump -Ilib/power -I../lib/power -Ilib/ptr_compress > -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Ilib/stack > -I../lib/stack -Ilib/pipeline -I../lib/pipeline > -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler > -I/usr/include/libnl3 -I/usr/include/dbus-1.0 > -I/usr/lib/dbus-1.0/include -fdiagnostics-color=always > -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 > -include rte_config.h -Wcast-qual -Wdeprecated -Wformat > -Wmissing-declarations -Wmissing-prototypes -Wnested-externs > -Wold-style-definition -Wpointer-arith -Wsign-compare > -Wstrict-prototypes -Wundef -Wwrite-strings > -Wno-address-of-packed-member -Wno-packed-not-aligned > -Wno-missing-field-initializers -Wno-zero-length-bounds > -Wno-pointer-to-int-cast -D_GNU_SOURCE -fcommon -Werror -march=armv7-a > -mfpu=neon -DALLOW_EXPERIMENTAL_API -Wno-format-truncation > -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ > app/dpdk-test.p/test_test_ptr_compress.c.o -MF > app/dpdk-test.p/test_test_ptr_compress.c.o.d -o > app/dpdk-test.p/test_test_ptr_compress.c.o -c > ../app/test/test_ptr_compress.c > [ 395s] FAILED: app/dpdk-test.p/test_test_ptr_compress.c.o > [ 395s] cc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline > -I../lib/cmdline -I. -I.. -Iconfig -I../config -Ilib/eal/include > -I../lib/eal/include -Ilib/eal/linux/include > -I../lib/eal/linux/include -Ilib/eal/arm/include > -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common > -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log > -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry > -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf > -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring > -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev > -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci > -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev > -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/argparse > -I../lib/argparse -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu > -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf > -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev > -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher > -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer > -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor > -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib > -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port > -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag > -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph > -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec > -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding > -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp > -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump > -I../lib/pdump -Ilib/power -I../lib/power -Ilib/ptr_compress > -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Ilib/stack > -I../lib/stack -Ilib/pipeline -I../lib/pipeline > -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler > -I/usr/include/libnl3 -I/usr/include/dbus-1.0 > -I/usr/lib/dbus-1.0/include -fdiagnostics-color=always > -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 > -include rte_config.h -Wcast-qual -Wdeprecated -Wformat > -Wmissing-declarations -Wmissing-prototypes -Wnested-externs > -Wold-style-definition -Wpointer-arith -Wsign-compare > -Wstrict-prototypes -Wundef -Wwrite-strings > -Wno-address-of-packed-member -Wno-packed-not-aligned > -Wno-missing-field-initializers -Wno-zero-length-bounds > -Wno-pointer-to-int-cast -D_GNU_SOURCE -fcommon -Werror -march=armv7-a > -mfpu=neon -DALLOW_EXPERIMENTAL_API -Wno-format-truncation > -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ > app/dpdk-test.p/test_test_ptr_compress.c.o -MF > app/dpdk-test.p/test_test_ptr_compress.c.o.d -o > app/dpdk-test.p/test_test_ptr_compress.c.o -c > ../app/test/test_ptr_compress.c > [ 395s] In file included from ../app/test/test.h:14, > [ 395s] from ../app/test/test_ptr_compress.c:5: > [ 395s] ../lib/ptr_compress/rte_ptr_compress.h: In function > ‘rte_ptr_decompress_32_shift’: > [ 395s] ../lib/eal/include/rte_common.h:404:30: error: cast to > pointer from integer of different size [-Werror=int-to-pointer-cast] > [ 395s] 404 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x))) > [ 395s] | ^ > [ 395s] ../lib/ptr_compress/rte_ptr_compress.h:219:33: note: in > expansion of macro ‘RTE_PTR_ADD’ > [ 395s] 219 | dest_table[i] = RTE_PTR_ADD(ptr_base, > ptr_diff); > [ 395s] | ^~~~~~~~~~~ > [ 395s] cc1: all warnings being treated as errors > > Please have a look. > Thanks. > This will solve it: diff --git a/lib/ptr_compress/rte_ptr_compress.h b/lib/ptr_compress/rte_ptr_compress.h index b9ab17b2db..a779f21fda 100644 --- a/lib/ptr_compress/rte_ptr_compress.h +++ b/lib/ptr_compress/rte_ptr_compress.h @@ -141,7 +141,7 @@ rte_ptr_compress_32_shift(void *ptr_base, void * const *src_table, i += svcntd(); } while (i < n); #elif defined __ARM_NEON && !defined RTE_ARCH_ARMv8_AARCH32 - uint64_t ptr_diff; + uintptr_t ptr_diff; uint64x2_t v_ptr_table; /* right shift is done by left shifting by negative int */ int64x2_t v_shift = vdupq_n_s64(-bit_shift); @@ -202,7 +202,7 @@ rte_ptr_decompress_32_shift(void *ptr_base, uint32_t const *src_table, i += svcntd(); } while (i < n); #elif defined __ARM_NEON && !defined RTE_ARCH_ARMv8_AARCH32 - uint64_t ptr_diff; + uintptr_t ptr_diff; uint64x2_t v_ptr_table; int64x2_t v_shift = vdupq_n_s64(bit_shift); uint64x2_t v_ptr_base = vdupq_n_u64((uint64_t)ptr_base); @@ -215,7 +215,7 @@ rte_ptr_decompress_32_shift(void *ptr_base, uint32_t const *src_table, } /* process leftover single item in case of odd number of n */ if (unlikely(n & 0x1)) { - ptr_diff = ((uint64_t) src_table[i]) << bit_shift; + ptr_diff = ((uintptr_t) src_table[i]) << bit_shift; dest_table[i] = RTE_PTR_ADD(ptr_base, ptr_diff); } #else Do you want me to make a separate patch?