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

Calico eBPF PPC64 support #8744

Open
astenmco opened this issue Apr 21, 2024 · 6 comments
Open

Calico eBPF PPC64 support #8744

astenmco opened this issue Apr 21, 2024 · 6 comments
Labels
area/bpf eBPF Dataplane issues kind/enhancement

Comments

@astenmco
Copy link

My cluster uses PPC64 nodes (alongside x86-64 nodes).
I wanted to enable eBPF in calico but saw in the docs that only x86-64 and arm64 are supported.

Would you consider adding PPC64 support ?

Thanks for the hard and excellent work !

@tomastigera tomastigera added kind/enhancement area/bpf eBPF Dataplane issues labels Apr 22, 2024
@tomastigera
Copy link
Contributor

@astenmco I do not see that happening any time soon, even though essentially the only real problem is that our ebpf platform expects little endian arch. Afaict PPC64 is unfortunately big. And since it is not quite the most common platform out there, our limited resources do not let us prioritize it. Obviously, we would be happy to review and help to push though any community contributed patches from someone who has access to the hardware 🤷‍♂️

@clnperez
Copy link

clnperez commented May 6, 2024

@astenmco just making sure -- but you're asking for BE (ppc64) support for Power?

@astenmco
Copy link
Author

astenmco commented May 14, 2024

@astenmco just making sure -- but you're asking for BE (ppc64) support for Power?

Yes, exactly.

@astenmco I do not see that happening any time soon, even though essentially the only real problem is that our ebpf platform expects little endian arch. Afaict PPC64 is unfortunately big. And since it is not quite the most common platform out there, our limited resources do not let us prioritize it. Obviously, we would be happy to review and help to push though any community contributed patches from someone who has access to the hardware 🤷‍♂️

Actually I am talking about IBM Power 9 and 10 CPUs that runs little-endian Linux (in my case Ubuntu Server 22.04 PPC64le).
We do not have the skills to contribute to the code, but I can help with integration and debugging on our platform.

@tomastigera
Copy link
Contributor

As far as I can tell, the ebpf code should work OK on any LE architecture. We now support ebpf on arm64 LE without any major eng effort, but @hjiawei or @frozenprocess might know more about that an how difficult it would be to support ppc64. I think it is just a matter of inluding the ebpf objects with the ppc4 build and buillding ppc64 version of libbpf, so mosty packaging.

@hjiawei
Copy link
Contributor

hjiawei commented May 15, 2024

Nothing concrete yet but we should be able to update our toolchain (calico/go-build) and tune a few CFLAGS in felix Makefiles for ppc64le to start with.

@astenmco
Copy link
Author

Please let me know if there is anything I can do to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bpf eBPF Dataplane issues kind/enhancement
Projects
None yet
Development

No branches or pull requests

4 participants