Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp234616lqp; Thu, 4 Apr 2024 11:31:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIN1/yLKtC5uMQTyrDr0Y7cgjVSkUFdo7XrpFJ5W6rtMkDAQ6HPkZ1W+WBOcsHi6zkswjZJu8qQw0wZbg5xEI2up9sOrtd0VuihhuONQ== X-Google-Smtp-Source: AGHT+IHd7ejHmWfJLG5iSApTguq92gO+u3hy/UzW51rV5Xom6/U42AFrbV3BQLsGeHYUI2l4Yp2N X-Received: by 2002:a05:6a00:929e:b0:6ea:afcb:196f with SMTP id jw30-20020a056a00929e00b006eaafcb196fmr410534pfb.9.1712255489408; Thu, 04 Apr 2024 11:31:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712255489; cv=pass; d=google.com; s=arc-20160816; b=j7jFTavRZ8ukvNiYdN7yT/AmMiPO0TjrBBTCFLf2jQYA/u86f3tr5SpMmBAlxsHiGr qx7MZpVznzIRQoVPvpayuoSxqMkrkssjTHSJLfiz08deJCQ6Q1hw/XlRwphXEXZ+pJk7 jAbT/1LsCwJqDo2sg3AApoEYGH9/oGEXnaXdmPXXXTT7sqHPpG5t0B06fps7NjVRr6hj uNyM4eLyCWwuxZUtVIpUm6JzsKnwkgj+hsJM5Qom3e272QMqSvn+cytJ1lwzvn5Ri9AK U9GRbQW0BqOXuWso94L1+Z1IxhcrU7D65YPUm8P9RUtFi5w/jZb5o6S7xdwtM+jp9eWd +M+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=tWYTEvxZc8L5C7WXUzyImIdxl7OMwBC5OEuw7q1dU9M=; fh=aQIJNnFsGNVH87441IdP+C5YBBashxgxqts9GSmusnI=; b=hYstdp7lC+MS3VvsuBBhFZKfQfsxMvvNHzreB+ie9KuLRNZfq8W9eviBnPYqChA6DD QL6D1Ki/AJtpEdH22KnknVS0V8Bn9XP4lF/3mPWl1GuNLstckKvhdgnpDeZaNQ8KQP9W 4Y+cfHyXBm4pbYzXK/heGKGEeWJlrf9LAqzDgrhB45xy3X0Cj1PQsqrCWjtnAS8U/xj1 0i994AmRo/K5atE12UiNJHq6czcwtgdn2ME1emRT2PYS9XRjsWOL/7dNEPmGmWIfB8di j7ULw9eKVCoXDhoraGzc7N+7uS6hrweSDTSwHCsFdB3y4DEm7mNtqR9/aZUrwY/Ubks/ PlEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cg6TSTq5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131939-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131939-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p41-20020a056a0026e900b006eceb87a53esi1798896pfw.55.2024.04.04.11.31.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 11:31:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131939-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cg6TSTq5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131939-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131939-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7F164B280D8 for ; Thu, 4 Apr 2024 18:09:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 745151311A1; Thu, 4 Apr 2024 18:08:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cg6TSTq5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81E9512FF9E; Thu, 4 Apr 2024 18:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712254129; cv=none; b=n/ps0Ggka8KG2kOWd8fLg5L2hV+LaKb9du8wGgSUm8LmH/lHa/pT4X6Pn3lwKL+CAzO5QBa1uNJsHn3gaeSY28sZVYy7PzKQwzKxYo7p65IjkajxEuLsc+BCW9Jd2Qm+sdV0rLKnbvXUsziGqH6Nt9ug7ehrPZNB1v3dXztxTtQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712254129; c=relaxed/simple; bh=RpP+y2wWHWREDK0ERlTy3wMqea7M9kmE8ZvKoZA+kn0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UPhWsv725M+wlLkTs3WFFTMHm5auMZUMkHvs7N/pS54ChS8bzqAmQewBKRE+Gnu1c8qzHzKwyoqpjR7zFKuHidcQn6QH58khWeqNJMrhgfue7peuxbu2+m2dgu9vu/GFnnQ0w0wzZWTKyWROwpamZjqU0EI/lbIo4DixLnNVt94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cg6TSTq5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74D68C433F1; Thu, 4 Apr 2024 18:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712254129; bh=RpP+y2wWHWREDK0ERlTy3wMqea7M9kmE8ZvKoZA+kn0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cg6TSTq5MEwcNpABq5SbGDs2gh+SB90dyP0i6uHPL0gTcYYP3y7wWrLedTLjXVSQo 0eCcszGR4TMQ8YcXYgZSAI7HMsQFkm5uAvUHNiexwBmlXTNMNuS8pWK+v7idMOi0I+ e2mStKINe8EX5MHsD5aKu4Mpxs3/Ua3YLAcrcntW56jAyic7FdG11S66fhEOrUFM+9 QItDOoXRLrP10xm5KjRUp7b1In31JbJfBo0Z+Hs1WjnhuRA4d/vmWawUIrvKwg3fuc 1pLzHNZDqw3o+Kf195WcG0kEgID+wawScjKdpt5lUHbDF74V9QQBiH/Gj1xLtEfxZG OiQB04fGtOslg== Message-ID: <26c51418-0807-4e29-bc48-06a1e31f8016@kernel.org> Date: Thu, 4 Apr 2024 12:08:47 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 1/2] ip6_vti: Do not use custom stat allocator Content-Language: en-US To: Breno Leitao , kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, Steffen Klassert , Herbert Xu Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20240404125254.2978650-1-leitao@debian.org> From: David Ahern In-Reply-To: <20240404125254.2978650-1-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/4/24 6:52 AM, Breno Leitao wrote: > With commit 34d21de99cea9 ("net: Move {l,t,d}stats allocation to core and > convert veth & vrf"), stats allocation could be done on net core > instead of in this driver. > > With this new approach, the driver doesn't have to bother with error > handling (allocation failure checking, making sure free happens in the > right spot, etc). This is core responsibility now. > > Remove the allocation in the ip6_vti and leverage the network > core allocation instead. > > Signed-off-by: Breno Leitao > --- > net/ipv6/ip6_vti.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) Reviewed-by: David Ahern