Skip to content

[swss][orchagent] Fix a problem where the fdborch does not update the hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event.#2811

Merged
gechiang merged 1 commit intosonic-net:masterfrom
puffc:puffc_remote_to_local_ageout_fix
Jun 22, 2023

Conversation

@puffc
Copy link
Copy Markdown
Contributor

@puffc puffc commented Jun 5, 2023

Fixes #2810

What I did
After receiving the MAC address movement event from the hardware, update the MAC address type from static to dynamic and also update the allow_move attribute to false if the MAC address was originally learned from the remote MCLAG peer.

Why I did it
To fix the hardware MAC address update problem as stated in the description.

How I verified it
Passed all mclag UT and also verfied on the Innovium TL7 platform.

Details if related

… hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event.

Signed-off-by: Julian Chang - TW (HW3) <julianc@supermicro.com.tw>
@puffc puffc requested a review from prsunny as a code owner June 5, 2023 09:39
@puffc
Copy link
Copy Markdown
Contributor Author

puffc commented Jun 6, 2023

@prsunny Would you please review this commit?

@prsunny prsunny requested review from dgsudharsan and gechiang June 15, 2023 20:34
@gechiang
Copy link
Copy Markdown
Contributor

@Praveen-Brcm , @adyeung , can someone from BRCM team take a look at this change?
Thanks!

@puffc
Copy link
Copy Markdown
Contributor Author

puffc commented Jun 22, 2023

@gechiang Would you please review and merge this PR?

@gechiang gechiang merged commit 7fe76e0 into sonic-net:master Jun 22, 2023
@puffc puffc deleted the puffc_remote_to_local_ageout_fix branch June 26, 2023 01:39
theasianpianist pushed a commit to theasianpianist/sonic-swss that referenced this pull request Jul 20, 2023
… hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event. (sonic-net#2811)

Signed-off-by: Julian Chang - TW (HW3) <julianc@supermicro.com.tw>
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
… hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event. (sonic-net#2811)

Signed-off-by: Julian Chang - TW (HW3) <julianc@supermicro.com.tw>
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.

[mclag] After receiving the SAI_FDB_EVENT_MOVE event, the MAC address, which was originally learned from a remote MCLAG peer, cannot be aged out.

3 participants