summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-11-12 14:58:17 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-14 08:51:28 -0800
commit6c5dbda0d4df000cff88d8bbb382de3d2e034d8f (patch)
treec2af6630374972ae8a524f589cee2208b92ca4bc /include
parentc0b7490b19f6ab43c3c4ef82c8d5ed3bf19a8913 (diff)
downloadcachepc-linux-6c5dbda0d4df000cff88d8bbb382de3d2e034d8f.tar.gz
cachepc-linux-6c5dbda0d4df000cff88d8bbb382de3d2e034d8f.zip
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 <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions