Skip to content

Conversation

@mramezani95
Copy link
Contributor

@mramezani95 mramezani95 commented Oct 30, 2025

What I did
Explicitly set the DECAP_TTL_MODE to PIPE_MODEL for VxLAN tunnels.

Why I did it
For decap scenario, default expectation to keep the inner ttl.

How I verified it
Tested on platforms to validate TTL pipe mode

Details if related
N/A

Copilot AI review requested due to automatic review settings October 30, 2025 17:29
@mramezani95 mramezani95 requested a review from prsunny as a code owner October 30, 2025 17:29
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds decapsulation TTL mode configuration to VXLAN tunnel creation, setting it to pipe model to ensure consistent TTL handling for incoming tunneled traffic.

  • Sets SAI_TUNNEL_ATTR_DECAP_TTL_MODE to SAI_TUNNEL_TTL_MODE_PIPE_MODEL for all VXLAN tunnels

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Mahdi Ramezani <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Collaborator

prsunny commented Nov 3, 2025

@mramezani95 , can you update the following for this PR

  1. Enable do_task to process a 'ttl' mode of 'uniform' or 'pipe'
  2. Corresponding yang change if not already present
  3. Golden config change for setting 'ttl' to 'pipe'

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.

3 participants