qmi_wwan: switch to core handling of rx/tx byte/packet counters
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 10 Nov 2020 19:48:14 +0000 (20:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 22:58:26 +0000 (14:58 -0800)
commit2d5c27dafe63fb8a2e879f3e8f8a73a83a97d5df
tree85ee79bb6cafdcc70f35287c4b8115b89502fb19
parentaa0616a9bd524f8dc2461af2c4acfea90833b38c
qmi_wwan: switch to core handling of rx/tx byte/packet counters

Use netdev->tstats instead of a member of qmimux_priv for storing
a pointer to the per-cpu counters. This allows us to use core
functionality for statistics handling.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/qmi_wwan.c