Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1049960pxb; Fri, 13 Nov 2020 02:56:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIavmfriAu0xwWyfcbsKfhbBenEce5Okb4k/oipNS0KnILVt8OypbhJGOCXB4dMHkcTI9D X-Received: by 2002:aa7:c151:: with SMTP id r17mr1822184edp.216.1605264976238; Fri, 13 Nov 2020 02:56:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605264976; cv=none; d=google.com; s=arc-20160816; b=g3y9R92PMdnGZoe0OM7lAdH9gwy88blMp6B+Nv+CDgsSpnbhmPxrAMnEGrRmVKah97 IfSubEvAieyLrLYO/CqfVB0LTFYIGtgYwykaog+arOracVCNZZ1W/Ij/KAZv4fLo9YTD 5DDxi8pwY2+u1j64iRrXp9p+JP9C1744xTssyOg2M0qdPkiUbJup5bq4NoWbnWuY/OSs EYV841aq2Sw7USPW0eJpHb71rDchGjG+rZqA9X/PL1yvTthsWmoIT7HvCP1mwB6pEHup Co1MGgoaNFyhYCqftQFBLLypGjt/KpWOVhhaOj6YhIM7BLz8xv55os+ANBth97zuO6XY 0+yw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=otzjMYJERWiql8D3MWHO2TNApvT2U4TSa4TZD//pU/c=; b=KChMGYF0ih/+A5fWMlLXVRPjOosJTX04XCr8/U5dDzAUIZRAVx0kQ2udH21QjCPp9R cZfTPWur6nJ0stKvV6I/8fobD5U45AjW3PGdjEzLB+KzqzrjR2VCjMDN1+nIzwTk4PUD 5+OE76QzH8LLfTb1kmWxjlOeJCYv1jG31C5EbgDvLEd4O/kq5ETEFm5vkuV3xyWiy028 W869reJU68L2XbY1TneOwPofldRDG+YsJi7s+zkO+f4Ff3uY11UqVHjMTJTk8RaJ7iZS xXfMANk4o6LbLrI/fH7yRQX770pspD7sttZlce5F01vRiRpi07Ttndz9gIGnavE5RKwA C1Mg== ARC-Authentication-Results: i=1; mx.google.com; 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 ay1si5726248edb.326.2020.11.13.02.55.50; Fri, 13 Nov 2020 02:56:16 -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; 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 S1726342AbgKMKzP (ORCPT + 99 others); Fri, 13 Nov 2020 05:55:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbgKMKzO (ORCPT ); Fri, 13 Nov 2020 05:55:14 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5946C0613D1; Fri, 13 Nov 2020 02:55:14 -0800 (PST) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1kdWjV-006tti-Qb; Fri, 13 Nov 2020 11:55:09 +0100 Message-ID: <53474f83c4185caf2e7237f023cf0456afcc55cc.camel@sipsolutions.net> Subject: Re: [PATCH v2 1/3] net: mac80211: use core API for updating TX/RX stats From: Johannes Berg To: Lev Stipakov , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.ke, linux-kernel@vger.kernel.org, Heiner Kallweit Cc: Lev Stipakov Date: Fri, 13 Nov 2020 11:55:08 +0100 In-Reply-To: <20201113085804.115806-1-lev@openvpn.net> (sfid-20201113_095829_684007_366309B9) References: <44c8b5ae-3630-9d98-1ab4-5f57bfe0886c@gmail.com> <20201113085804.115806-1-lev@openvpn.net> (sfid-20201113_095829_684007_366309B9) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2020-11-13 at 10:58 +0200, Lev Stipakov wrote: > Commits > > d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") > 451b05f413d3f ("net: netdevice.h: sw_netstats_rx_add helper) > > have added API to update net device per-cpu TX/RX stats. > > Use core API instead of ieee80211_tx/rx_stats(). > This looks like a 1/3 but I only ever saw this, not the others. Seems I should take this through my tree, any objections? johannes