Re: [PATCH net-next 3/5] qtnfmac: switch to core handling of rx/tx byte/packet counters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heiner Kallweit <hkallweit1@xxxxxxxxx> writes:

> 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@xxxxxxxxx>
> ---
>  drivers/net/wireless/quantenna/qtnfmac/core.c | 78 ++++---------------
>  drivers/net/wireless/quantenna/qtnfmac/core.h |  4 -
>  .../quantenna/qtnfmac/pcie/pearl_pcie.c       |  4 +-
>  .../quantenna/qtnfmac/pcie/topaz_pcie.c       |  4 +-
>  4 files changed, 20 insertions(+), 70 deletions(-)

Jakub, feel free to take this to net-next:

Acked-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

But I can also take this to wireless-drivers-next, whichever you prefer.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux