Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp360869pxb; Thu, 12 Nov 2020 05:51:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRryD/A9GnUIbVj6EhFwR5cEWWyuLfPLkVmLAdr/2um8Vy0E4rfmdh5W3YiRtlcEF/9MkD X-Received: by 2002:a17:906:bd2:: with SMTP id y18mr1935087ejg.503.1605189101316; Thu, 12 Nov 2020 05:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605189101; cv=none; d=google.com; s=arc-20160816; b=Tn0WPa3yEYebi9f1IOEItEsTmaTzBtNbzwdwqwr2ZpZiocDlkkDKgGsRb+7UO+/xpq 1lgOA8FUHS62uadcQx5wdlSRwR9O/Y+db0Fuub8QgOYg/apm0f1OF7T+SZc2+KvSTtWI CRG2FnShvr0LCBX/gQrn4N4s7sKaM2JLYHGx2s8mHnEPbf8MnSmKsIgo0Se/4KxEob2I WGFLcvJxk8LSvf8NkaL99uN2nveWfczBlpLjv0alHV777exzT9J3C2l6xK44HryIvf3/ ymhGKRlYvZYDoJT1NyKGgn7MHm1lAabvEQI0mIhZCmdwILxpEPiVlOpDcGZdKLJW0Bfl j0Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Eg/RjAIZKwAbJrMIrbrRdkEGP27Yqte35m8OKOzH3B0=; b=jnb8WfVWUKDZ8DMQrNtf13IEvqxN2FuIVlwihN2L+3gDOWfbyFCE/U5hoLW2NdQ5rX vbsOcglNvs5UEtuA3As07RoNIoc28Hp2Uh9E/nm2cSov3NNrvFWNPbutvkgo+e5u6sMg xqxj3xNikrdZt34yLEnymblK9WhuND31Xu357nImKuHc2aO2A2RX5LyN80IsA1hxKI04 DrwXO6nHd8UjAdG8kJBJpe+8qnrTrMZkOOuBKpQOETgBr7xTfHKP3g2y2wbUE03J1pv3 w0ntimrB8LLQQISqKGF6kVAMh39dP17Lp7FNVu43gDzzYWjE4CTztwdLLS7+QS/9j1Oi S3fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=DFRG3uh9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si3763559ejd.748.2020.11.12.05.51.05; Thu, 12 Nov 2020 05:51:41 -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=@ziepe.ca header.s=google header.b=DFRG3uh9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728223AbgKLNtz (ORCPT + 99 others); Thu, 12 Nov 2020 08:49:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727790AbgKLNty (ORCPT ); Thu, 12 Nov 2020 08:49:54 -0500 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4200EC0613D1 for ; Thu, 12 Nov 2020 05:49:54 -0800 (PST) Received: by mail-qk1-x742.google.com with SMTP id 11so5228838qkd.5 for ; Thu, 12 Nov 2020 05:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Eg/RjAIZKwAbJrMIrbrRdkEGP27Yqte35m8OKOzH3B0=; b=DFRG3uh9srwcvUG7AdAKgEet8jCSEWusYDlt6asbzD4TH5DL8lm0dKKLsXZo8GP/4o wU0LGFXeuWEW69E84n+bIq8bGLGlLjQh3+eGLwy6oP3y3diCtIWd8zpxDSimsbsyr0IM XFAG8hVgEFl05eBB1QyvHVgYsT/oKCkSq+9zLxaFcPaqCws3GrQVhhL9m5rsmKUh2WYH tPkASd42zRcx92wm3BYYOdMpcfieGKGfPss/D0c/wN0Lbx19RlRuYXYzoZBBG/+fXESq Q41k0dGYyCE1NVDPuMUyDA5huljco1w0nO0MH4KnL0AwzlJRzX4Fp969BkIs/2SpZct9 WRpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Eg/RjAIZKwAbJrMIrbrRdkEGP27Yqte35m8OKOzH3B0=; b=uhXdOcmNnvFsMbx/TEq1xjcPZpGGqk4n77L+smU9B8TktAHWR31ZPHuy7xMEfIZxBi sDprpSjT7B4/PLqs3LT7YiCVaZSRVgQo3kLtjpXUdpOmZjN74Is9ZYk/kUrHkuAnhIZ4 Fu1tZVNi3BW7zCYC4SozJDA+keUgOkf59+g+HbybE6GKQsIFk6WZEdudrlPvBiENO/5P ek6XbezniWiiuwA6BYKWvhIlXj05YuDtIHViOI0Um9IIV1QioC7vaiCp6e3+MchcnHJF JGmCTY5ziSIHXK+SSYPzIaWp37O/lyR0PDGjyKqJ18hUz5uTLsme5jRzExh9FMDNI/s3 fOSg== X-Gm-Message-State: AOAM532vLs5BsPQeEImj3qwbOruiR0cgdtjU0rWISgoQtAxVfLaQcK8A 9XLe3kzPgq9xwpI/5Uq7jucY3Q== X-Received: by 2002:a05:620a:1539:: with SMTP id n25mr15856223qkk.258.1605188993531; Thu, 12 Nov 2020 05:49:53 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-156-34-48-30.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.48.30]) by smtp.gmail.com with ESMTPSA id k11sm4930974qtu.45.2020.11.12.05.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 05:49:52 -0800 (PST) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1kdCz2-003gor-0U; Thu, 12 Nov 2020 09:49:52 -0400 Date: Thu, 12 Nov 2020 09:49:52 -0400 From: Jason Gunthorpe To: Jakub Kicinski Cc: Mike Marciniszyn , Dennis Dalessandro , Doug Ledford , 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: <20201112134952.GS244516@ziepe.ca> References: <5fbe3a1f-6625-eadc-b1c9-f76f78debb94@gmail.com> <5093239e-2d3b-a716-3039-790abdb7a5ba@gmail.com> <20201111090355.63fe3898@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201111090355.63fe3898@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Nov 11, 2020 at 09:03:55AM -0800, Jakub Kicinski wrote: > 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? Yes OK Ack-by: Jason Gunthorpe Jason