diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-12-10 14:23:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-10 17:29:47 -0500 |
commit | 32b78d8563c57fc1d68ae73a5ae15359cb243f89 (patch) | |
tree | c5cc44138913ffefa29405591dfcb4ff853c7b37 /lib/genalloc.c | |
parent | 32b5f2d1f9bf653491b6c03a55e26177211f8218 (diff) | |
download | linux-32b78d8563c57fc1d68ae73a5ae15359cb243f89.tar.bz2 |
net: ethernet: ti: cpsw: combine budget and weight split and check
Re-split weight along with budget. It simplify code a little
and update state after every rate change. Also it's necessarily
to move arguments checks to this combined function. Replace
maximum rate check for an interface on maximum possible rate.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions