summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/pkt_sched.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-09-19 09:10:20 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-20 14:41:03 -0400
commitdf62cdf348c91baac61b4cb19d19ea1ef87b271e (patch)
tree1431e01c9a2fbada8dec374a63167f8796a84a84 /include/uapi/linux/pkt_sched.h
parent3e1e3aae1f5d4e8e5edb7e332f6e265597cc5b0a (diff)
downloadop-kernel-dev-df62cdf348c91baac61b4cb19d19ea1ef87b271e.zip
op-kernel-dev-df62cdf348c91baac61b4cb19d19ea1ef87b271e.tar.gz
net_sched: htb: support of 64bit rates
HTB already can deal with 64bit rates, we only have to add two new attributes so that tc can use them to break the current 32bit ABI barrier. TCA_HTB_RATE64 : class rate (in bytes per second) TCA_HTB_CEIL64 : class ceil (in bytes per second) This allows us to setup HTB on 40Gbps links, as 32bit limit is actually ~34Gbps Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/pkt_sched.h')
-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 9b82913..f2624b5 100644
--- a/include/uapi/linux/pkt_sched.h
+++ b/include/uapi/linux/pkt_sched.h
@@ -357,6 +357,8 @@ enum {
TCA_HTB_CTAB,
TCA_HTB_RTAB,
TCA_HTB_DIRECT_QLEN,
+ TCA_HTB_RATE64,
+ TCA_HTB_CEIL64,
__TCA_HTB_MAX,
};
OpenPOWER on IntegriCloud