netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Li Zetao <lizetao1@huawei.com>
To: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
	<pabeni@redhat.com>, <idosch@nvidia.com>, <razor@blackwall.org>,
	<jbenc@redhat.com>, <gavinl@nvidia.com>,
	<wsa+renesas@sang-engineering.com>, <vladimir@nikishkin.pw>
Cc: <lizetao1@huawei.com>, <netdev@vger.kernel.org>
Subject: [PATCH net-next 0/2] Use helper functions to update stats
Date: Thu, 10 Aug 2023 16:56:40 +0800	[thread overview]
Message-ID: <20230810085642.3781460-1-lizetao1@huawei.com> (raw)

The patch set uses the helper functions dev_sw_netstats_rx_add() and
dev_sw_netstats_tx_add() to update stats, which is the same as 
implementing the function separately.

Li Zetao (2):
  net: macsec: Use helper functions to update stats
  vxlan: Use helper functions to update stats

 drivers/net/macsec.c           | 17 +++--------------
 drivers/net/vxlan/vxlan_core.c | 13 ++-----------
 2 files changed, 5 insertions(+), 25 deletions(-)

-- 
2.34.1


             reply	other threads:[~2023-08-10  8:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10  8:56 Li Zetao [this message]
2023-08-10  8:56 ` [PATCH net-next 1/2] net: macsec: Use helper functions to update stats Li Zetao
2023-08-11  9:57   ` Simon Horman
2023-08-10  8:56 ` [PATCH net-next 2/2] vxlan: " Li Zetao
2023-08-10 16:36   ` Ido Schimmel
2023-08-11 10:01   ` Nikolay Aleksandrov
2023-08-14  7:10 ` [PATCH net-next 0/2] " patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230810085642.3781460-1-lizetao1@huawei.com \
    --to=lizetao1@huawei.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gavinl@nvidia.com \
    --cc=idosch@nvidia.com \
    --cc=jbenc@redhat.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=razor@blackwall.org \
    --cc=vladimir@nikishkin.pw \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).