From: David S. Miller Date: Mon, 15 May 2023 08:31:08 +0000 (+0100) Subject: Merge branch 'octeontx2-pf-HTB' X-Git-Tag: v6.6.17~4555^2~275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57f1915fc746315880ce28520134812d7035abd2;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'octeontx2-pf-HTB' Hariprasad Kelam says: ==================== octeontx2-pf: HTB offload support octeontx2 silicon and CN10K transmit interface consists of five transmit levels starting from MDQ, TL4 to TL1. Once packets are submitted to MDQ, hardware picks all active MDQs using strict priority, and MDQs having the same priority level are chosen using round robin. Each packet will traverse MDQ, TL4 to TL1 levels. Each level contains an array of queues to support scheduling and shaping. As HTB supports classful queuing mechanism by supporting rate and ceil and allow the user to control the absolute bandwidth to particular classes of traffic the same can be achieved by configuring shapers and schedulers on different transmit levels. This series of patches adds support for HTB offload, Patch1: Allow strict priority parameter in HTB offload mode. Patch2: Rename existing total tx queues for better readability Patch3: defines APIs such that the driver can dynamically initialize/ deinitialize the send queues. Patch4: Refactors transmit alloc/free calls as preparation for QOS offload code. Patch5: moves rate limiting logic to common header which will be used by qos offload code. Patch6: Adds actual HTB offload support. Patch7: exposes qos send queue stats over ethtool. Patch8: Add documentation about htb offload flow in driver ==================== Signed-off-by: David S. Miller --- 57f1915fc746315880ce28520134812d7035abd2