diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2019-03-01 18:04:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-04 07:14:28 +0300 |
commit | 4976e3c683f328bc6f2edef555a4ffee6524486f (patch) | |
tree | f6954a02688cc21ba365b45a9a0dfbded540f0c0 /block/blk-mq-debugfs.c | |
parent | 0b5c7efdfc6e389ec6840579fe90bdb6f42b08dc (diff) | |
download | linux-4976e3c683f328bc6f2edef555a4ffee6524486f.tar.xz |
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 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions