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 B0E5742D60; Wed, 5 Jul 2023 00:16:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 836B740A8B; Wed, 5 Jul 2023 00:16:58 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 355BC406BC for ; Wed, 5 Jul 2023 00:16:57 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 0FEB5206A1; Wed, 5 Jul 2023 00:16:55 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH v2] eal: avoid issues in macro expansion of alignment Date: Wed, 5 Jul 2023 00:16:50 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D87A60@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <20230704090056.086363d9@hermes.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2] eal: avoid issues in macro expansion of alignment Thread-Index: AdmukLsQkE6ONft5RbGaw7swUAAyzQAMuKmg References: <20230703185551.57908-1-stephen@networkplumber.org><20230703232357.122084-1-stephen@networkplumber.org><98CBD80474FA8B44BF855DF32C47DC35D87A5D@smartserver.smartshare.dk> <20230704090056.086363d9@hermes.local> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Stephen Hemminger" Cc: , 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.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