Skip to content

Commit

Permalink
Support single ingress pool for MSFT SKUs and optimize headroom calcu…
Browse files Browse the repository at this point in the history
…lation (sonic-net#5194)

This is to backport the sonic-net#4886 to 201911

Calculate pool size in t1 as 24 * downlink port + 8 * uplink port

- Take both port and peer MTU into account when calculating headroom
- Worst case factor is decreased to 50%
- Mellanox-SN2700-C28D8 t0, assume 48 * 50G/5m + 8 * 100G/40m ports
- Mellanox-SN2700 (C32)
  - t0: 16 * 100G/5m + 16 * 100G/40m
  - t1: 16 * 100G/40m + 16 * 100G/300m

Signed-off-by: Stephen Sun <stephens@nvidia.com>
  • Loading branch information
stephenxs authored and abdosi committed May 19, 2022
1 parent 093efa2 commit fd42e93
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.

0 comments on commit fd42e93

Please sign in to comment.