Skip to content

[202106] Support zero buffer profiles#84

Closed
stephenxs wants to merge 1 commit into202106from
zero-profiles-202106
Closed

[202106] Support zero buffer profiles#84
stephenxs wants to merge 1 commit into202106from
zero-profiles-202106

Conversation

@stephenxs
Copy link
Copy Markdown
Owner

This is to backport community PR 8768 to 202106 branch

  1. Add buffer profiles and pool definition for zero buffer profiles
    • If buffer model is static:
      • Apply normal buffer profiles to admin-up ports
      • Apply zero buffer profiles to admin-down ports
    • If buffer model is dynamic:
      • Apply normal buffer profiles to all ports
      • buffer manager will take care when a port is shutdown
  2. To make code clean and reduce redundant code, extract common macros from buffer_defaults_t{0,1}.j2 of all SKUs to two common files:
    • one in Mellanox-SN2700 for single ingress pool mode
    • the other in ACS-MSN2700 for double ingress pool mode
      Those files of all other SKUs will be symbol link to the above files
  3. Adjust example output file of json template for unit test

Signed-off-by: Stephen Sun stephens@nvidia.com

Conflicts:
device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64/buffers_defaults_t0.j2
device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64/buffers_defaults_t1.j2

Why I did it

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

1. Add buffer profiles and pool definition for zero buffer profiles
   - If buffer model is static:
      - Apply normal buffer profiles to admin-up ports
      - Apply zero buffer profiles to admin-down ports
   - If buffer model is dynamic:
      - Apply normal buffer profiles to all ports
      - buffer manager will take care when a port is shutdown
2. To make code clean and reduce redundant code, extract common macros from buffer_defaults_t{0,1}.j2 of all SKUs to two common files:
    - one in Mellanox-SN2700 for single ingress pool mode
    - the other in ACS-MSN2700 for double ingress pool mode
   Those files of all other SKUs will be symbol link to the above files
3. Adjust example output file of json template for unit test

Signed-off-by: Stephen Sun <stephens@nvidia.com>

Conflicts:
	device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64/buffers_defaults_t0.j2
	device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64/buffers_defaults_t1.j2
@stephenxs stephenxs closed this Oct 26, 2021
stephenxs pushed a commit that referenced this pull request Jun 14, 2022
[sonic-linkmgrd][master] Submodule Update

9c8a16e Jing Zhang Sun Jun 5 08:27:07 2022 -0700 Separate I2C mux state probing and gRPC forwarding state probing (#86)
491c4ee Longxiang Lyu Sun Jun 5 23:26:19 2022 +0800 Fix peer mux wait back off factor (#84)
a0b6b14 Jing Zhang Wed Jun 1 10:33:12 2022 -0700 Revert "Update log level for mux probing and mux state chance (#23)" (#85)
3c2b546 Jing Zhang Tue May 31 10:14:42 2022 -0700 Add default route support to active-active state machine (#78)
6fa892e Longxiang Lyu Fri May 27 09:15:06 2022 +0800 Degrade LinkProberStateMachineBase virtual function logging level (#80)
7b695ca Longxiang Lyu Fri May 27 09:14:02 2022 +0800 Fix mux wait timer and peer mux wait timer (#81)
stephenxs pushed a commit that referenced this pull request Jul 15, 2022
linkmgrd:
* d27ca81 2022-06-05 |  Separate I2C mux state probing and gRPC forwarding state probing  (#86) (HEAD -> 202205) [Jing Zhang]
* 9d7d301 2022-06-01 | Revert "Update log level for mux probing and mux state chance (#23)" (#85) [Jing Zhang]
* 60d3d77 2022-06-05 | Fix peer mux wait back off factor (#84) [Longxiang Lyu]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
stephenxs pushed a commit that referenced this pull request Dec 1, 2023
…utomatically (sonic-net#17371)

#### Why I did it
src/sonic-host-services
```
* e8ae2af - (HEAD -> master, origin/master, origin/HEAD) [featured]: Add database services for DPU (#84) (24 hours ago) [Ze Gan]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Jul 23, 2025
…ically (sonic-net#23389)

#### Why I did it
src/sonic-dash-ha
```
* aeac5d0 - (HEAD -> master, origin/master, origin/HEAD) Remove fvs and rename backup_fvs to fields in show hamgrd actor command (#85) (6 hours ago) [yue-fred-gao]
* cf03fe8 - Add test case to verify zmq reconnect behaviour (#84) (6 hours ago) [yue-fred-gao]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Aug 8, 2025
…omatically (sonic-net#23392)

#### Why I did it
src/sonic-swss-common
```
* fc35dd0 - (HEAD -> master, origin/master, origin/HEAD) Move SonicDbTable to sonic-dash-ha. (sonic-net#1056) (3 hours ago) [dypet]
* 100e2e0 - [MSTP] Schema Support (sonic-net#961) (5 hours ago) [Wajahat Razi]
* d7c661b - [trim]: Add Packet Trimming Drop Counters DB schema (sonic-net#1055) (33 hours ago) [Nazarii Hnydyn]
* 465cc1c - Add test case to verify zmq reconnect behaviour (#84) (sonic-net#1052) (12 days ago) [Qi Luo]
* 93af927 - Move swss-common/swss-common-testing crates from https://github.com/sonic-net/sonic-dash-ha (sonic-net#1044) (13 days ago) [Qi Luo]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Dec 16, 2025
…ly (sonic-net#24787)

#### Why I did it
src/dhcprelay
```
* f908c85 - (HEAD -> master, origin/master, origin/HEAD) [dhcp4relay] Smart switch support, defect fixes (#84) (4 days ago) [Shivashankar C R]
* d7fd4ed - Allow using Boost 1.83 for dhcp4relay (#87) (5 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants