Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp590563lqp; Sat, 13 Apr 2024 09:51:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJFor9rCCZGJ8xk7mYi12Fe3cjq5VNEr4zwkvXc7kKP/5hZp9DNAwVTDHv+k1XG2DEoN1JhG534PePLJq3hkOILnrSJRjB/VbAbvBHzQ== X-Google-Smtp-Source: AGHT+IHdqkAl34PjVgxqtCpZfcr28zlwlg3EpV6FU17z/YEXTWP6iZXheXGGb+pdqrsnsO0Z/U/u X-Received: by 2002:a92:cdac:0:b0:369:f8b7:f5a6 with SMTP id g12-20020a92cdac000000b00369f8b7f5a6mr7337498ild.8.1713027089924; Sat, 13 Apr 2024 09:51:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713027089; cv=pass; d=google.com; s=arc-20160816; b=KoTqWiR/1Jv7GoG8ZFjtxm9CX/rNMzKU54OMIrAtDYOP53RCAkvYXlqT6S72MugIvK dV1DbEWZwOAyRz98biqobVjM9lwUonEHFoyD24ASAwbrGLu3YCSFWbaup2u2o05F/osv l5CPFRcyxv9ZoavFVobtjN2qQ0SLgizLz/Q/+GAluqlu+0hXxUp1tNs9IDTeJVFGR0zK FNz+974bvN623df9OjFbMESd1WHSc1ToLvGn8cDggelMkI+6uZ2Bzu2gzAJx62Ww10Ja Ex3QPhT9SyunX5qlqXgBGnPcPhY+f0xdDGPJsUrSJVuWMasCXaIO5axyOyh/09mU0YRL LbsQ== 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=JRop8iTq2eWcFj+qCjeA3Jsp2y1mQgrbV0QyrbnpBEo=; fh=becOmD68v09pRQLZGEoeyGFbU7HSUa4utYFHwmQLCXc=; b=gAKDxua1s1L+SmSLVxFENO3O9rE1efo3lMuRo0Wa56dLSnVsLaUn4vIfcRcxF6/8AO Loj94Akv0dRQOpFQargOpEWScsnLN68lsjXg/mzqTJvc2ZwQbUlvOLzg18nTkzYYTKwY 5cz72mSpGhbLq8I32VN/4iLe4cQtvnm2LhgFtJiiqP0oAEvvvQ3kVkHhhIBtDhqRWapN e2YUwSMDPAYnJA0+tiLe5Rc84/gNMaUDxppIa7fwg7TJdUOtZgWaFkyQA0X1Kgjg1MsX pMU9JPOG3FGScaARWiRdGs85tFPzoT2nS4mvfrY2dsEh+1eOcyqNYNaCuEQ8x0rQRr5y L6fg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pBMg+Pqx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143814-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143814-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q6-20020a056214194600b00696899b4a7csi7369381qvk.95.2024.04.13.09.51.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 09:51:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143814-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pBMg+Pqx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143814-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143814-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 9E2451C20D79 for ; Sat, 13 Apr 2024 16:51:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD21D5103D; Sat, 13 Apr 2024 16:51:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pBMg+Pqx" 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 D6ECA50A68; Sat, 13 Apr 2024 16:51:11 +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=1713027072; cv=none; b=OJZH8DiRlUsCxecIgzWCUXgr1df3o1M6exNKmp+2NGDVZ+mSVALt01fYWp+GdJlM2hfky+gfCJxG28gwqu41bQHe7YbA5H8oO5NGfjCPVCb7aD2OzG6Hlw0qc7XICSBrOvtduKDAY34VE6DyirJ5sboa25czYDCjGnoIKaKHHfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713027072; c=relaxed/simple; bh=TtxRo7Q+c98GYd03oJuFQLr9ap0mnMqoDm4SPFjN3uA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SdZ+EcK5uyrI4FaMi6rx4Lg192D3U0l/m8iRpeRjEGfz45HokVHJyZYVlhmU7mg7Z0KDA4WvDLSHsDXdYsdWOIDmnKRpc9ssfHo7VYZl54fWOrVfk7s637vKcjCvNcOU7mxyXR5/evvMu3+/y+qZ1fP+k2Ci8kNe5sFghbnok5k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pBMg+Pqx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1B84C113CD; Sat, 13 Apr 2024 16:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713027071; bh=TtxRo7Q+c98GYd03oJuFQLr9ap0mnMqoDm4SPFjN3uA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=pBMg+Pqx5tsyt349jaIfAwn8WtH3VGdbg1iLRMw8Mz16ogqQwggRbr4pU81vSA1dU /1MlXPT/6HAnl7cdVC4FbTrO73s+L5uJHxEXnMxGvPtD7e2GKQVk+djhvCAt6Kh81M sMIFZX7HUDoGN1Nqc9FCWZuG+wWMMDcI65/i6fWZnBviKhupZ3LIInl1FI5qP6B71k F6iaeZeAotnLyTGJ5FQPU4PUnda45kdii+y5nGOpoTDlzNu4P6eVbw7n5Sf9NUCadD 9e/AswKue1Qw3XFZGt2eC7I4wOScQAcijxZarBnHWhGeBJGPzJP8sFZJ0EE9ViQlGk ygDTNbw7p6a+g== Message-ID: Date: Sat, 13 Apr 2024 10:51:10 -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] net: ip6_gre: Remove generic .ndo_get_stats64 Content-Language: en-US To: Breno Leitao , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, horms@kernel.org References: <20240412151928.2895993-1-leitao@debian.org> <20240412151928.2895993-2-leitao@debian.org> From: David Ahern In-Reply-To: <20240412151928.2895993-2-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/12/24 9:19 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_gre.c | 3 --- > 1 file changed, 3 deletions(-) > Reviewed-by: David Ahern