Skip to content

[202205][dual-tor] use 'egress' port for Mellanox platform for ACL rules for standby ToR#2565

Merged
liat-grozovik merged 1 commit intosonic-net:202205from
ayurkiv-nvda:work_solution_upstream
Jan 3, 2023
Merged

[202205][dual-tor] use 'egress' port for Mellanox platform for ACL rules for standby ToR#2565
liat-grozovik merged 1 commit intosonic-net:202205from
ayurkiv-nvda:work_solution_upstream

Conversation

@ayurkiv-nvda
Copy link
Contributor

Signed-off-by: Andriy Yurkiv ayurkiv@nvidia.com

What I did
For Dual-Tor scenario on standby ports drop packets on the egress stage for mellanox platform only.
Remain old behavior for other platform.

NOTE
Currently, it is short-term solution which will be replaced with more generic one

Why I did it
Current SAI ACL implementation drops both data plane and control-plane traffic if rules are installed on ingress stage.
But DualToR expects only data-plane traffic to be dropped, and control-plane should not be affected.
In order to handle this limitation, we will allow traffic to go into ingress port, then handle control plane traffic and drop that traffic on egress ports

How I verified it
Setup Dual-ToR, both Active and Standby should have "healthy" status

Details if related

@ayurkiv-nvda ayurkiv-nvda requested a review from prsunny as a code owner December 9, 2022 19:28
@ayurkiv-nvda ayurkiv-nvda force-pushed the work_solution_upstream branch 2 times, most recently from 078fdbb to 231defd Compare December 13, 2022 14:24
@bingwang-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ayurkiv-nvda ayurkiv-nvda force-pushed the work_solution_upstream branch from 231defd to 4d557f9 Compare December 19, 2022 12:37
@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 2565 in repo sonic-net/sonic-swss

@ayurkiv-nvda ayurkiv-nvda force-pushed the work_solution_upstream branch from 4d557f9 to e154e9e Compare December 19, 2022 15:51
@bingwang-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ayurkiv-nvda ayurkiv-nvda force-pushed the work_solution_upstream branch from e154e9e to ff0d27b Compare December 20, 2022 17:17
Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
@ayurkiv-nvda ayurkiv-nvda force-pushed the work_solution_upstream branch from ff0d27b to 2230766 Compare December 22, 2022 14:48
@liat-grozovik
Copy link
Collaborator

/azp run Azure.sonic-swss

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik
Copy link
Collaborator

/azp run Azure.sonic-swss

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bingwang-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bingwang-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ayurkiv-nvda
Copy link
Contributor Author

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit 3ce7eb4 into sonic-net:202205 Jan 3, 2023
@ayurkiv-nvda ayurkiv-nvda deleted the work_solution_upstream branch January 22, 2025 16:59
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.

5 participants