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 01C76438ED; Thu, 18 Jan 2024 09:58:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C216A402B0; Thu, 18 Jan 2024 09:57:59 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id 31421400D7 for ; Thu, 18 Jan 2024 09:57:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705568278; x=1737104278; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=M8T+NBmwXE6HbtM9YBCSpEim+VVU8t6kc/37zpN03VM=; b=SQQNfnGCja7QiJS7vRYQ7NlRO8ncsAQ2W3vBqnW0VNQH9ZHs2PaAV/o2 hI3PNLsrDyfqiZL+0koNJrRfFW5L16n1b+aWsWtRpe3nsslON/+ZBYST1 nDMgAvJnPooWMznRvdNM1kGcveiY76Yt5xWEjCwdTkMOhKA7/CdLEa/uw xWBsLmhAqEuM+kLjgR914eJ9OyV6Uq8tnXjJowx3D4YeR/yNCK+Ny8jGv rfpRCVCL7ceGrDDCTJ5aSp+/5BEpzS6Hw0cHkXTDEg6gZ4OTXoqu5ssr6 VHx8GTOEA17/eI43sXPYTDUT3zk09r4fbnfgeDWLc1ReGyPJgBp9ZOztQ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="293945" X-IronPort-AV: E=Sophos;i="6.05,201,1701158400"; d="scan'208";a="293945" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2024 00:57:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,201,1701158400"; d="scan'208";a="33049518" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Jan 2024 00:57:55 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 18 Jan 2024 00:57:54 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 18 Jan 2024 00:57:53 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 18 Jan 2024 00:57:53 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.40) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 18 Jan 2024 00:57:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AmEiRkoBU51DwWYl6KsS+bgljSlfxxfQ1bdcQZ7+p8b5n+/1GaJOG6Zy8iM1c/niKdT8IrB/gLc6VBp1AQ/mnrSCzNC1pEVeUCuBbScGZE6HGPTX+CBbqZZ2Jbo1iBK1YQ384za7lLS4aaqC+mRm6WFcR1sf64a9NfuDWqGIRJhq0CmtUkBtmxYk4N3X+bFX3z+cTu78brrsf7qbAmnTNfJkhtf3l/6905EbFby63OJfk4Xp84pyV1aqLkgc30dGFaUv4Vn1aS1uT6mAH23+6ryjMe4PVj031O01GJE/++hthCIq6XJmSR91i+YLwZG8Wv8KOvY/oJzJJJ45aONFrA== 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=T3vznusCtPgYUAFly+VOIhW6Tht+2aoBEKTvMwndIp4=; b=OKFNBhGxLncWYI+ODsoCk05A1DI09kCf4vZuww0xBqdNwwMQuJ4qh1Ed2rk9fvl2+KrKiMrdae6Z0aCV8cTBii8jw+7E8NsQtvA2i/DXO36CIgM+rqmfapfon0s6ulKxLrXlsUZlpPuvmyDJsc8Klvdo/+VE+YyuSB76hGhCu7p9+ZBiCwAZz5m2V1Wy8rXtNthhtH9ts2/DJrv7eR33T9kQJUinEOx79ucASYhnrO1QcSylWeady4xJGf2Y2XFbpKQsw7ptDELH0geJU7Ck3kzukcEUu9reMQUEfMoVQC/XIqe6yT02K3IPJCwa+FIbE/M7rljyTcKopQpwgrMsAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by CY8PR11MB7339.namprd11.prod.outlook.com (2603:10b6:930:9f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Thu, 18 Jan 2024 08:57:51 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::df88:b743:97f8:516c]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::df88:b743:97f8:516c%5]) with mapi id 15.20.7181.029; Thu, 18 Jan 2024 08:57:51 +0000 Date: Thu, 18 Jan 2024 08:57:45 +0000 From: Bruce Richardson To: Stephen Hemminger CC: , Yuying Zhang , Beilei Xing , Konstantin Ananyev Subject: Re: [PATCH v4 4/6] net/i40e: avoid using const variable in assertion Message-ID: References: <20231111172153.57461-1-stephen@networkplumber.org> <20240117182541.211125-1-stephen@networkplumber.org> <20240117182541.211125-5-stephen@networkplumber.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240117182541.211125-5-stephen@networkplumber.org> X-ClientProxiedBy: DU2PR04CA0164.eurprd04.prod.outlook.com (2603:10a6:10:2b0::19) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|CY8PR11MB7339:EE_ X-MS-Office365-Filtering-Correlation-Id: 97e21ab3-0f81-4542-4a51-08dc18038d70 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ESa7gIyMr5GFEqD36TXcFOPC6ZO3jpNmaiTa37w83upgZJzbJkcsahwaQ+bK47DD0/YVKuboojsDBEzHEf+V7umD652Vb7MkFi8eCCmDSpRa1WuxnzcLtU5mau2vjXFBgrfldoUJ7XWse3pSOazE51rWgPRG2UHkTuGBFSEHtml9I0JJZlQ+I0RhJix/21aq+RbCw0uEd9Tp67Wlh+SSO3qVu0FcFYT4Q/YeGLbHyUHJzm9bCMnwnials6SLfuVc6AtJWESVyj9kEG2wnDWqHxfGpphGwVPybuJ0w7ZYQfcJ74PVnJcnxp15I+cedGQC1lpiO2AdLYi8vDyChj17LLtPLvcv+0L4zGiHik1+nGEt8q78y9ZzC83u847RAtDW6PCZvRpkjdZ7MP60YLxK+ovZ4ed6X1Yjp5Gm+4c9j5K8PPvFoYYS95W/4I4+wJCC3gDuiQiHhMWbtOz4Jw9q3rIIlvWB5xcdU0PFKDwgfEp4+ElWqYhZvmLtlOqFbpecJp2RhJR17be3AXHU3HVjO/LWnNzVp3bgENcBxEc6KVKeC7SWA7xQCpDjXyiJJc2V X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(396003)(39860400002)(376002)(346002)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(41300700001)(26005)(6512007)(86362001)(558084003)(82960400001)(8936002)(8676002)(4326008)(5660300002)(44832011)(6506007)(38100700002)(66946007)(66556008)(66476007)(54906003)(6916009)(316002)(2906002)(6666004)(478600001)(6486002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?wJoHxiOakioEyBon8bQ1oW+87B+nBFsauLlgC7yCbVRlimv6jXLxiMcXm7sl?= =?us-ascii?Q?r2UnsjQlp3C7N2PpVlmC7KG9BFatoB7QlTb/Uopf3nGBwWuwp6MZTfJfJ14s?= =?us-ascii?Q?Pvaw1IA50L4cU5YE+vDxhBvY74EGmlMRYKSgUzOoLfw4SmO3a9di/aurLC4R?= =?us-ascii?Q?3Z/XzmreClacwbUz3gkRDczgzwDvD1JJYAqqDPGPJwYCBWoCgjg7Gw0m/Dm3?= =?us-ascii?Q?wjalGF31H/d5BFVGf1suHKDytAyAIHSfY6XAI8NpnswY+kwJzxAwIQdqQKF0?= =?us-ascii?Q?UE9ldOs7xaUTvCQaSi3IHFds3pLvsPJ8gG1Q2gAh9LAJuXLETo1AZTvvq/Wo?= =?us-ascii?Q?+gxwavI0ERGu7OfkZVPUFw8rtnX27FX8pkuki9JV2261Bjknvp9o7j0EPxAY?= =?us-ascii?Q?a7onM/Hx+LfDC69h4LCRB0njaU3wTjEbjzpzEUh12TlArqaubwJM77vaye0B?= =?us-ascii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G4huIeq9?= =?us-ascii?Q?nkTz4FyCoOjoL6lrYcB8ogYuNYlJRfyvB2af13euShLxanD1PdV8kpr5w/Y7?= =?us-ascii?Q?vhWBGQgs5OdNnA29F8E/kGv4Ejv9tpk3lhMCHn5CgkoSqH9qlDSzdFgUuy02?= =?us-ascii?Q?J+3kIxhne0uuYfPciyAHF93FGh3gQcJ4Hek7rrJTc5ITZuFE/isc29VI8eYl?= =?us-ascii?Q?RgDx2wjDQx6tU+ucA8bhwZFdbeCzjNBLgNpj0RHCbfY8CjZPe2RHWnFAqnKS?= =?us-ascii?Q?sw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 97e21ab3-0f81-4542-4a51-08dc18038d70 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2024 08:57:51.8304 (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: Zbbddqi6MdTV1cXBmIdZNJv+Jz02kUhnOX8C21j1yG8jJxw/Un7Fs8svD1PY1z4GRyerwkhkL5E9MeNcedno8oI0O1D07i5YFjHgoLHVs0U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7339 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 On Wed, Jan 17, 2024 at 10:19:58AM -0800, Stephen Hemminger wrote: > Clang does not allow const variable in a static_assert > expression. > > Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson