]> 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)
commit3b1c485935cf0960fb80a5a21b843b37257be1be
tree1431e01c9a2fbada8dec374a63167f8796a84a84
parent53267c53d3b858fcb479d29737de09d6aa99dc5d
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