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

[dualtor-aa][nic_simulator] Improve the upstream flow #11459

Merged
merged 3 commits into from
Feb 12, 2024

Commits on Jan 31, 2024

  1. [dualtor-aa][nic_simulator] Improve the upstream flow

    Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
    lolyu committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    54b6916 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Add flag to enable/disable the nic upstream duplication

    Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
    lolyu committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5ce5d41 View commit details
    Browse the repository at this point in the history
  2. Use strict match for mod-flow

    From the ovs doc, if mod-flow is used without --strict, priority is not
    used in matching.
    This will cause problem for downstream set_drop when
    duplicate_nic_upstream is disabled.
    
    For example:
    
    When set_drop is applied to upstream_nic_flow(sonic-net#1), mod-flow will match both
    flow sonic-net#2 and flow  sonic-net#3 as priority is not used in flow match.
    
    So let's enforce strict match for mod-flow.
    
    Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
    lolyu committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    df4d03d View commit details
    Browse the repository at this point in the history