Heiner Kallweit 45fc3fd430 qtnfmac: switch to core handling of rx/tx byte/packet counters
Use netdev->tstats instead of a member of qtnf_vif for storing a pointer
to the per-cpu counters. This allows us to use core functionality for
statistics handling.
The driver sets netdev->needs_free_netdev, therefore freeing the per-cpu
counters at the right point in time is a little bit tricky. Best option
seems to be to use the ndo_init/ndo_uninit callbacks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-12 14:58:27 -08:00
..
2020-10-16 15:02:21 -07:00
2020-10-14 10:32:10 -07:00
2020-11-11 14:07:00 -08:00
2020-11-09 17:50:28 -08:00
2020-11-09 17:50:28 -08:00
2020-11-09 17:50:28 -08:00
2020-11-05 16:54:01 -08:00
2020-11-05 16:54:01 -08:00
2020-11-05 16:54:01 -08:00
2020-10-11 10:21:04 -07:00
2020-11-09 17:50:28 -08:00