]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: pull per-q stats work out of queue loops
authorShannon Nelson <snelson@pensando.io>
Tue, 30 Mar 2021 19:52:10 +0000 (12:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2021 00:37:13 +0000 (17:37 -0700)
commitaa99a2388b1a41f2e5f09af64b6722e19411f2af
treea652e6a5e5c225fd1cdfb3d00ca9112a39bdab52
parent485b1e75554cad0e181bf389e00f4bcbae09f977
ionic: pull per-q stats work out of queue loops

Abstract out the per-queue data collection work into separate
functions from the per-queue loops in the stats reporting,
similar to what Alex did for the data label strings in
commit 0339df5e3a3d ("ionic: Update driver to use ethtool_sprintf")

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_stats.c