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 SAI version 1.18.1.0 #6566

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

keboliu
Copy link
Collaborator

@keboliu keboliu commented Jan 26, 2021

- Why I did it

Changes in the new release:

  1. Policy based hashing optimization
  2. New attribute support for Max port headroom
  3. Tunnel ECN map fixes
  4. Tunnel EVPN skeleton extensions (peer attrib, maps)
  5. Bridge port admin not affecting port admin (optimize port down time)
  6. CRM new API for neighbors and tunnel termination entries
  7. Improve FDB event for flush by bridge port (before, null bridge was reported to SONiC, now the bridge will be extracted from bridge port)
  8. DHCP L2 v4+v6 traps (for ZTP use case)
  9. Generic counter implementation

- How I did it
Update the version number in SAI make file, update the mlnx-sai submodule pointer.

- How to verify it
Run full regression tests (T0 and T1-Lag) on Mellanox platforms

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

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

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

changes:
  AzD phase 1 CRC performance optimization
  max port headroom new attribute
  tunnel ECN map fixes
  tunnel EVPN skeleton extensions (peer attrib, maps)
  bridge port admin not affecting port admin (optimize port down time)
  CRM new API for neighbors and tunnel termination entries
  Improve fdb event for flush by bridge port (before, null bridge was reported to Sonic, now the bridge will be extracted from bridge port)
  DHCP L2 v4+v6 traps (for ZTP use case)
  Generic counter implementation

Signed-off-by: Kebo Liu <kebol@nvidia.com>
@liat-grozovik liat-grozovik changed the title [Mellanox] Update SAI to sonic2012 1.18.1.0 [Mellanox] Update SAI version 1.18.1.0 Jan 26, 2021
@liat-grozovik
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik
Copy link
Collaborator

retest vsimage please

@liat-grozovik
Copy link
Collaborator

@lguohan please help to restart also 'Azure.sonic-buildimage (Test kvmtest)' as it was not initiated or failed already when Azure build restarted.

@keboliu
Copy link
Collaborator Author

keboliu commented Jan 27, 2021

retest vsimage please

1 similar comment
@keboliu
Copy link
Collaborator Author

keboliu commented Jan 27, 2021

retest vsimage please

@lguohan lguohan merged commit 7f222e7 into sonic-net:master Jan 27, 2021
@keboliu keboliu deleted the SAI-1.18.1.0 branch January 28, 2021 01:11
lguohan pushed a commit that referenced this pull request Jan 28, 2021
Changes in the new release:

1. Policy based hashing optimization
2. New attribute support for Max port headroom
3. Tunnel ECN map fixes
4. Tunnel EVPN skeleton extensions (peer attrib, maps)
5. Bridge port admin not affecting port admin (optimize port down time)
6. CRM new API for neighbors and tunnel termination entries
7. Improve FDB event for flush by bridge port (before, null bridge was reported to SONiC, now the bridge will be extracted from bridge port)
8. DHCP L2 v4+v6 traps (for ZTP use case)
9. Generic counter implementation

Signed-off-by: Kebo Liu <kebol@nvidia.com>
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this pull request Feb 5, 2022
* Support maximum port headroom checking

- Fetch the maximum port headroom via fetching the port attribute SAI_PORT_ATTR_QOS_MAXIMUM_HEADROOM_SIZE when the orchagent starts and push the data into STATE_DB
- Check the accumulative port headroom against the maximum headroom in buffer_check_headroom_<vendor>.lua

On Mellanox platform, this PR depends on PR sonic-net#6566 to be merged. In that PR the required SAI attribute is supported.
On other platforms, there is no dependency.

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

Why I did it
On some platforms, the SAI will notify orchagent shut down if a headroom size that causes the accumulative port headroom to exceed its limit is programmed to SAI.
To avoid that, we need to check this before programming it to SAI.

How I verified it
Run the regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants