summaryrefslogtreecommitdiffstats
path: root/lib/sg_pool.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-05-25 21:53:37 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-29 09:49:16 -0400
commit47c669a406d8621c69b1c199ce099b54b17b9902 (patch)
tree330d91ad1561849cbb86a10b8261d00fa22e8ffd /lib/sg_pool.c
parent674cb229b61039c4763838496e9241f4e6f145a8 (diff)
downloadlinux-47c669a406d8621c69b1c199ce099b54b17b9902.tar.bz2
net: sched: mq: request stats from offloads
MQ doesn't hold any statistics on its own, however, statistic from offloads are requested starting from the root, hence MQ will read the old values for its sums. Call into the drivers, because of the additive nature of the stats drivers are aware of how much "pending updates" they have to children of the MQ. Since MQ reset its stats on every dump we can simply offset the stats, predicting how stats of offloaded children will change. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions