HTB uses an internal pfifo queue, which limit is not reported to userland tools (tc), and value inherited from device tx_queue_len at setup time. Introduce TCA_HTB_DIRECT_QLEN attribute to allow finer control. Remove two obsolete pr_err() calls as well.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -348,6 +348,7 @@ enum { · 347 unmodified lines | |||
| 348 | TCA_HTB_INIT, | 348 | TCA_HTB_INIT, |
| 349 | TCA_HTB_CTAB, | 349 | TCA_HTB_CTAB, |
| 350 | TCA_HTB_RTAB, | 350 | TCA_HTB_RTAB, |
| 351 | TCA_HTB_DIRECT_QLEN, | ||
| 351 | __TCA_HTB_MAX, | 352 | __TCA_HTB_MAX, |
| 352 | }; | 353 | }; |
| 353 | 354 | ||