Skip to content

Commit

Permalink
[QoS] Support dynamic headroom calculation for Barefoot platforms (so…
Browse files Browse the repository at this point in the history
…nic-net#2306)

Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com>

What I did
Adding the dynamic headroom calculation support for Barefoot platforms.

Why I did it
Enabling dynamic mode for barefoot case.

How I verified it
The community tests are adjusted and pass.
  • Loading branch information
MariuszStachura authored and preetham-singh committed Nov 18, 2022
1 parent 3a0f805 commit 7cf8840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2645,7 +2645,7 @@ def reload(ctx, no_dynamic_buffer, dry_run, json_data, ports):
namespace_list = multi_asic.get_namespaces_from_linux()

buffer_model_updated = False
vendors_supporting_dynamic_buffer = ["mellanox"]
vendors_supporting_dynamic_buffer = ["mellanox", "barefoot"]

for ns in namespace_list:
if ns is DEFAULT_NAMESPACE:
Expand Down

0 comments on commit 7cf8840

Please sign in to comment.