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

XDP prog replace/update #985

Open
cjcanbibi opened this issue Jun 18, 2024 · 0 comments
Open

XDP prog replace/update #985

cjcanbibi opened this issue Jun 18, 2024 · 0 comments

Comments

@cjcanbibi
Copy link

How can I use LinkSetXdpFdWithFlags so that I can force update or replace XDP programs that are already mounted on the network interface card? I tried to set the flag to 0, but the result was "file exists". I checked the relevant network information and noticed a similar flag called XDP_FLAGS_REPLACE, but I couldn't find its definition or reference in the netlink library. What's going on? Or LinkSetXdpFdWithFlags doesn't support forced replacement of XDP programs?
But I think that smooth upgrade is still very important in the production environment. So I need help in this regard, thank you!

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

1 participant