]> 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)
commitc57a2e30efb09df6e06ba757d0406fc6349e2732
treea652e6a5e5c225fd1cdfb3d00ca9112a39bdab52
parent487e5b3af6e4ca44aed2d4de2221a7894c2cf21b
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 ae1020d0f468 ("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