Skip to content

Commit e557855

Browse files
[SWSS] Innovium platform specific changes in PFC Detect lua script (sonic-net#2493)
What I did Update pfc_detect_innovium.lua Why I did it pfc_detect_innovium.lua changes for master and 202111
1 parent 6e288dc commit e557855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchagent/pfc_detect_innovium.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ for i = n, 1, -1 do
7979
-- redis.call('HSET', counters_table_name .. ':' .. KEYS[i], 'K7_debug_3', 'YES')
8080

8181

82-
if (occupancy_bytes > 0 and packets - packets_last == 0 and pfc_rx_packets - pfc_rx_packets_last > 0) or
82+
if (occupancy_bytes > 0 and packets - packets_last == 0 and pfc_rx_packets - pfc_rx_packets_last > 0 and (pfc_duration - pfc_duration_last) > poll_time * 0.8) or
8383
-- DEBUG CODE START. Uncomment to enable
8484
(debug_storm == "enabled") or
8585
-- DEBUG CODE END.

0 commit comments

Comments
 (0)