diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-12-07 20:57:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-08 21:32:26 +0300 |
commit | 7e66016f2c65bfc1181f42274fcb7f1183ab1bb5 (patch) | |
tree | c3ab895c92d9eef6e0c55d267f8712b956184de5 /lib/locking-selftest-softirq.h | |
parent | fd8e8d1a775d82f04215f4b884a1962774805346 (diff) | |
download | linux-7e66016f2c65bfc1181f42274fcb7f1183ab1bb5.tar.xz |
net: sched: helpers to sum qlen and qlen for per cpu logic
Add qdisc qlen helper routines for lockless qdiscs to use.
The qdisc qlen is no longer used in the hotpath but it is reported
via stats query on the qdisc so it still needs to be tracked. This
adds the per cpu operations needed along with a helper to return
the summation of per cpu stats.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions