aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-11-12 14:58:17 -0800
committerDavid S. Miller <[email protected]>2018-11-14 08:51:28 -0800
commit6c5dbda0d4df000cff88d8bbb382de3d2e034d8f (patch)
treec2af6630374972ae8a524f589cee2208b92ca4bc /tools/perf/scripts/python
parentc0b7490b19f6ab43c3c4ef82c8d5ed3bf19a8913 (diff)
nfp: abm: reset RED's child based on limit
RED qdisc will replace its child Qdisc with a new FIFO queue if it is reconfigured and the limit parameter is not 0. This means that when it's created with limit of 0 it will have no FIFO, and all packets will be dropped. If it's changed and limit is specified it will loose its existing child (implicit graft). Make sure we mark RED Qdisc child as NFP_QDISC_UNTRACKED if its not the expected FIFO. nfp_abm_qdisc_replace() will return 1 if Qdisc already existed. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: John Hurley <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions