On Thu, Nov 16, 2023 at 9:34 PM Willem de Bruijn <[email protected]> wrote: > > From: Willem de Bruijn <[email protected]> > > Commit 29f834aa326e ("net_sched: sch_fq: add 3 bands and WRR > scheduling") introduces multiple traffic bands, and per-band maximum > packet count. > > Per-band limits ensures that packets in one class cannot fill the > entire qdisc and so cause DoS to the traffic in the other classes. > > Verify this behavior: > 1. set the limit to 10 per band > 2. send 20 pkts on band A: verify that 10 are queued, 10 dropped > 3. send 20 pkts on band A: verify that 0 are queued, 20 dropped > 4. send 20 pkts on band B: verify that 10 are queued, 10 dropped > >
... > Signed-off-by: Willem de Bruijn <[email protected]> > --- Thanks Willem for upstreaming this test. Reviewed-by: Eric Dumazet <[email protected]>
