net_sched: htb: support of 64bit rates
authorEric Dumazet <edumazet@google.com>
Thu, 19 Sep 2013 16:10:20 +0000 (09:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Sep 2013 18:41:03 +0000 (14:41 -0400)
commitdf62cdf348c91baac61b4cb19d19ea1ef87b271e
tree1431e01c9a2fbada8dec374a63167f8796a84a84
parent3e1e3aae1f5d4e8e5edb7e332f6e265597cc5b0a
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>
include/uapi/linux/pkt_sched.h
net/sched/sch_htb.c