]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/q_fq_codel.c
fq_codel: add per queue memory limit
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 8 Jun 2016 15:42:00 +0000 (08:42 -0700)
committerStephen Hemminger <shemming@brocade.com>
Wed, 8 Jun 2016 15:42:00 +0000 (08:42 -0700)
commit4de4b5ca14ec6e1681c3c86ea7547d207617833d
tree0168e2ec5c1d0234af2a5f1c534f0ffaef79e9c0
parent06f9a59170c0ed168d5d36335d98c9825a0d661b
fq_codel: add per queue memory limit

This patch adds support for TCA_FQ_CODEL_MEMORY_LIMIT attribute.

..
qdisc fq_codel 8008: root refcnt 257 limit 10240p flows 1024
 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 2083566791363 bytes 1376214889 pkt (dropped 4994406, overlimits 0
requeues 21705223)
 rate 9841Mbit 812549pps backlog 3906120b 376p requeues 21705223
  maxpacket 68130 drop_overlimit 4994406 new_flow_count 28855414
  ecn_mark 0 memory_used 4190048 drop_overmemory 4994406
new_flows_len 1 old_flows_len 177

Signed-off-by: Eric Dumazet <edumazet@google.com>
tc/q_fq_codel.c