summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2013-11-08 10:23:34 +0800
committerDavid S. Miller <davem@davemloft.net>2013-11-09 14:53:37 -0500
commita33c4a2663c19ac01e557d6b78806271eec2a150 (patch)
treedc5627e103416512e31b0fc628c836572b8f66f1 /include/uapi
parent51f3773bdeecf6ec48647dbfea335be4e507da0b (diff)
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/pkt_sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h
index f2624b549e61..307f293477e8 100644
--- a/include/uapi/linux/pkt_sched.h
+++ b/include/uapi/linux/pkt_sched.h
@@ -171,6 +171,8 @@ enum {
TCA_TBF_PARMS,
TCA_TBF_RTAB,
TCA_TBF_PTAB,
+ TCA_TBF_RATE64,
+ TCA_TBF_PRATE64,
__TCA_TBF_MAX,
};