Re: [PATCH v2 1/3] net: mac80211: use core API for updating TX/RX stats

From: Heiner Kallweit
Date: Fri Nov 13 2020 - 05:47:19 EST


Am 13.11.2020 um 09:58 schrieb Lev Stipakov:
> Commits
>
> d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add")
> 451b05f413d3f ("net: netdevice.h: sw_netstats_rx_add helper)
>
> have added API to update net device per-cpu TX/RX stats.
>
> Use core API instead of ieee80211_tx/rx_stats().
>
> Signed-off-by: Lev Stipakov <lev@xxxxxxxxxxx>
> ---
> v2: also replace ieee80211_rx_stats() with dev_sw_netstats_rx_add()
>
Reviewed-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>