]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: core: add dev_sw_netstats_tx_add
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 29 Oct 2020 17:29:59 +0000 (18:29 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Oct 2020 17:21:31 +0000 (10:21 -0700)
commitd3fd65484c78102bac92f176c53537a7691a38b2
treed14e1624b861176295051e7bef385faa8dbb1cc7
parent4e5d79bbe82eb172641f07ebdd2a62f09520e422
net: core: add dev_sw_netstats_tx_add

Add dev_sw_netstats_tx_add(), complementing already existing
dev_sw_netstats_rx_add(). Other than dev_sw_netstats_rx_add allow to
pass the number of packets as function argument.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h