Re: [PATCH iproute2-next] tc/htb: Hierarchical QoS hardware offload

2021-02-02 Thread David Ahern
On 2/2/21 4:46 AM, Maxim Mikityanskiy wrote: > On 2021-01-29 18:05, David Ahern wrote: >> On 12/15/20 12:42 AM, Maxim Mikityanskiy wrote: >>> This commit adds support for configuring HTB in offload mode. HTB >>> offload eliminates the single qdisc lock in the datapath and offloads >>> the algorithm

Re: [PATCH iproute2-next] tc/htb: Hierarchical QoS hardware offload

2021-02-02 Thread Maxim Mikityanskiy
On 2021-01-29 18:05, David Ahern wrote: On 12/15/20 12:42 AM, Maxim Mikityanskiy wrote: This commit adds support for configuring HTB in offload mode. HTB offload eliminates the single qdisc lock in the datapath and offloads the algorithm to the NIC. The new 'offload' parameter is added to enable

Re: [PATCH iproute2-next] tc/htb: Hierarchical QoS hardware offload

2020-12-15 Thread Stephen Hemminger
On Tue, 15 Dec 2020 09:42:08 +0200 Maxim Mikityanskiy wrote: > + print_uint(PRINT_ANY, "offload", " offload %d", !!tb[TCA_HTB_OFFLOAD]); This is not the best way to represent a boolean flag in JSON. Also it breaks the "output should be the same as command line" mantra. My preference is jso

[PATCH iproute2-next] tc/htb: Hierarchical QoS hardware offload

2020-12-14 Thread Maxim Mikityanskiy
This commit adds support for configuring HTB in offload mode. HTB offload eliminates the single qdisc lock in the datapath and offloads the algorithm to the NIC. The new 'offload' parameter is added to enable this mode: # tc qdisc replace dev eth0 root handle 1: htb offload Classes are create