From 859bd6781c944bcc2b99db1eba574b7a5567652c Mon Sep 17 00:00:00 2001 From: Stephen Sun <5379172+stephenxs@users.noreply.github.com> Date: Tue, 15 Aug 2023 00:33:11 +0800 Subject: [PATCH] Fix error in peer response time when headroom is calculated for 800G (#2860) **What I did** Fix an error in peer response time when headroom is calculated for 800G **Why I did it** Bug fix. **How I verified it** Manually test --- cfgmgr/buffer_headroom_mellanox.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/cfgmgr/buffer_headroom_mellanox.lua b/cfgmgr/buffer_headroom_mellanox.lua index ae36b5caf1..d99cd02816 100644 --- a/cfgmgr/buffer_headroom_mellanox.lua +++ b/cfgmgr/buffer_headroom_mellanox.lua @@ -39,6 +39,7 @@ local ret = {} -- the key of table pause_quanta_per_speed is operating speed at Mb/s -- the value of table pause_quanta_per_speed is the number of pause_quanta local pause_quanta_per_speed = {} +pause_quanta_per_speed[800000] = 905 pause_quanta_per_speed[400000] = 905 pause_quanta_per_speed[200000] = 453 pause_quanta_per_speed[100000] = 394