]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit472aa3a0b816feb5a9cc1dc85b4b7ebc3223cd31
tree1431e01c9a2fbada8dec374a63167f8796a84a84
parenta626eb9cf6c872c618eba9de8ff6742fa398982e
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