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 9357A45CE7; Mon, 11 Nov 2024 10:16:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6937040E0C; Mon, 11 Nov 2024 10:16:13 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id 37F9640E01 for ; Mon, 11 Nov 2024 10:16:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1731316572; x=1762852572; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=YGBRdftXdiITX42jpC9I8cHOGX+giA/VagPODmV2qNA=; b=dks5qW8X9Fl+OVVo6DZA5FxpQzMIETHGHC8HbeVeZ+7qaHEusSB88hWp 2x+LDkAz+u1PMkIJdYb51O4GM2rBAfVyJ2D8Ws/QdxXu0OjHRg0QS0QWX vBcRzuXh1xMnx3/cPT331p8R8br7KeX4bXVeYBBonhRNCb2NmgWf6oiWz bsoNdWD8w5AxXhh7wduQ4GFCquBTZkUgpf3OVMfppZ4Ir4WRCyoxI1i6s rrQ5kZZoGj/D4ntqjiIpgK7FwXP1NB4F/cofIYqIj/nEBOdiJO41Peu3T YItT1k534VqhCg8rx/d+kvyqptjSvHpT7wtmWUP7+SItu1yblJBdAe6L2 w==; X-CSE-ConnectionGUID: CPGj4gvSTuyvoTdzaVmYxw== X-CSE-MsgGUID: 16UKkDeZTHi5+MWIzdL3iQ== X-IronPort-AV: E=McAfee;i="6700,10204,11252"; a="30514843" X-IronPort-AV: E=Sophos;i="6.12,144,1728975600"; d="scan'208";a="30514843" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2024 01:16:10 -0800 X-CSE-ConnectionGUID: Dq6rwzF9TQ2B27djjUcecw== X-CSE-MsgGUID: v7CrkAfuRkiMKXPdxCbtYg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,144,1728975600"; d="scan'208";a="86783602" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa009.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 11 Nov 2024 01:16:10 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.39; Mon, 11 Nov 2024 01:16:09 -0800 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.39 via Frontend Transport; Mon, 11 Nov 2024 01:16:09 -0800 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.43) 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.39; Mon, 11 Nov 2024 01:16:09 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gKA5C4Z3qjs6H8ksl9MtZzHFGciFXsh1HLYRxRn/UzUK/T7RRtlxBw8hp2n1umHEWs0eiy0gDoDzAJOo/4A/wowAxIRu4EmLxf+IP9FpNfKCDJQLcjULKjvHqRvEnj8jJYlOLTQ9+LtS3TK7aLpGecX/hFB8GS4xgmLdSzHrX+JQSXu2itiHGCc2RJHURjW8nV27kzPCfgLtyzi+hWvwq3FcxUEgYZW7/ij1JxQ+cn+sGIqkmx1GQtr3mEUaqZIgChfsu/XKHjIO7Efie3lkdbjSQLSdsNDFvBkCDNscf8XVnNWkEGmM70zhtcUbHURaXjpE5XuezyVihP1YLQcUQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=gdJC3abvmBPFHd5w3I0WbXRkv6X0jsfeLv6VKeOnhmQ=; b=vbmxsm2sk6Oo0us4m46u4AG6VeUo7oHqRpJcI8KDlWjfGni9VLNv09DRAZ21Q//WbGQaKrie/DjxaqTu3lwRGBlTBnBNRNthSj48QExikNwG1EPfqrAQO2JHLlhaaY3bRLfOmnitYS2nzLHmBTZmYkXsMiZabHrOfaftogFoqzRE0fnAbwSNrOffGyHD5+YAaioOGaFddoJEfc97yO2TY3CPSxgo87vK2mJFdR/pAy75kMF5VzaNngfRZOyswRNeqgnhJxKX52GOzfHEyuGe1c1eq04IOQhucIyhceG6dTDVKeGFJyLEgrUQo/TUSTrj2wD5NZnH3v2YrEyZCaWSHg== 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 DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by CY8PR11MB7873.namprd11.prod.outlook.com (2603:10b6:930:79::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.26; Mon, 11 Nov 2024 09:16:07 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a%4]) with mapi id 15.20.8137.022; Mon, 11 Nov 2024 09:16:07 +0000 Message-ID: <4b47a621-41b9-4498-ae16-bd67e1b83d30@intel.com> Date: Mon, 11 Nov 2024 10:16:03 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 11/20] net/ice: remove use of VLAs To: Andre Muezerie , CC: Konstantin Ananyev References: <1713397319-26135-1-git-send-email-roretzla@linux.microsoft.com> <1731116892-17109-1-git-send-email-andremue@linux.microsoft.com> <1731116892-17109-12-git-send-email-andremue@linux.microsoft.com> Content-Language: en-US From: "Burakov, Anatoly" In-Reply-To: <1731116892-17109-12-git-send-email-andremue@linux.microsoft.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZPR01CA0288.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b7::21) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|CY8PR11MB7873:EE_ X-MS-Office365-Filtering-Correlation-Id: 46b80b61-8da8-4e81-cd4b-08dd023179c8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?QTEwSXZNTTI3NExHTUlpR1ByUTVpSzc5aG56Mmoya283MUFmZTJraDAxK0xv?= =?utf-8?B?bUJVWnBCU1RpbEVvbXgxSWF2NUpNR0d2bHBNMVdsYVJ6Z0xIQWROeEw3QlA4?= =?utf-8?B?QlhoOVlIdFQ4dWV1RCtqSEQ2a3EwWlFKOEczMUJ4VWFRSGMzOXRjZXIxbWV1?= =?utf-8?B?L1FBeWEvQ01pODNyYUxTZkdPZ1pkbWJVZXI2dEU4dm1ZZEFtUnRXWWZTZGFC?= =?utf-8?B?VisxWnViUk00a0Vmc0lZVGdBdG53OHJWU0xWU29JRWJzSFhVdG5jcC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QTU5SXEvU2p3NFVCZzV5?= =?utf-8?B?WkhyZjZ4YkJUencxUzJmY2RDejZTdk5EWnZmYyt3OE1EQk9STzZMS2NpdkxR?= =?utf-8?B?bDhQMmFwMUxGTFc5QkQvM3R5TmRZZG1IaEdDTjVRRjU4REViTkdBOHEyNUR5?= =?utf-8?B?NE92VmRURU9YWms3cm5MamxlQjFtYzJKK01KTGNtNGZTV2lkVlhHQ3IvbEs4?= =?utf-8?B?WWJkUjFlNFhpbDVSZW9hVVJRRGUzdGJwUjRiL2hnN1kyVjkxL1ZjSGF4a3p5?= =?utf-8?B?ZnJLZkRZUUIwSzZYZ1ZhUWdWS25sS3hqeFE1TVQxZDNjVUNVRk93bE4zK01C?= =?utf-8?B?RXNDU2ZnOFk4aXY3aXN5SHRuUFdnMXRrT2VHOTAwWVJKbmE4S2QvMEd4bUtR?= =?utf-8?B?ZmtieEEydEQyYk1YOUFUNGZURUpkeFJPY1VWRXBQSVVrOWRVbjg3NUhwUitk?= =?utf-8?B?TGFUTUFUS3RITWt5aFNFdFY2dm1RcllwWWZDZFhtdkd6VGxaNVRZVFZJT3RD?= =?utf-8?B?Y3VuZlZKM2R2N3Fucjg3WHhKcU80U3VIVGJHWmZ2Vm5TVmRjK0NnbWM5Z3ZZ?= =?utf-8?Q?TqO09ybhJvplKiei5A=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WmFOa2grMEdWT3Z2dnE2Y0tCWStUelZwLytIVnNQQWZHY0lYZU95RFcrSG42?= =?utf-8?B?eFlBNGQvcjI0TzRDWld5cWpiQXBCdFlIdzBmdkFPcUtiTkFSaFQxM3RCRGF3?= =?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ZR3VRYlp6ZDVNRHY0KzgwWVQ0cm84QWxJU1k5Zk8v?= =?utf-8?B?MlNxc09HQ3JGcUF6b2p1K0RWZWN1Q0dseUZTbkhqTFhudHVvUWxyMEkzNko5?= =?utf-8?B?Zms1Y0o2ajRMNSt2KzBEeCtyUnNYYmpiZ29JdTlRMDhISmJiNFRHZFQvdWh0?= =?utf-8?B?UTNsTXp6MllPdkp4Nk9IODVXV3Zma1BROGEvQnVvQklmSTBQeFp1aFpIMzdY?= =?utf-8?B?WmtaaEdLaUlOcFFsdllyZkpnd3ZqQ3V1eVRqbWVhUkJKRStZZjNhb1Ewa09u?= =?utf-8?B?NUE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 46b80b61-8da8-4e81-cd4b-08dd023179c8 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 09:16:07.7412 (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: j1RPrgkp4dRGyuavJ/1NpbEtKfMvLVoQVdSt14K/cKYy7BCBieTFRcmMbQ/v3D3gGmbye8jATTci3OE2s+Gs9e7SrjQsiNdJ2Ao+czyhqD0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7873 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 09/11/2024 02:48, Andre Muezerie wrote: > From: Konstantin Ananyev > > ../drivers/net/ice/ice_rxtx.c:1871:29: warning: > variable length array used [-Wvla] > > Here VLA is used as a temp array for mbufs that will be used as a split > RX data buffers. > As at any given time only one thread can do RX from particular queue, > at rx_queue_setup() we can allocate extra space for that array, and then > safely use it at RX fast-path. > > Signed-off-by: Konstantin Ananyev > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly