From: Fabian Frederick <fabf@skynet.be>
To: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org
Cc: pablo@netfilter.org, laforge@gnumonks.org,
steffen.klassert@secunet.com, herbert@gondor.apana.org.au,
pshelar@ovn.org, dev@openvswitch.org, yoshfuji@linux-ipv6.org,
kuznet@ms2.inr.ac.ru, Fabian Frederick <fabf@skynet.be>
Subject: [PATCH 0/9 net-next] drivers/net: add sw_netstats_rx_add helper
Date: Mon, 5 Oct 2020 22:33:57 +0200 [thread overview]
Message-ID: <20201005203357.55076-1-fabf@skynet.be> (raw)
This small patchset creates netstats addition dev_sw_netstats_rx_add()
based on dev_lstats_add() and replaces some open coding
in both drivers/net and net branches.
Fabian Frederick (9):
net: netdevice.h: sw_netstats_rx_add helper
vxlan: use dev_sw_netstats_rx_add()
geneve: use dev_sw_netstats_rx_add()
bareudp: use dev_sw_netstats_rx_add()
gtp: use dev_sw_netstats_rx_add()
ipv6: use dev_sw_netstats_rx_add()
xfrm: use dev_sw_netstats_rx_add()
net: openvswitch: use dev_sw_netstats_rx_add()
ipv4: use dev_sw_netstats_rx_add()
drivers/net/bareudp.c | 11 +++--------
drivers/net/geneve.c | 11 +++--------
drivers/net/gtp.c | 8 +-------
drivers/net/vxlan.c | 8 +-------
include/linux/netdevice.h | 11 +++++++++++
net/ipv4/ip_tunnel.c | 8 +-------
net/ipv4/ip_vti.c | 9 +--------
net/ipv6/ip6_vti.c | 8 +-------
net/openvswitch/vport-internal_dev.c | 8 +-------
net/xfrm/xfrm_interface.c | 9 +--------
10 files changed, 24 insertions(+), 67 deletions(-)
--
2.28.0
next reply other threads:[~2020-10-05 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-05 20:33 Fabian Frederick [this message]
2020-10-06 13:23 ` [PATCH 0/9 net-next] drivers/net: add sw_netstats_rx_add helper David Miller
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=20201005203357.55076-1-fabf@skynet.be \
--to=fabf@skynet.be \
--cc=davem@davemloft.net \
--cc=dev@openvswitch.org \
--cc=herbert@gondor.apana.org.au \
--cc=kuba@kernel.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=laforge@gnumonks.org \
--cc=netdev@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=pshelar@ovn.org \
--cc=steffen.klassert@secunet.com \
--cc=yoshfuji@linux-ipv6.org \
/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).