Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1844419rdb; Tue, 3 Oct 2023 02:50:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2Y92JSN1N00iWCkWRlI5aAUJBHcHtr6tWTv/VWyH9RgNlA8u33viIjK50UQkNug5pZrtQ X-Received: by 2002:a17:903:22c7:b0:1bf:3c10:1d70 with SMTP id y7-20020a17090322c700b001bf3c101d70mr14230401plg.6.1696326634064; Tue, 03 Oct 2023 02:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696326634; cv=none; d=google.com; s=arc-20160816; b=msJJcqVDcOfVRjbEENRU9BxzMN2RYk+j3QhhNGBzuXGqpP/Aqckc8LXHQPyQaM8kUj deRtgsd+m6ZIRkNtmR/oWZ3KLeKlC0dm9FU3D6VPul3R8b1V28qdnGv76qI7bp1CK5LP NN+kqIK13nuxTcdsK4PxP0Mclnczr0NRy8s0ARoDTIpXCWLve9AR/3wN7NYAhy1NDAVX teJsbKK8Um/flCYeIMRlDKJ3Vhs4f4/tIqi1gmWnfalp/LQJY3tbr+ShEkt9VhfFyKYe Rba+rkq2l33KDh0/L3tc6kJyF5Vc8uJZ3Tq89CoXnUuJRQiSsqKskrS+KkuKITGAe3LI SqoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=Z91zZoqtGOx7/LfrvjaCTACDkt67K4oGHYAQKQneYN4=; fh=oa7rEwgGMS+460y8ymdxtWPg/RZUefzcI28A/jXWSnA=; b=BVK2e1Bv9+lMcl+QMD3Bw/rJ6N6s8GIZn0dnIqmWVRKeo30Llv5NTZNncdtFzOZOOO dBNS23BuO4phkUL+O+UXpN6hgylYBxKlJMhc9fx7Uj7heAGlLyk0mNiEWKW24u5gbhG+ UoPLJAfHhNj0TLWb9zQ3llp3mplqCZV1YbzjSI2JwYJJKn34LcKcihk2pgZYRkw9Rkli MLBXYnKJiwHDuVXPaZoBgkIPXwtW3kXsPX8tu81R0Q2UtiMFVY09gotUUkEvCc17Fu3U 7TyrnbrPrADdpK5WE3zNVhzI8J4CVqCvo35AEzE3IHINv91QbOALGiRfBOEPBobRsv7Y gBCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qULOOE7m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id ik21-20020a170902ab1500b001c61ad51779si997512plb.623.2023.10.03.02.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 02:50:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qULOOE7m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0C53B822C61E; Tue, 3 Oct 2023 02:50:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239782AbjJCJub (ORCPT + 99 others); Tue, 3 Oct 2023 05:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239793AbjJCJu1 (ORCPT ); Tue, 3 Oct 2023 05:50:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FE8B9E; Tue, 3 Oct 2023 02:50:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 299D3C433C9; Tue, 3 Oct 2023 09:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696326624; bh=y7mQxJnkRB98psYX745aFCncUuqe078K1Ap5IaeIaaE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qULOOE7mwt9ghVrmiiYqZGaZvfZE/LpSgDfVCjWQnudkxqERiNrydhJmJpWDuU8UL hfwLgNF5hK56g54worL8RvXWEOOolcWEWZQjb8KgtqSuHmSJkY2q718pPcUKOeKjE3 jEhTKG7khr6/Fx26axEPzlTIVbGYqTyvKWx7cSkkGdN9xUmyEmtHmCk+ATtMEqUFes zwQIBtvJSdt7SuDyHUAbqpImQbOxOa9MYc6U9EPeNHRiReCnrPSPxxwyvRl6H8miza LU+Dl+NS3qKTJzvXRnO+FQPYCS10/TnJsSM9QcSf8yEaVOVrglEPqS/0o00IY/kGxn zK1dO0OiEyZhA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 0B8ACE632D1; Tue, 3 Oct 2023 09:50:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] udp_tunnel: Use flex array to simplify code From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169632662404.31348.9179995662374808172.git-patchwork-notify@kernel.org> Date: Tue, 03 Oct 2023 09:50:24 +0000 References: <4a096ba9cf981a588aa87235bb91e933ee162b3d.1695542544.git.christophe.jaillet@wanadoo.fr> In-Reply-To: <4a096ba9cf981a588aa87235bb91e933ee162b3d.1695542544.git.christophe.jaillet@wanadoo.fr> To: Christophe JAILLET Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 02:50:33 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni : On Sun, 24 Sep 2023 10:03:07 +0200 you wrote: > 'n_tables' is small, UDP_TUNNEL_NIC_MAX_TABLES = 4 as a maximum. So there > is no real point to allocate the 'entries' pointers array with a dedicate > memory allocation. > > Using a flexible array for struct udp_tunnel_nic->entries avoids the > overhead of an additional memory allocation. > > [...] Here is the summary with links: - [net-next] udp_tunnel: Use flex array to simplify code https://git.kernel.org/netdev/net-next/c/ef35bed6fad6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html