Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp511433pxb; Wed, 11 Nov 2020 09:06:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLnb89uK7Xis4p4ie4p3YRtzl4y+XD02NyqZ+zdPRBLhrfM2DAhx469fgk3kg1QsU4e3Nd X-Received: by 2002:a17:906:2f87:: with SMTP id w7mr27352168eji.83.1605114402783; Wed, 11 Nov 2020 09:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605114402; cv=none; d=google.com; s=arc-20160816; b=nNP+V6odWEPGB1g+3xtrmyfB0W91UXHQvS9kORldEblBp+hJP0sDdixJedlbkZhyJG v7jxLSQL3uZYqUBU3pv5sbN1/u7PGjrjOzpGfAJrRVGUiZY1lQc5cohygVSWu7cYteJw k7VmKHcVxwyS0PYJ2n1HM/iZBQCg4Zk6BoLvHU+WKa8sQYIpSUmkfjItoMhEN787asTH wj41S8EJPl0WJTMP6QIJZckACmxPHEcI1DKhYIgF1oCZCNgUUlsfDYLZE4Upr8rhQdp/ FN4nBDDd4haSye94VqMRGf+E3Xzk+hFV5GPW082dK9X4/4iZhcCVEJHRfJ7BA02X8EIz 0svw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=r1BvnxTgHuCCf1BwBBGwXpJ8qWdRU5h5EA1wJugGHdU=; b=mxVzfo8f3IHrmUyul8EYqDpLBrOBcZri7yC95+Jg7+q+wyIEKxS6+9NX/mLr9mdKBz XYBn7P8DVK3O+RVgXY8rUHtU+QRDjg3mikQ927ldVPY7MhMrkIxtlK1MWFEdJow3MVSd h/D2GIsjO+v/xvQkX6Hnrlt+5tZK16iDkLgQQ4XL5NDy9vczKoEv8yhsqKxTF5z/YlBh vS2LtUjJsz/EhLyVqgEdcQSlr7u1CZytrRUSA2PpqCO3KNv5EQEe+RuNuoXBQSkdJZx/ tPIwyw2qNi/MEx45LOVD50B7K5Jj0eLXP82IEw/AFmzfoB58zvjYHMiQb2xAMp3sN/hc +qcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qBVf1mqq; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si1547602edi.556.2020.11.11.09.06.04; Wed, 11 Nov 2020 09:06:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qBVf1mqq; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727310AbgKKRD6 (ORCPT + 99 others); Wed, 11 Nov 2020 12:03:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:32996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbgKKRD6 (ORCPT ); Wed, 11 Nov 2020 12:03:58 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D7EE2072C; Wed, 11 Nov 2020 17:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605114237; bh=o12g28KmO/HU+FIZtj5lmzMlK87daTVBlxDLOIJODsk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qBVf1mqqhwbukA0xxVS2fRfo6ZuStYbGjCLyEPDlxTpfLkOyZEG8oNCvw6EYjFfm5 h7Fc4n9cPXzxiqpzWSOH68RwMRpF7Q5jYanbitXggDyZcXSSfC8Mx7ztfg7XLOEErJ ov5Z3+EyXqGWexoYdGDb39aWtgau3djnThIhKW4g= Date: Wed, 11 Nov 2020 09:03:55 -0800 From: Jakub Kicinski To: Mike Marciniszyn , Dennis Dalessandro , Doug Ledford , Jason Gunthorpe Cc: Heiner Kallweit , David Miller , =?UTF-8?B?QmrDuHJu?= Mork , Igor Mitsyanko , Sergey Matyukevich , Kalle Valo , Oliver Neukum , Peter Korsgaard , Steve Glendinning , Microchip Linux Driver Support , Jussi Kivilinna , "netdev@vger.kernel.org" , linux-rdma@vger.kernel.org, Linux USB Mailing List , linux-wireless Subject: Re: [PATCH net-next 1/5] IB/hfi1: switch to core handling of rx/tx byte/packet counters Message-ID: <20201111090355.63fe3898@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <5093239e-2d3b-a716-3039-790abdb7a5ba@gmail.com> References: <5fbe3a1f-6625-eadc-b1c9-f76f78debb94@gmail.com> <5093239e-2d3b-a716-3039-790abdb7a5ba@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 10 Nov 2020 20:47:34 +0100 Heiner Kallweit wrote: > Use netdev->tstats instead of a member of hfi1_ipoib_dev_priv for storing > a pointer to the per-cpu counters. This allows us to use core > functionality for statistics handling. > > Signed-off-by: Heiner Kallweit RDMA folks, ack for merging via net-next?