]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: factor out handling rtl8169_stats
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 9 Oct 2020 14:20:34 +0000 (16:20 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Oct 2020 17:46:07 +0000 (10:46 -0700)
commit8c4cca5ee83247955cfb10ae7ac9b714a07fcb1a
tree5fad880f127e2fd7004d8c72b44f11a51cceb6cf
parentd1d99a2db2ede5c1f6305aa3330b352c9d990e73
r8169: factor out handling rtl8169_stats

Factor out handling the private packet/byte counters to new
functions rtl_get_priv_stats() and rtl_inc_priv_stats().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c