diff options
author | Hariprasad Kelam <hkelam@marvell.com> | 2023-07-19 16:34:43 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-21 09:55:54 +0100 |
commit | 6f71051ffbdb914fc3688ba9b13baba4142630a5 (patch) | |
tree | 8a8db25157e8e64de5987f26f4aa9fcf3e6eb6b6 /Documentation | |
parent | 47a9656f168a4b76a1e069ed8a67924ea8c1ac43 (diff) |
docs: octeontx2: extend documentation for Round Robin scheduling
Add example tc-htb commands for Round robin scheduling
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst b/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst index bfd233cfac35..1e196cb9ce25 100644 --- a/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst +++ b/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst @@ -332,3 +332,11 @@ Setup HTB offload # tc class add dev <interface> parent 1: classid 1:1 htb rate 10Gbit prio 1 # tc class add dev <interface> parent 1: classid 1:2 htb rate 10Gbit prio 7 + +4. Create tc classes with same priorities and different quantum:: + + # tc class add dev <interface> parent 1: classid 1:1 htb rate 10Gbit prio 2 quantum 409600 + + # tc class add dev <interface> parent 1: classid 1:2 htb rate 10Gbit prio 2 quantum 188416 + + # tc class add dev <interface> parent 1: classid 1:3 htb rate 10Gbit prio 2 quantum 32768 |