From 1c8321a8679e132cec1b769ab364149e794558cc Mon Sep 17 00:00:00 2001 From: Roman Khramshin Date: Wed, 20 Nov 2024 15:21:37 +0600 Subject: T6790: QoS: Improve CAKE Policy (#4173) - Fixed handling of flow isolation parameters. - Corrected support for `nat` and `nonat` in flow isolation. - Extended RTT values to cover the full range supported by `tc`. - Make migration script 2-to-3 qos --- interface-definitions/qos.xml.in | 111 ++++++++++++++++++--------------------- 1 file changed, 50 insertions(+), 61 deletions(-) (limited to 'interface-definitions/qos.xml.in') diff --git a/interface-definitions/qos.xml.in b/interface-definitions/qos.xml.in index 907fd5e4c..c6ecb742e 100644 --- a/interface-definitions/qos.xml.in +++ b/interface-definitions/qos.xml.in @@ -85,78 +85,67 @@ #include #include - + Flow isolation settings + + blind src-host dst-host host flow dual-src-host dual-dst-host triple-isolate + + + blind + Disables flow isolation, all traffic passes through a single queue + + + src-host + Flows are defined only by source address + + + dst-host + Flows are defined only by destination address + + + host + Flows are defined by source-destination host pairs + + + flow + Flows are defined by the entire 5-tuple + + + dual-src-host + Flows are defined by the 5-tuple, fairness is applied first over source addresses, then over individual flows + + + dual-dst-host + Flows are defined by the 5-tuple, fairness is applied first over destination addresses, then over individual flows + + + triple-isolate + Flows are defined by the 5-tuple, fairness is applied over source and destination addresses and also over individual flows (default) + + + (blind|src-host|dst-host|host|flow|dual-src-host|dual-dst-host|triple-isolate) + - - - - Disables flow isolation, all traffic passes through a single queue - - - - - - Flows are defined only by source address - - - - - - Flows are defined only by destination address - - - - - - Flows are defined by source-destination host pairs - - - - - - Flows are defined by the entire 5-tuple - - - - - - Flows are defined by the 5-tuple, fairness is applied first over source addresses, then over individual flows - - - - - - Flows are defined by the 5-tuple, fairness is applied first over destination addresses, then over individual flows - - - - - - Flows are defined by the 5-tuple, fairness is applied over source and destination addresses and also over individual flows (default) - - - - - - Perform NAT lookup before applying flow-isolation rules - - - - - + triple-isolate + + + + Perform NAT lookup before applying flow-isolation rules + + + Round-Trip-Time for Active Queue Management (AQM) - u32:1-3600000 + u32:1-1000000000 RTT in ms - + - RTT must be in range 1 to 3600000 milli-seconds + RTT must be in range 1 to 1000000000 milli-seconds 100 -- cgit v1.2.3