Skip to content

Commit 4c778ff

Browse files
author
Hrachya Mughnetsyan
committed
[schema] WRED red max threshold and ECN modes
* Added support for specifying ECN mode values * Added red_max_threshold signed-off-by [email protected]
1 parent b56c9cc commit 4c778ff

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

doc/swss-schema.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,18 +256,25 @@ and reflects the LAG ports into the redis under: `LAG_TABLE:<team0>:port`
256256
###WRED\_PROFILE\_TABLE
257257
; WRED profile
258258
; SAI mapping - saiwred.h
259-
key = "WRED_PROFILE_TABLE:"name
259+
key = "WRED_PROFILE_TABLE:"name
260260
;field value
261-
yellow_max_threshold = byte_count
262-
green_max_threshold = byte_count
263-
byte_count = 1*DIGIT
264-
261+
yellow_max_threshold = byte_count
262+
green_max_threshold = byte_count
263+
red_max_threshold = byte_count
264+
byte_count = 1*DIGIT
265+
ecn = "ecn_none" / "ecn_green" / "ecn_yellow" / "ecn_red" / "ecn_green_yellow" / "ecn_green_red" / "ecn_yellow_red" / "ecn_all"
266+
265267
Example:
266268
127.0.0.1:6379> hgetall "WRED_PROFILE_TABLE:AZURE"
267269
1) "green_max_threshold"
268270
2) "20480"
269271
3) "yellow_max_threshold"
270272
4) "30720"
273+
5) "red_max_threshold"
274+
6) "1234"
275+
7) "ecn"
276+
8) "ecn_all"
277+
271278

272279
----------------------------------------------
273280
###TUNNEL_DECAP_TABLE

0 commit comments

Comments
 (0)