Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] Update Mellanox-SN5600-C256S1 SKU name and update buffers files #20703

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to update the default object file to get the right buffer pool generated?

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{#
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,10 +16,10 @@
limitations under the License.
#}
{% set default_cable = '40m' %}
{% set ingress_lossless_pool_size = '118249472' %}
{% set ingress_lossless_pool_xoff = '15728640' %}
{% set ingress_lossless_pool_size = '115245056' %}
{% set ingress_lossless_pool_xoff = '14826496' %}
{% set egress_lossless_pool_size = '158229504' %}
{% set egress_lossy_pool_size = '118249472' %}
{% set egress_lossy_pool_size = '115245056' %}

{% import 'buffers_defaults_objects.j2' as defs with context %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this config create a single lossy buffer pool?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it will create a single egress & ingress lossy pool

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi Noa, just to double confirm - will the lossless pool be removed?


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{#
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{#
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
##
## SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
## Apache-2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
# PG lossless profiles.
# speed cable size xon xoff threshold
10000 5m 19456 19456 20480 0
25000 5m 19456 19456 21504 0
40000 5m 19456 19456 24576 0
50000 5m 19456 19456 26624 0
100000 5m 19456 19456 44032 0
200000 5m 19456 19456 50176 0
400000 5m 19456 19456 86016 0
800000 5m 38912 38912 95232 0
10000 40m 19456 19456 20480 0
25000 40m 19456 19456 22528 0
40000 40m 19456 19456 25600 0
50000 40m 19456 19456 28672 0
100000 40m 19456 19456 49152 0
200000 40m 19456 19456 60416 0
400000 40m 19456 19456 104448 0
800000 40m 38912 38912 132096 0
10000 250m 43008 19456 23552 0
25000 250m 19456 19456 29696 0
40000 250m 19456 19456 36864 0
50000 250m 19456 19456 43008 0
100000 250m 19456 19456 76800 0
200000 250m 19456 19456 116736 0
400000 250m 19456 19456 217088 0
800000 250m 38912 38912 357376 0
10000 300m 19456 19456 23552 0
25000 300m 19456 19456 30720 0
40000 300m 19456 19456 39936 0
50000 300m 19456 19456 46080 0
100000 300m 19456 19456 83968 0
200000 300m 19456 19456 130048 0
400000 300m 19456 19456 243712 0
800000 300m 38912 38912 411648 0
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
##
## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
## SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
## Apache-2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -272,4 +273,4 @@ Ethernet500 500 etp63e 63 100000
Ethernet501 501 etp63f 63 100000 rs off 6
Ethernet502 502 etp63g 63 100000 rs off 7
Ethernet503 503 etp63h 63 100000 rs off 8
Ethernet512 512 etp65 65 25000 rs
Ethernet512 512 etp65 65 10000 rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<!--
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
QUEUE_WATERMARK_STAT_COUNTER,PG_WATERMARK_STAT_COUNTER,PFC_WD

This file was deleted.

Loading