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

[libteam] Send LACP PDU as soon as we need them #2955

Merged
merged 1 commit into from
May 30, 2019

Conversation

pavel-shirshov
Copy link
Contributor

- What I did
I've fixed a bug in libteam LACP protocol implementation. According to the LACP standard LACP daemon must send LACP PDU packets with updates when the Actor’s state changes or when it is apparent from the Partner’s LACPDUs that the Partner does not know the Actor’s current state.
But current libteam implementation sends periodic updates only.

- How I did it
I've reverted following libteam patch: jpirko/libteam@b2de61b
and added actor state calculation right before the comparison what LACP partner thinks about the actor state.

- How to verify it
Build an image with it. Install on you DUT and put one of the remote LACP member interfaces down. Then raise it up and check what LACP packets are send by SONiC side. SONiC must send replies on every partner LACP PDU packets.

- Description for the changelog

[LACP] Send updates of the actor state immediately.

- A picture of a cute animal (not mandatory but encouraged)

@pavel-shirshov pavel-shirshov merged commit 3f4de49 into master May 30, 2019
@pavel-shirshov pavel-shirshov deleted the pavelsh/libteam_updates branch May 30, 2019 20:26
yxieca pushed a commit that referenced this pull request May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants