History

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

Eric Dumazet committed 13 years ago

Commit df62cdf1 parent 3e1e3aa2 files · +17 −2Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/pkt_sched.h+2−0
@@ -357,6 +357,8 @@ enum { · 356 unmodified lines
357 TCA_HTB_CTAB,357 TCA_HTB_CTAB,
358 TCA_HTB_RTAB,358 TCA_HTB_RTAB,
359 TCA_HTB_DIRECT_QLEN,359 TCA_HTB_DIRECT_QLEN,
360 TCA_HTB_RATE64,
361 TCA_HTB_CEIL64,
360 __TCA_HTB_MAX,362 __TCA_HTB_MAX,
361};363};
362 364