net_sched: tbf: support of 64bit rates
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 8 Nov 2013 02:23:34 +0000 (10:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Nov 2013 19:53:37 +0000 (14:53 -0500)
commita33c4a2663c19ac01e557d6b78806271eec2a150
treedc5627e103416512e31b0fc628c836572b8f66f1
parent51f3773bdeecf6ec48647dbfea335be4e507da0b
net_sched: tbf: support of 64bit rates

With psched_ratecfg_precompute(), tbf can deal with 64bit rates.
Add two new attributes so that tc can use them to break the 32bit
limit.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_sched.h
net/sched/sch_tbf.c