-
Notifications
You must be signed in to change notification settings - Fork 133
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
How to attach same XDP program to multiple interfaces #385
Comments
My scenario is like this: a machine loaded with XDP programs acts as a gateway, while attaching XDP programs on two (or more)InterFaces to complete SNAT/DNAT operations |
This should be doable with libxdp (just attach the same xdp_prog
multiple times), but there's no support for it in the xdp-loader cli.
Not sure which you are after?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to simultaneously attach the same XDP program to multiple InterFaces.
In
libxdp
,xdp_program__attach
only can attach to one InterFace , if I use this function multi times, it will create multi Maps , but i want they use same Maps to interact with othersHow can i do it ?
The text was updated successfully, but these errors were encountered: