diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2019-03-01 16:04:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-03 20:14:28 -0800 |
commit | 4976e3c683f328bc6f2edef555a4ffee6524486f (patch) | |
tree | f6954a02688cc21ba365b45a9a0dfbded540f0c0 /tools/perf/scripts/python | |
parent | 0b5c7efdfc6e389ec6840579fe90bdb6f42b08dc (diff) |
sch_cake: Simplify logic in cake_select_tin()
With more modes added the logic in cake_select_tin() was getting a bit
hairy, and it turns out we can actually simplify it quite a bit. This also
allows us to get rid of one of the two diffserv parsing functions, which
has the added benefit that already-zeroed DSCP fields won't get re-written.
Suggested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions