net: sched: add qstats.qlen to qlen
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 26 May 2018 04:53:30 +0000 (21:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 13:49:15 +0000 (09:49 -0400)
commit6172abc1e2ea12743f368875576952ddf4ebe88c
treefc589cda95569147e3488fcf7322f2e05641f653
parent8c8e6406f593ce21694ce7da6d86af49b4610e69
net: sched: add qstats.qlen to qlen

AFAICT struct gnet_stats_queue.qlen is not used in Qdiscs.
It may, however, be useful for offloads to report HW queue
length there.  Add that value to the result of qdisc_qlen_sum().

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h