Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp314447pxu; Wed, 14 Oct 2020 01:55:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi3KQs1y6E6sdPPuOg/Fr3IIvm5mX1mbOFASfvECwjBfiw18FnAhUsAXodUp6XSHN27w1Q X-Received: by 2002:a17:906:d7ad:: with SMTP id pk13mr4062422ejb.33.1602665724267; Wed, 14 Oct 2020 01:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602665724; cv=none; d=google.com; s=arc-20160816; b=WBg+6iUUZEtnr8VG2qCY4S4i06SjkQWC15bvG+HeC4LyQPdggcLx/yCJ26joL0d1zT fDVy1IEtBTz6ZXz5VBuUEY8bwDVADxp8CKfMHl3hLfi/0Y14xx391IhH8wIpO9B0YhZb gtDzaM7vqPm5TyJa7bp0GzbnVcOBmbC66jVUt1ahDOWkhIOjej74+99/GWNM79zGLvOD hhvfB5TaYN2fOEizkhFtf7dfGVF3h9veEVynJMvtN9jlk0jgu5UO4HX4HDA+n8usOMg8 iKsZdVcNUFNFjq6F4jKS3h29pXRGfp0xgrB2d/UXuVsS26ssZrI831KfKPpb/P3+jm4+ 06bA== 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=bcwjZ3TEl5QSPMWLEHU5bea8JB58aePgKg833OzucIk=; b=h8pOVqqoKuTSrbvnb+d1NPXjwus4VyMVaTRUUbXjZBX+YTAAfrT73oUttSeHYinqor P+Sx+uF/JUPQJx/sUAv4IwoWeiVABNtDwNY9m/ZbGj8HESHoS64hxRk4B2jrjHd1xDN8 X7s3TvHI+BgQzBhHS9RJH3bvYVvj5Eudq0DIjsWlM2wxRiM1dweAXrZAWTHg8aOdwnXv +1If0VgM7xHON2/FDpkxGqe08DYHvfzUo3hLfOZF09VOZJliSywmx0hE9/Dc+Alahpcg C+6qapGDUOHsZ/w6A01cukMkwdmyDO7EjNCq9ECtwuC6zR6OKljxoUVJlfd8VGdg8yXx i4XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=A3+WWLl7; 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 x18si1812089edl.321.2020.10.14.01.54.58; Wed, 14 Oct 2020 01:55:24 -0700 (PDT) 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=A3+WWLl7; 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 S1727949AbgJNHxQ (ORCPT + 99 others); Wed, 14 Oct 2020 03:53:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:43872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbgJNHxQ (ORCPT ); Wed, 14 Oct 2020 03:53:16 -0400 Received: from localhost (unknown [213.57.247.131]) (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 4CD7B21582; Wed, 14 Oct 2020 07:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602661995; bh=bcwjZ3TEl5QSPMWLEHU5bea8JB58aePgKg833OzucIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A3+WWLl7HW03G++pKkyE4RfIuOQz9Qj88dO6rwuQFcI6Zp5iu45RR8Sk6xqdHsBEI sFhYPLtp/e/U3i6ADjJGFuxwUYYtlmpY9chHJDDyn3nAjSWX9IySKUVzhpeFfLkv1T 6Zt6Y54Se66XquCMhZPF9XAndewNFjHaTiYXCe3g= Date: Wed, 14 Oct 2020 10:53:10 +0300 From: Leon Romanovsky To: Heiner Kallweit Cc: Jakub Kicinski , David Miller , =?iso-8859-1?Q?Bj=F8rn?= Mork , Oliver Neukum , Igor Mitsyanko , Sergey Matyukevich , Kalle Valo , Roopa Prabhu , Nikolay Aleksandrov , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Alexey Kuznetsov , Hideaki YOSHIFUJI , Johannes Berg , Pravin B Shelar , Steffen Klassert , Herbert Xu , "netdev@vger.kernel.org" , linux-rdma@vger.kernel.org, Linux USB Mailing List , linux-wireless , bridge@lists.linux-foundation.org Subject: Re: [PATCH net-next v2 00/12] net: add and use function dev_fetch_sw_netstats for fetching pcpu_sw_netstats Message-ID: <20201014075310.GG6305@unreal> References: <20201013173951.25677bcc@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20201014054250.GB6305@unreal> <3be8fd19-1c7e-0e05-6039-e5404b2682b9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3be8fd19-1c7e-0e05-6039-e5404b2682b9@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Oct 14, 2020 at 08:13:47AM +0200, Heiner Kallweit wrote: > On 14.10.2020 07:42, Leon Romanovsky wrote: > > On Tue, Oct 13, 2020 at 05:39:51PM -0700, Jakub Kicinski wrote: > >> On Mon, 12 Oct 2020 10:00:11 +0200 Heiner Kallweit wrote: > >>> In several places the same code is used to populate rtnl_link_stats64 > >>> fields with data from pcpu_sw_netstats. Therefore factor out this code > >>> to a new function dev_fetch_sw_netstats(). > >>> > >>> v2: > >>> - constify argument netstats > >>> - don't ignore netstats being NULL or an ERRPTR > >>> - switch to EXPORT_SYMBOL_GPL > >> > >> Applied, thank you! > > > > Jakub, > > > > Is it possible to make sure that changelogs are not part of the commit > > messages? We don't store previous revisions in the git repo, so it doesn't > > give too much to anyone who is looking on git log later. The lore link > > to the patch is more than enough. > > > I remember that once I did it the usual way (changelog below the ---) David > requested the changelog to be part of the commit message. So obviously he > sees some benefit in doing so. Do you have a link? What is the benefit and how can we use it? Usually such request comes to ensure that commit message is updated with extra information (explanation) existed in changelog which is missing in the patch. Thanks > > > 44fa32f008ab ("net: add function dev_fetch_sw_netstats for fetching pcpu_sw_netstats") > > > > Thanks > > >