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

lacp not implemented #140

Open
linqingxuan opened this issue Nov 26, 2024 · 9 comments
Open

lacp not implemented #140

linqingxuan opened this issue Nov 26, 2024 · 9 comments

Comments

@linqingxuan
Copy link
Contributor

I found that lacp is not implemented on the vpp platform. How to implement teamd with vpp

@linqingxuan linqingxuan changed the title Lacp méiyǒu shíxiàn 8 / 5,000 lacp not implemented lacp not implemented Nov 26, 2024
@yue-fred-gao
Copy link
Contributor

LACP is tricky to support. SONIC implements LACP in control plane but vpp implements it in data plane. It doesn't punt LACP packets so SONIC will see LAG interface down because it is not receiving LACP packets. There is also complication involved the host path from vpp to kernel interface. @AkeelAli is investigating it.

@linqingxuan
Copy link
Contributor Author

I have also investigated this lacp problem recently. Now I feel that sonic needs to be modified less. The vpp plug-in to implement the new bond mainly has two aspects: 1. Support sai control up and down, 2. lacp message is sent to the physically mapped tap. But I just started to try to write this plug-in recently.

@linqingxuan
Copy link
Contributor Author

Hello @AkeelAli , I hope to help you in the lacp research and complete it together.

@AkeelAli
Copy link
Contributor

Hi @linqingxuan, we had a code-a-thon last week during which I was able to bring-up the PortChannel in sonic with LACP and ping between the interfaces. I had to modify the vpp linux-cp plugin to punt/inject lacp packets + modify SAI for IP config and forward packets from tap to PortChannel. Currently in prototype version, I intend to work on refining it in coming days.

@yue-fred-gao
Copy link
Contributor

Hi @AkeelAli, it is great you got it working. I think it might be a good idea to write a HLD about your approach. We can get some input from community, which may help in the final solution.

@AkeelAli
Copy link
Contributor

Sounds good, I will start an HLD to document this prototype version and raise a PR.

@bendrapubalareddy
Copy link
Contributor

bendrapubalareddy commented Dec 16, 2024 via email

@AkeelAli
Copy link
Contributor

AkeelAli commented Dec 16, 2024

@bendrapubalareddy Yes agreed. The LACP changes build on top of #91 so I think it can be committed. I will approve from my side. Note: I had to adapt them to latest as there were conflicts.

@AkeelAli
Copy link
Contributor

Hi @linqingxuan, I added the current LACP design details in #146. Will be adding to this PR as I continue my work. Please let me know how you would like to contribute.

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

No branches or pull requests

4 participants