-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SONiC NVGRE Tunnel HLD #869
SONiC NVGRE Tunnel HLD #869
Conversation
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
@kperumalbfn could you please help to review and check if your comments were addressed? |
@venkatmahalingam, do you have more review comments, or you can approve this PR? |
@kperumalbfn kind reminder, could you please help to review this PR |
@tzack000, do you have more review comments, or you can approve this PR? |
### SAI API | ||
|
||
The NVGRE Tunnel feature require at least `SAI 1.9` or above. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some aspects of the SAI API in the initial implementation are not described in the HLD. They should be described:
- SAI_TUNNEL_ATTR_PEER_MODE_P2MP (default)
- Only decap mapper entries are created, not encap mapper entries
More importantly, the implementation does not conform to normal SAI tunnel usage. While the implementation seems to be focused on decap, there does not seem to be any code creating sai_tunnel_term_table entries. As far as I know the SAI tunnel definitions, I do not believe any packets will be consumed without entries in the sai_tunnel_term_table. Just creation of sai_tunnel objects is not enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the tunnel termination entry type and fixed implementation.
Remove the encap mappers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@svshah-intel Please review as well. Thanks.
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
@venkatmahalingam, @tzack000, @mickeyspiegel and @kperumalbfn could you please review and see if your concern is addressed and we can approve this PR? |
Sure, will do this week. |
@venkatmahalingam any update? |
Signed-off-by: Vadym Hlushko [email protected]
The high-level design document for the SONiC NVGRE Tunel