[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201005203357.55076-1-fabf@skynet.be>
Date: Mon, 5 Oct 2020 22:33:57 +0200
From: Fabian Frederick <fabf@...net.be>
To: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org
Cc: pablo@...filter.org, laforge@...monks.org,
steffen.klassert@...unet.com, herbert@...dor.apana.org.au,
pshelar@....org, dev@...nvswitch.org, yoshfuji@...ux-ipv6.org,
kuznet@....inr.ac.ru, Fabian Frederick <fabf@...net.be>
Subject: [PATCH 0/9 net-next] drivers/net: add sw_netstats_rx_add helper
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
Powered by blists - more mailing lists