Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
anilkpan committed Dec 4, 2024
2 parents 19e7b15 + d264a8a commit 2d06bc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cfgmgr/buffer_pool_mellanox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ local function fetch_buffer_pool_size_from_appldb(shp_enabled)
-- In case the orchagent starts handling buffer configuration between 2 and 3,
-- It is inconsistent between buffer pools and profiles, which fails Mellanox SAI sanity check
-- To avoid it, it indicates the shared headroom pool is enabled by setting a very small buffer pool and shared headroom pool sizes
table.insert(result, buffer_pools[i] .. ':2048:1024')
if size == "0" then
table.insert(result, buffer_pools[i] .. ':2048:1024')
else
table.insert(result, buffer_pools[i] .. ":" .. size .. ':1024')
end
else
table.insert(result, buffer_pools[i] .. ':' .. size)
end
Expand Down

0 comments on commit 2d06bc4

Please sign in to comment.