Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp222486lqp; Thu, 4 Apr 2024 11:10:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+3hEAl/GSVFK2QEhHlV6kJ2QSS/DE4pYF4I1V85ohZO6cA2yQDUPdm/Tr4/hQ6EExKK3t2J9Fka5R9bnvt6pGyja65VQYrVikbcMU4Q== X-Google-Smtp-Source: AGHT+IHK4qTS186WST7Cxguh2qYUIIQD41oBl4KfbvmhsCLiPm6lJ9jEoQ1wD+gEKEmcPC1HMi6x X-Received: by 2002:ad4:5f8e:0:b0:699:1acf:9655 with SMTP id jp14-20020ad45f8e000000b006991acf9655mr3430500qvb.55.1712254223419; Thu, 04 Apr 2024 11:10:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712254223; cv=pass; d=google.com; s=arc-20160816; b=EnrFDHkA/536xv+vYc52rTDS1g0+bG2ZZc9gQyafm2y8RK+V5PrD0ibo29NgMpt2A5 CQUH7un6FQ0xMgwqujXqhoN0fKD/fwFQbowKZAfniNba4i4mq8llVdcm1/SQ62zQqvdy yKZpjIGH6gT2/atzvn9yUCt05opLBEZzgvZufoDldNlyMnscnce05ZyCLQyWMyucR8x0 cd5r9wDQA9HM+HZNG0pEt4P0LTj7LplqC9eQjfmWMWpk1fCBWHiXLyvrsVEFVC7TQs7M QRnheUJnFibml0+dWGcCQU4Lm9Otaixr10FIFjevSPS7knPEe2RFrWF/SvQxQgiaFKqH u/SA== 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=tB0FdsJup7UMGDw0BE/twhgZfWdZ3t7F/+srWSUENQI=; fh=aQIJNnFsGNVH87441IdP+C5YBBashxgxqts9GSmusnI=; b=Sj2q1z8jQx2PLzlpfXC7Ro2EFqYPaHkpNfXWs2py0W8IozoPIyLaQVlujWsNOOgoEn 5QLwfRDb8odAgEGgSMOL7h2cgaYVIAcb9by90AnjW5NnYiCtGf58AfsIOUGaCtRqQWrX ++PFPxoFpKA5kUJrH8T3XH9mCgKQrlyZQTrSlcuNIcSonvgmYFAM0dZvSPgqTRWi/Ie+ BdI2KFJ6W+zDhINr9HD4pg29gPpggVVlHlirLpCBEPmrmmyl9KgplXgzw84AnVQZ2yus o369/idx6iKecf/nBpDnC9rh4G+ONXD2NGVKemV0VhG9KTU9nQr9pHXdEFGaCTF7lGg0 uzAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gnpsQAZ1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131942-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131942-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g3-20020a0cf083000000b00699168970e2si6884117qvk.537.2024.04.04.11.10.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 11:10:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131942-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gnpsQAZ1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131942-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131942-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3488E1C2460B for ; Thu, 4 Apr 2024 18:10:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D478133413; Thu, 4 Apr 2024 18:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gnpsQAZ1" 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 3DD1512F5BC; Thu, 4 Apr 2024 18:09:01 +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=1712254141; cv=none; b=RkM3h//gVwr5GPYzqrzuFhX/94yUO+iJWNClkbfD+jIqeHUhrH5xQnFU+Ptvfhux8vWiVfOSL3YesvihCZ4HsTcH2/uxd53LgSbENMwVE662UAxjnk7qn92q1KY8h0RmJBIcO6mN/laBRBWh+sknAbqHFTsPnxPgZKKAb7LWfUs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712254141; c=relaxed/simple; bh=0gy6joTUAZeaCWNN9P4vHaZCeNFrzTQ69aD73ydSImY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=osx2a1K9MuQ5/8hgaY1R8jEWFDQgCOscIthmB9hhnzYZtpZSh3J8qDb07BdQtZry5yXfQi0M4HmGRIeqqkJ9fW2hYTc0xDcwLS3JqVNdSI9kSWYHL1pMZz46ddvZnjmTc1b+BjUAqhg21MgjdNCdAP7FaZXMjfWM8uA5C5HXwVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gnpsQAZ1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51CAFC433A6; Thu, 4 Apr 2024 18:09:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712254140; bh=0gy6joTUAZeaCWNN9P4vHaZCeNFrzTQ69aD73ydSImY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=gnpsQAZ1bhpAKixST4vQznxblI1ulrpMI58/xqKuo60BB9k3F9VUTSzS8eYooXNzu Zx94E4Y7397aHMaqqwGb15M2yh4yvFz9ifcy5BVkVSaNA793dHeei4dZ2aT1uSJVb2 WJvyslnJmw6u4xw/2QNUObEWMhcU+ipbxgTaBRXNIahUWdOo+PGRL2PcmPSfM0FqZ6 Iui8uWDn9OYWaiOjHC5FOXIjgCoM65uWst1K2LkeBKRIOO4+LCCTmayoPVmvroOJvh U47jfNubWJ3eaALDXhu+FWwl2HWIcigugJInsl0YekAs+eOtXQ5YZouQnO2NB4CdTL XUi+P4tczsWaw== Message-ID: Date: Thu, 4 Apr 2024 12:09:00 -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 2/2] ip6_vti: Remove generic .ndo_get_stats64 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> <20240404125254.2978650-2-leitao@debian.org> From: David Ahern In-Reply-To: <20240404125254.2978650-2-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/4/24 6:52 AM, Breno Leitao wrote: > Commit 3e2f544dd8a33 ("net: get stats64 if device if driver is > configured") moved the callback to dev_get_tstats64() to net core, so, > unless the driver is doing some custom stats collection, it does not > need to set .ndo_get_stats64. > > Since this driver is now relying in NETDEV_PCPU_STAT_TSTATS, then, it > doesn't need to set the dev_get_tstats64() generic .ndo_get_stats64 > function pointer. > > Signed-off-by: Breno Leitao > --- > net/ipv6/ip6_vti.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: David Ahern