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 27B0842A50; Wed, 3 May 2023 17:37:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D49F441144; Wed, 3 May 2023 17:37:34 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 2DD78410F9; Wed, 3 May 2023 17:37:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683128253; x=1714664253; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=pCRyKzexBXVyZ2mAqXoW2EB1IxEo/08FrXqR4q1Fdmc=; b=S+RBduhE7YrgQ0E2om663Fv9iaorglMM16zIWyBcq6sqZvN74n0tkeqB gY6UI4D2LvJA98dLtw+qfeRyIpC4amCZWAoTQusMGO53XOb4Y2pInJ+Tb yEDP73QQlBC8kmIFIRUCCQFFg1Eplyy6u5YnqZjyxntQv0cwi9T+H6UVn nYkEA1F6KXkMR0xGyOdVQCI44Rg/+wIC3CH4DK6n3VJVY3gzy+W092N+F K/jxNwshKhk9UFW+yJ3gfsrbyqRCSkZg0Btd29S3njVFxpSj8w84/25MR rnZqBJvkNXR1AXvwQJHYWryEoAqky+ycWQTTu7KnAgS6vkBDtexrWk6w2 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10699"; a="346162386" X-IronPort-AV: E=Sophos;i="5.99,247,1677571200"; d="scan'208";a="346162386" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2023 08:37:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10699"; a="674128410" X-IronPort-AV: E=Sophos;i="5.99,247,1677571200"; d="scan'208";a="674128410" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 03 May 2023 08:37:31 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 3 May 2023 08:37:31 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.23; Wed, 3 May 2023 08:37:31 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Wed, 3 May 2023 08:37:31 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Wed, 3 May 2023 08:37:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EhK0rwZC3WtjJgm9ku47pyMJTxVaU7OOB1DC4txrtuybFbaTtM6KSwRyCL4knQmuoQCcgMatPjq1drWk4SE1BPgJAaJ6LIHhiZ1agBNfiddlQSp4zTOsff8O5B6q7Io7Yh5/X3WP4yIFuMktSJCQy8DtXyfOWt0ZnRScRMXPfU1tuqTwiTJg/EsRR13ujYJa0Sw/YDchsqsY2N9QMrfqifYwo5QGxuemVWpTxMrME5xdF4XJXp2dJezXz5XGcuKq8llcU8Nr/zVA8B3J/dNknxh3KBbqRLfeY7VSoQyCUjjlcpfal6uLunUqXSSUwDMRGIM/RVg/2vu2cbAZgQzv7Q== 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=gNsB9W89KhGvXV6ryptseOMeMmPNVU3ZF4D4ow5maT8=; b=Xo17MN1/DqzmKJdmv2DrX0st4gGGXWTCFaeJUDudfYx+c+mgpJx/GyBtRX1yqbA15d/3d+8kpyqmvqmlk1n1mySJtOPBUusLiwht98AvkhRbyfUxyhx4n59fTy8Zza7g9s0skBMbBoR3GIT49QKZOnKAzGpQQbSdtivtoBFiiELq5NswN1WUXo5aTyRFmlGkMBSL9uLiVu28H1ZGEjLUnqJx7+7/8R83RYK3WdJC10kSMdD6lrece+UdeQS3IyvSAQgEIcoxbJjIaBvGPtcUoL78CXlvPBn5hOVoPnJnjFy7p3grzZ/HUQ9QCyKZEjMiQYqgAFbhSoQvZrvZwjRGSA== 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 SJ0PR11MB5088.namprd11.prod.outlook.com (2603:10b6:a03:2df::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.22; Wed, 3 May 2023 15:37:29 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::b8f3:958:d2c5:2232]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::b8f3:958:d2c5:2232%7]) with mapi id 15.20.6340.023; Wed, 3 May 2023 15:37:29 +0000 Date: Wed, 3 May 2023 16:37:23 +0100 From: Bruce Richardson To: Tyler Retzlaff CC: , Subject: Re: [PATCH] build: announce requirement for C11 Message-ID: References: <20230503151413.14915-1-bruce.richardson@intel.com> <20230503153544.GB7537@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230503153544.GB7537@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> X-ClientProxiedBy: LO2P265CA0302.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::26) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|SJ0PR11MB5088:EE_ X-MS-Office365-Filtering-Correlation-Id: 9dd3602b-c259-48a4-e3a8-08db4bec4d85 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pPWIucd76Z3TFbr5GdQ9VuHcW5fXjOM9oJYUSinpQ/iLeKzO9A5X8UkTkXCpIb0ThhN+kChJ2xsxyRv/siDoOjwPuzU/RW5eMIij106PkOO9pHlHzt86MU4J6xPtp8PolzJTakgS3ue3OpSSLacaRJ81E3mOAAj/JjNl1NqBwwoaEGRJqU/kPf4jB1TNubnFYdLZQYrLdSj+wJ6PXXfP1WM1FGTNU3lpc6ZzsTm+AZiHp8Nwt9pwqd8Lp+Tfp1hnS81aD+kYub7aE+rCitp+pUCNcuzThbuopUNII5Lp+DOI+E95itGsoiMKK3OEoE7963sPHslfu42/phUkwOdb585zfX45sbebc089cFWm+DGDRew5wQ7LvQsOUuQCf9Pa0adQppaJ54TNB47mH9yiSNlqOOT93KytsgnI5XxQq9b46TqQmaWPhRVVYB9/dGwYKLKI5GoUCsmK8E1xzF6T0S5/Ej9xVp0QuJf+4p9RA7vUKOovbt+v7fS/o5IdQCIV9yUmxiumuTAFfhuXhyd7pAbtXSDzh+FRvTk6qoAMBCk= 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:(13230028)(396003)(136003)(346002)(39860400002)(366004)(376002)(451199021)(6512007)(26005)(6506007)(8936002)(966005)(8676002)(5660300002)(186003)(316002)(66946007)(66556008)(66476007)(4326008)(6666004)(6916009)(6486002)(41300700001)(478600001)(45080400002)(82960400001)(38100700002)(86362001)(83380400001)(44832011)(2906002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?HKQlQWkNYt1rI260iH9CP6cz7obzW7xWuVbtTPJsuDwOEeFpziq5kG+nbN1H?= =?us-ascii?Q?RGxF1iylQHj7s9U0qlIfNfUbD6421gfRYiZQmN41Cou6+Y2oGF5rFVdC5fDI?= =?us-ascii?Q?eCf4udxUnlfL/r3bQw2VmDY6IIxYzcomKMhotDE3BgO+61sUAqmXZfd/gZYO?= =?us-ascii?Q?ouR4mBXrBteIAyFD+bOkB13LsHFwsQvM0cmgysL5/CCnB0qSWv7CaVMvCBae?= =?us-ascii?Q?pORviXK4U32qOFQqrMjozM7PVwhXHNiB2tfMkolUrTDpkTXHO7AoQQF2by+3?= =?us-ascii?Q?7AWiwkCtve2YMT552wdBJgzzQ1tdpjaKlzrc2lRv5C+uapcfT7xeZZJzRqSf?= =?us-ascii?Q?NjnsKdqa6rl+Cb8iRkM3usnw/qaI6Q+qwUQj9oav0bZ8wHkeSXaZe0YJtVdS?= =?us-ascii?Q?0M1jMYdZmjGqGKW8mlxranqLHk4j9S3HQdXt5v5owRgKvCnw2qRqTH/h7ZOM?= =?us-ascii?Q?aAOErzvthEXSdrLYYE/nuI7cA+UVf1s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4NJnJxZ7KT2Wl0rot/sJ6ZjCXnkos0U0HOhA2xnlnfYMFQEsmeYByLgpB?= =?us-ascii?Q?/3lu+8Ojos5aflxqMJs7NJqFN77TMuU4UKSqSI0BstctciXcfYSZJGp7msX7?= =?us-ascii?Q?9gl37Ol9QuHNO3a4pOe8ZHpNa9MHhUpw9uTMj6VwWMZeJnc+zCXftzsDNijw?= =?us-ascii?Q?X0DyOS+SnKklHfGlMYBApeuRv/+DPJbP15Y7gt5LenFK005idpEdK0DEElWe?= =?us-ascii?Q?yg=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 9dd3602b-c259-48a4-e3a8-08db4bec4d85 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2023 15:37:29.0608 (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: 9ln4mye1QXmnYpsiOWWER/0LK8sMMzahbRZXa9zaNjZRYXn9qQFOj9Ki6M3BzVO2Ro2HXpMsNWZTjVJA/gKZJ4HBgUoVzrdtkLknVxbM24Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5088 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, May 03, 2023 at 08:35:44AM -0700, Tyler Retzlaff wrote: > On Wed, May 03, 2023 at 04:14:13PM +0100, Bruce Richardson wrote: > > Add a deprecation notice informing users that we will require a C11 > > compiler from 23.11 release onwards. This requirement was agreed by > > technical board to enable use of newer C language features, e.g. > > standard atomics. [1] > > > > [1] http://inbox.dpdk.org/dev/DBAPR08MB58148CEC3E1454E8848A938998AB9@DBAPR08MB5814.eurprd08.prod.outlook.com/ > > > > Signed-off-by: Bruce Richardson > > --- > > doc/guides/rel_notes/deprecation.rst | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > > index dcc1ca1696..9a391d2c49 100644 > > --- a/doc/guides/rel_notes/deprecation.rst > > +++ b/doc/guides/rel_notes/deprecation.rst > > @@ -11,6 +11,12 @@ here. > > Deprecation Notices > > ------------------- > > > > +* C Compiler: From DPDK 23.11 onwards, > > + building DPDK will require a C compiler which supports the C11 standard, or later. > > + Please note: > > + - C11 is supported from GCC version 5 onwards, and is the default language version in that release > > + - C11 is the default compilation mode in Clang from version 3.6 > > suggest adding an additional qualification that > > C11 conformant compiler including support for optional standard atomics > > does NOT #define __STDC_NO_ATOMICS__ 1 > > which requires providing the stdatomic.h header and feature. this > shouldn't be contentious since both gcc and clang have support. > Agree, that is good to clarify. I'll wait a while for more feedback and then do a V2. > Acked-by: Tyler Retzlaff > > > + > > * kvargs: The function ``rte_kvargs_process`` will get a new parameter > > for returning key match count. It will ease handling of no-match case. > > > > -- > > 2.39.2