Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1046278pxb; Fri, 13 Nov 2020 02:48:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzieLNtZOa2A6m8J7UKT8rTp5P/xtc+ozw/364k4hSYf+t/FndhcFuIBkA558MBPsYFR5M7 X-Received: by 2002:aa7:d1c6:: with SMTP id g6mr1818129edp.130.1605264480807; Fri, 13 Nov 2020 02:48:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605264480; cv=none; d=google.com; s=arc-20160816; b=s4BewMcwf9oYNceodd5yV50Ary8qkhLYEHa/oLnbFToTCmHMq2urd6YcSSbD4zyIrY u1oGR3tbmm2RHNYLVIwYP394lUv4jCVg4Ue9ZyN9ppf+eLCwX+xQ6swaOqIIqQwB8CXd +cdRurcPJFYrlIlWHO6b0QU+gV5EI0J8ioF0F/dtvwUlWYXkg1qKyd6pB8/p+3lDbfi8 JeFMsOgVxHoCL6PlKa5GbeXuHMa1eBmLLwvq9o43twRjuCALPGOdlv82xrv/XHH2j8G4 MX6bgVaZz4fvEu8l6DAdVmfWAYCSur4WVSgCE6cpq602mJy0dsP8TxUSuMc9YtFZiCPS /dkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature; bh=UnIKmcUVnQcfuz68wvpapsSCJSAR/8vfXGalpq+6JD0=; b=rUQqZSK6WeWB+xSLlFWfT3fcys/aRCELRBL1tQhPkOsg8NCId4QJk8Ur2A5mZfAzJY 0MWEHy/gIozhq03wq7cy4Ix25JesXCK8ZJFvkhw4qTdUoUkzxfW8mLPtECDBIPwu3zVx JiWCll0bUBzkl+Ri+e7EQ1Mrpr94afLIve1o2b6M4VPraYFZaat3fMpoN4g/zt6lYNFe KCgJIcEO0n/wg9qDVsKO6a6GS4O3mDJeJt8s8wXxpa7jgKRrSCGy9SzhhRd8qI7OrGBP Wb3L+TnOw79Y5wE+afkltYDuYqBe/1GsIlTXo2kZRhOTDgijbJrhQQ643Y47jPj4qo2f h7sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Gx66ynat; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr4si2853704ejc.486.2020.11.13.02.47.26; Fri, 13 Nov 2020 02:48:00 -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=@gmail.com header.s=20161025 header.b=Gx66ynat; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726288AbgKMKrR (ORCPT + 99 others); Fri, 13 Nov 2020 05:47:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbgKMKrN (ORCPT ); Fri, 13 Nov 2020 05:47:13 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75053C0613D1; Fri, 13 Nov 2020 02:47:13 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id d142so7671657wmd.4; Fri, 13 Nov 2020 02:47:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=UnIKmcUVnQcfuz68wvpapsSCJSAR/8vfXGalpq+6JD0=; b=Gx66ynat6q3oOo6SBe/7s1wcRHaAt0iRT6Nb8ivtiyCVPeYQyVsi3CIpIK1YHAlCut E/N3RanbAR4Gs25KTQpNIu8nhK9YOgOOh56K4eFnni13iLCj1mm9aHYKJdae9+3s5AEb oOrQY/Ei4q8Ltre7WRHmxdEMQed9/fjebnK/y+nDyzPuRbRJPkFKK8MevrRv49n9W9bD xkp4O2dI8jvuULNMeYTCVxuX9vbfbHwn/70ktzXtfnd0sOs9GKGiF8nWSsdc040aDpM9 5qlJ4tbLsw/FzbeZzY5mDQHEDU+xuYkOh/ebTb2d4o7LYCONFXoVtkx0OeviPneBv5yV B8Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=UnIKmcUVnQcfuz68wvpapsSCJSAR/8vfXGalpq+6JD0=; b=SZtOall52CVqLnSQb+C+1uCHIcACRBkKBPvtOBg8G+wIea86Pmgb6qRCn736ljbwUr k3OmJ29SSBU6eXnnU/NLPfixjPEU75MHZ8R5LiIx7u/KLhy4OPQSZJmWTbVfPD6k2KZ8 e63kWfJY+jVANPhC7/CVKKOkNpl8taDtbJM3RrrqHeNysiE/WViBZRUz9togPTVmiHIb qOFixQQvzt+G6vn26gD2YIPW72LmFSQqwo/DynpohWPmwgR4fBl8ZezF0c4whIjZUfAM bwLU1pYsrZd1i+Vy7zmnT+yA1wTLMLHpdulEOFVRjibdBrWmsTvXs83bgUUOlN8hWkEk 3WCg== X-Gm-Message-State: AOAM531vnqr3HtiO/iSTM9CI5NVLm1UX+8xI3qDrRCV2hTN9Nq9DfBbv xxLgCIaFv14RaWi64hIuuC7IHsZcDzR6Iw== X-Received: by 2002:a1c:1f05:: with SMTP id f5mr1827474wmf.98.1605264432041; Fri, 13 Nov 2020 02:47:12 -0800 (PST) Received: from ?IPv6:2003:ea:8f23:2800:e113:5d8d:7b96:ca98? (p200300ea8f232800e1135d8d7b96ca98.dip0.t-ipconnect.de. [2003:ea:8f23:2800:e113:5d8d:7b96:ca98]) by smtp.googlemail.com with ESMTPSA id i6sm9985711wma.42.2020.11.13.02.47.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Nov 2020 02:47:11 -0800 (PST) Subject: Re: [PATCH v2 1/3] net: mac80211: use core API for updating TX/RX stats To: Lev Stipakov , Johannes Berg , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.ke, linux-kernel@vger.kernel.org Cc: Lev Stipakov References: <44c8b5ae-3630-9d98-1ab4-5f57bfe0886c@gmail.com> <20201113085804.115806-1-lev@openvpn.net> From: Heiner Kallweit Message-ID: Date: Fri, 13 Nov 2020 11:44:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <20201113085804.115806-1-lev@openvpn.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Am 13.11.2020 um 09:58 schrieb Lev Stipakov: > 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(). > > Signed-off-by: Lev Stipakov > --- > v2: also replace ieee80211_rx_stats() with dev_sw_netstats_rx_add() > Reviewed-by: Heiner Kallweit