Skip to content

Commit

Permalink
[SWSS] Innovium platform specific changes in PFC Detect lua script (s…
Browse files Browse the repository at this point in the history
…onic-net#2493)

What I did
Update pfc_detect_innovium.lua

Why I did it
pfc_detect_innovium.lua changes for master and 202111
  • Loading branch information
maulik-marvell authored Nov 10, 2022
1 parent 6e288dc commit e557855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/pfc_detect_innovium.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ for i = n, 1, -1 do
-- redis.call('HSET', counters_table_name .. ':' .. KEYS[i], 'K7_debug_3', 'YES')


if (occupancy_bytes > 0 and packets - packets_last == 0 and pfc_rx_packets - pfc_rx_packets_last > 0) or
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
-- DEBUG CODE START. Uncomment to enable
(debug_storm == "enabled") or
-- DEBUG CODE END.
Expand Down

0 comments on commit e557855

Please sign in to comment.