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 3ACADA04DE; Fri, 23 Oct 2020 08:13:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BE8C26C96; Fri, 23 Oct 2020 08:13:44 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2080.outbound.protection.outlook.com [40.107.20.80]) by dpdk.org (Postfix) with ESMTP id C4DEC6A72 for ; Fri, 23 Oct 2020 08:13:42 +0200 (CEST) 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=aLLj6AYCHuKjrTYbmelVA2kZDefDYBWRZmksJ1cBVL0=; b=2NmoGpBRvy163Y1WgdduQttodOkW7h2d7uekKhHpRo13jiu8SmacJOcUaPZkOTVLi9Dcgqqu+7hlkTDrK3RfyJBxlcKP2A8lBrFy5NqXb+FlNl3zbe/TCPaTmbBr7OhXjQVh0MIIj3wBb+oiCegP6zOKEM6+C7IAOr52GERCi2Q= Received: from DB6PR07CA0021.eurprd07.prod.outlook.com (2603:10a6:6:2d::31) by PA4PR08MB6173.eurprd08.prod.outlook.com (2603:10a6:102:e5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.25; Fri, 23 Oct 2020 06:13:40 +0000 Received: from DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2d:cafe::90) by DB6PR07CA0021.outlook.office365.com (2603:10a6:6:2d::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.4 via Frontend Transport; Fri, 23 Oct 2020 06:13:40 +0000 X-MS-Exchange-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=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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT022.mail.protection.outlook.com (10.152.20.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Fri, 23 Oct 2020 06:13:40 +0000 Received: ("Tessian outbound e6c55a0b9ba9:v64"); Fri, 23 Oct 2020 06:13:38 +0000 X-CR-MTA-TID: 64aa7808 Received: from 1c59477be0d0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2C9E058A-2EC0-42C4-8D9E-FE0621218E13.1; Fri, 23 Oct 2020 06:13:31 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1c59477be0d0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 23 Oct 2020 06:13:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PZGSaPQELFsNMZ1FFL1waSCqw4pSxPxtcs2B/WdZoaduQZHHLyjkgs0p87u9R7Wnfdx9QCswkrcLTFd846s3/w/Y0I4/Zl76AUw6Id9cn9cwW+H0BQ4AC8DPtHcVW2zSHQ5EMK4fFCkcxF+XncWQSmmi8az9dLHWpc0S1qpCpCDcIJLUbGWSZ/7LEQFq/POVywNKt6w/KDw1d2GcJ3QlKfMBzd41iCAabEM+YFgKW1otQnWmJ7PgwRc1VvIs8jaS5AyJZXYDtP3I/CQUj7DvD00hHi0DBNUpEijntiX3BrIuEPVqWL9lrkThHsxaOJA6sEzSIGMKwp3nqjZ4G14DpA== 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=aLLj6AYCHuKjrTYbmelVA2kZDefDYBWRZmksJ1cBVL0=; b=B2eEHtiuNo/pwLTJ8OfblcW3yQ14QNYQ23XG4MzN5rJwY3Yl09ruLLhlY6iMKvDL+O46RFOsk9XqjBZlIWNyjq3YREXjnWNSC5QcKSmwTQK7W2ERg6nbjfJBX9Bufeo+sx0sV4a25vSoeJqGOlyyzcCnxnQ5S9F50nRK5IMiHpS7RTACwvKUJlvBXX0rkeOdnJDduGtn9tNq1bjz2lj7yhS9+t+n6ysoXXHlrE/9JaBYZFN/JZcDPUmAIgi+xckn6YyReQjM+gUkcMq0ATN6f7HqrkR+g3ibkt8K3iFZPFyuecPzDYRd5CJpO2f7tM/8WAHaT7svM+SufvkX/zgz+Q== 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=aLLj6AYCHuKjrTYbmelVA2kZDefDYBWRZmksJ1cBVL0=; b=2NmoGpBRvy163Y1WgdduQttodOkW7h2d7uekKhHpRo13jiu8SmacJOcUaPZkOTVLi9Dcgqqu+7hlkTDrK3RfyJBxlcKP2A8lBrFy5NqXb+FlNl3zbe/TCPaTmbBr7OhXjQVh0MIIj3wBb+oiCegP6zOKEM6+C7IAOr52GERCi2Q= Received: from VI1PR0802MB2351.eurprd08.prod.outlook.com (2603:10a6:800:a0::10) by VI1PR08MB2701.eurprd08.prod.outlook.com (2603:10a6:802:1a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.27; Fri, 23 Oct 2020 06:13:27 +0000 Received: from VI1PR0802MB2351.eurprd08.prod.outlook.com ([fe80::14d4:6ade:368a:204b]) by VI1PR0802MB2351.eurprd08.prod.outlook.com ([fe80::14d4:6ade:368a:204b%3]) with mapi id 15.20.3499.018; Fri, 23 Oct 2020 06:13:26 +0000 From: Ruifeng Wang To: David Marchand CC: Bruce Richardson , Vladimir Medvedkin , dev , Honnappa Nagarahalli , nd , Kevin Traynor , "thomas@monjalon.net" , nd Thread-Topic: [PATCH v2 2/2] lpm: hide internal data Thread-Index: AQHWp1atOl6GM7AnYkeQTZqGHD3Vm6mjvVKAgAD4HeA= Date: Fri, 23 Oct 2020 06:13:26 +0000 Message-ID: References: <20200907081518.46350-1-ruifeng.wang@arm.com> <20201021030211.36381-1-ruifeng.wang@arm.com> <20201021030211.36381-3-ruifeng.wang@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 401C548E16E1DA4E9A15069C1F428D1D.0 x-checkrecipientchecked: true Authentication-Results-Original: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.113] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b88f1890-4052-4265-6fe5-08d8771ac926 x-ms-traffictypediagnostic: VI1PR08MB2701:|PA4PR08MB6173: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HX/H7Wul8xNN8sfyFy1b4SfN81tKg0TM9pV1H0MX9yzGDupBfvfU2sEXITiSpCNu7Ytx/R51FE4iuVecDZg7eFegp2/92dHOrkAW7sq3Qitqd1p3Ch+Iv9TSvzg8ybIyZGzjjPStdBlyoMylG/Ilef12xnezZ2c9uxrceF0PIl3D1GMOiKOHdFixnpknwCptzKEkwao+FBcQXpy0Eb9CVqg92ycFbX5wrjY7Cnr9RykV1WPqIy4+UztJ41iIngy3uG5DfBZKVP1XI0IUemDVb0542AfZYhfwX3fguIeBGLr5OLwSZVJA6li6yunQFCD+A5v8h9RNv2JEiVk63KOkJG6P/0D8Z+Ann8c5oaOPGdYQFPDeyWd6JSFyPNBHzk8SE1uPOgCt7QpbagA35pb8Rw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0802MB2351.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(366004)(136003)(376002)(346002)(4326008)(478600001)(8676002)(6916009)(52536014)(86362001)(7696005)(66556008)(66946007)(66446008)(66476007)(76116006)(83380400001)(5660300002)(64756008)(8936002)(316002)(9686003)(186003)(2906002)(26005)(6506007)(54906003)(966005)(71200400001)(33656002)(55016002)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 1MGpRVv0mnSml6GkE+GY8ffyoA+YPpql1cV1S5c2DlTKhZziY2/9y4PSRKTmHiUZa2bBzJinwExxlH8kwFELWuPHc9iB13KubT4s1TKVUN9eA1Y00QC7u6LL52CWx2POlpd4QmHV00HzCj/FW4NW4k7chS27iyeXFm32lFn9s8ifMFGqK7Vq84cypWPdArHZZkxuvmgtKYQsSnKe7CvsjO4DQjfY2SMY8r6uwwqv3G8ULt5bOPlX/cpUc1tdNhtNIeqD6R250iqIyUCl/wZ7tiw6Omp1XoXfRhkiZH5BFNZ+Nzu7LAwfBCmrauFwjIJlsL6d9pk9Xhx9t99lVYcRVSew5JkqU8Xo8+8sO42cStatKGeJjhQ8/3jxUT6+yVRsf/7gPnrq3kcL4qozAOw6z2322zLAdPvqso3bbsEBrVoXY2k6d1/1vWwlRQ4HVVhuoGXQcM2l3zmP5BjQIycdujAJcdng79yutxdCy2ycUrWfcsVM3X4RW4eOxZTinTeiooNLqbw+FyRv8+hGqhOtybLNRhoSo4tmOF4jffZAGvcBHsFYQYR4XgEMG3qfSOzhUO6KkQnDXTNdOA7QRdVXd+coaBQH3RJce5cZoNw+IBzGRuOGUft29WAgjGobCWsgbuJyo1+gp74a/cwcoxh5pw== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2701 Original-Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: cc6a4b89-a7d5-45d5-919e-08d8771ac142 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cra8OvCvBpYcpbLD7bRYRPYHjwzWbL2SB0u/Eq5bFIjc4egGjxsIa9toxg+FV4iK192sP/7olpYRctrml/nYzfuFT094MknY7x+dEXTBCkpKOaSO15PRJGmnvM0H9TY3ThL0GtUNhLxlAzJ9dhVIMYwj6Y7D8OLMweu8KWGTQ3Snwm9qq5LECwsbCCYW/oJMtGyEx1Vp1GD9JAhwF51Gj7dB2GEl29xY9wgkCHili5htE7Hv05TMiYyESudRfvUbAvR4CvBXbmV+juqaaybaWhJ26Rhb+5G7a/XyXqaSqnmqbAIr6AIIY4/4VjaQf2KjEyxqRTHjenO6xjUp+HokUAQ2tI/n5fRY4tefwDpek68SXfwBK7YrNVeUYWEN6omrjBt5ZMrINFyS/AkblZR+nigqcJF/YxVZL/AfnEB55rNBcgi8vSQcdjTvyU+BkzMmy/oWTkE0+k8ZVgwpey9LzvZK7GL8AfppDnunQLYivHQ= 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:(4636009)(136003)(39860400002)(376002)(396003)(346002)(46966005)(26005)(316002)(2906002)(83380400001)(55016002)(82310400003)(336012)(54906003)(356005)(478600001)(8676002)(186003)(82740400003)(9686003)(81166007)(8936002)(47076004)(4326008)(70586007)(70206006)(6862004)(86362001)(966005)(7696005)(6506007)(52536014)(5660300002)(33656002)(53546011); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2020 06:13:40.0379 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b88f1890-4052-4265-6fe5-08d8771ac926 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: DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6173 Subject: Re: [dpdk-dev] [PATCH v2 2/2] lpm: hide internal data 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" DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tL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