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 D3EEEA04A6; Wed, 9 Feb 2022 10:42:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD51E41141; Wed, 9 Feb 2022 10:42:33 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id B9C3141101 for ; Wed, 9 Feb 2022 10:42:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644399751; x=1675935751; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=M00Iqq5MQbkfRIst3iV0AhCk5HovAHyDUYGnVMy+Dkw=; b=gu7P2y7Gb8/K6I1zk0c82SOBWw7B2e1sxnYEj5Qt4SVMMeo6AZFuDFAx DszV6CGtUuWcSgKsV30LP5/ypvNYn/iqtDuvO71t6hWChdlg+kBWdOFCK PAE/noFk4JWwG4KnBdvacm4lUJxHEqB1mqQ8UBA0EEvCkMU0BrOSwN2h5 4M8Ni5p3+dvSpSJOOX1RGkVHRFXdTgDIxKJCVQ+65o+oeIjZa2u57EKIy Lwzxc8YNvdEz/noxDdec5DXEz7geCTNiEo1j+5Z2su1iAs4OYWz6it/Mz M0kiAVHNZheu3Cjwmk0cMCkUnoCSKwLdyubHBanfRmCg5wQ9zh8/RKMUb A==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="246752260" X-IronPort-AV: E=Sophos;i="5.88,355,1635231600"; d="scan'208";a="246752260" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 01:42:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,355,1635231600"; d="scan'208";a="601564402" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga004.fm.intel.com with ESMTP; 09 Feb 2022 01:42:30 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 9 Feb 2022 01:42:30 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 9 Feb 2022 01:42:30 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 9 Feb 2022 01:42:30 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 9 Feb 2022 01:42:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pd2D9OiCu896AZZ5vMlYO7F/6qXWDgF6swhvPy59FUa/pHRqd0XFHlKws85HkpIe/ji8p9uXrdDpnvYYVO+hvwsYmGOobqt51j8TL/B3IEJlVDDKcJyXklrdfINDl0buzC9vgLDzmt6nZvRNZ1fJUvSh7dw3p22iK3qxyyQwfYvjIrAU3XMk5JfRzArE/ySmuA1yQKanpviiSFcgnimDfYVGYJSmQKmPTPn0v9xSwa07oIGd0f0iHZi3RiC48tj9nSKwcURUg1KdKtlkFp0GkgS9eXtrn2rFJv0mwIgR7CrYkYABrOOxIw6yH9k0oO8NmeMN636LAZ4tsQdv47W25w== 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=Gx+SDvMvilmuDIfqjIvg7t8YkylHJwl/7FdeQ7dInGg=; b=arypijyldM/DCTtZSdnaN6mx0G/QN5wG9+fXh4jbUooy9OrhPhkXDiAhPyWhOFZRo1bD3Bu2MvXx9rYTd9GkjkWNY7mEQWC8E8HB0QaBs6bR1nE8iff562ImaDfYb3YJUHSAzDNFNhWnWKgG01/fb/dc59+Q7rVNzQ9fxuho1XZah1Z7WBZBN00A1wdaX+p+M46+rV+DM1LuI6KMmykYaJQYlkCbTw00RG0X/EL4tSvcXBksBP8DwDnCsXNQ9Z6Y3oz/jr8rvY64vHGWgCmQ7FuyyLuSEuKJzq2+tuJGcg2sHuYcXUcBVu4t831CICj5ng9HkXWMhh7p/Ujb3OemBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM6PR11MB4491.namprd11.prod.outlook.com (2603:10b6:5:204::19) by DM6PR11MB2890.namprd11.prod.outlook.com (2603:10b6:5:63::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.17; Wed, 9 Feb 2022 09:42:28 +0000 Received: from DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::8ccc:ed65:78fa:1b07]) by DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::8ccc:ed65:78fa:1b07%4]) with mapi id 15.20.4951.019; Wed, 9 Feb 2022 09:42:28 +0000 From: "Ananyev, Konstantin" To: Weiguo Li , "dev@dpdk.org" Subject: RE: [PATCH v2 12/16] acl: add define guards to avoid multi-inclusion Thread-Topic: [PATCH v2 12/16] acl: add define guards to avoid multi-inclusion Thread-Index: AQHYHWHCPZFCKBLWi0+h1ZE6bQEv86yK90nw Date: Wed, 9 Feb 2022 09:42:28 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dd531ab7-a3ef-4772-5806-08d9ebb07c71 x-ms-traffictypediagnostic: DM6PR11MB2890:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: I3UdPP2w+R4laU03dWObvVZWH2/aRbGoDUP46crKRYh63GCOPyQQ7jGVvt0VugHy7DaDKAMZ47Af3LYdgkyhnQX73iuDOGKyibxa6HU2IXcUaYU+R2pdiz4P06HRFDRFIxy0UJOXxcjiAhr++C5IiQR11Lgj+lDf1zoSVqbufut/sCqkI4hFUrVZzi6w/cSW4FtwZpmCcLKGBIN836AgXb46asgu+oN3RWixZBeNUc6PxxfHA6A3Xc0uaybptxOxEaz8y6bJFQ+uUYPsxY+aoRIlTiPyhZdbGZ3j1EiiYeiIT72g8N6o8FMMbQfKspMvAdPIPSOPW452OOuoSW217ja/tdycra7JUhEvFXHa30HR7Z8F99LGb7QYCSojCHdKKRfB18nemo71ntrUEX4Iq3PvlavmahmayONC88B3RYMWX3SWy3DFCXepzdUtNs2mkZsUQYKm35ce8xjGCE1R8OZVs9lroWRjyBKMN+0H8qDEoJUvqeux9mJS2yMJu6t4/p75k5YnZ1zxPU+MTduw/GfsTIulXQYZ2KdfU8T2r+y7meQLLtNCISsBSSMaPyEA7gwxWUWpL766RhC+RtJuaQgcm45VbvYg/WZQmCcBDWIk+xMivOFiqcFhLMaYborU3GRbPUnTa37xcM/Mxko8QDKxxaiAX0GUofmZH0w4cO9vVzKNV05nF/WrVbT9Po/qAMFNAdPJErBBvIPf3Zm2Aw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4491.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38070700005)(82960400001)(55016003)(508600001)(66556008)(86362001)(316002)(122000001)(110136005)(71200400001)(8936002)(76116006)(7696005)(6506007)(9686003)(8676002)(38100700002)(2906002)(33656002)(186003)(26005)(5660300002)(64756008)(52536014)(4744005)(66476007)(66446008)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vAyd9+bmO7p6/aslPN4zozMkUT1WtNjfGnmJhirbIKmZzYqR+Wlohn32X4jW?= =?us-ascii?Q?zDzczPOtxLT/k2KlTPLAwg7R0g6neBggaa2Q+diBYOJ0wxVw3D6rInn9/Hxa?= =?us-ascii?Q?hWCtzt0eYWO/JxjVz/9KXnn0HtLzM7Zd7Z6HilC5+lW1n8dnvp4/8dq6RoZz?= =?us-ascii?Q?QxfNs5F38/Orcmee6tFBcfdnuFL+QYOrjtr49XNLDHhBbhCCIVYIx7f/vD9z?= =?us-ascii?Q?XTfAaJzty4la/vtpQSLtSe85nLtLpii8TkOA3jTTl2w00bySykX8spVq/Idm?= =?us-ascii?Q?bsMlwr8ObBNL611A0faMLdL+Tp7qnM7LkWJ7VLSt8yT5BJTJmBltbeR3RZpT?= =?us-ascii?Q?IjKyl9tKQ4eweuAsd07dz0JdaaP53MIFlLI6BaZDjumzkVoRg6E4SUAYX6K2?= =?us-ascii?Q?gIZv7lPoR2HTHwksomDKJi4nWTY2O+fOsTuKWtimnfQ1zGMK9f+0nfuN8vHT?= =?us-ascii?Q?uB/4m5bZW70LtMwu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-ascii?Q?mSjQ2hVvWt0BUbFhMZ0poAeDB2iMLwoJj+G7+WECKKL9K/IriuSmqRadNihH?= =?us-ascii?Q?5meLVHViBbEXbrZ4gXlo5lHw/7Umcd22yWrwrE9+vhFZkAbpGaGPWPabcFxT?= =?us-ascii?Q?l0oRVfcI2/bLyAEtqyPrPmr6ZYxqCP/omnsH6E6/G1CWoBe0YXQeyJSy3eMG?= =?us-ascii?Q?14cpyXm5D4Qtd3xr/EfSUNohRSAzmG12vGvqmVN9wtWSu2XL0Ihul2+uqJgm?= =?us-ascii?Q?nIctR7hF/fT4FIzoiBC+/NKhdu2fsfE5yRQSEOg+y3puF19USFQdBGmf0d2v?= =?us-ascii?Q?yXmlhQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4491.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd531ab7-a3ef-4772-5806-08d9ebb07c71 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2022 09:42:28.3741 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3ujG6WrPkwBtXovRoSJXG6Q6bPVg8AiuxVKU/rb9PC6kvn4bzXWde4i1IxZW+fGieDnuRNTKGwymN7y1MRyCNO2Nn0kr2KKtE5b9aBoqeoc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2890 X-OriginatorOrg: intel.com 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 > Supplement define guards to prevent multiple inclusion. > It should noted that there is an exceptional case: > lib/acl/acl_run_avx512_common.h is designed to be included > several times. >=20 > Signed-off-by: Weiguo Li > --- > lib/acl/acl_run_altivec.h | 5 +++++ > lib/acl/acl_run_avx2.h | 5 +++++ > lib/acl/acl_run_avx512x16.h | 5 +++++ > lib/acl/acl_run_avx512x8.h | 5 +++++ > lib/acl/acl_run_neon.h | 5 +++++ > lib/acl/acl_run_sse.h | 5 +++++ > 6 files changed, 30 insertions(+) Do we really need these changes? All these headers are internal ones for acl_run_*.c and not supposed to be included multiple times anyway.