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
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -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 | ||