You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally when one uses link.AttachXDP the call will error out if there's an XDP program already bound to the interface (for example, if a program was pinned during previous execution)
Is there a way to make AttachXDP forcibly overwrite the attached program without having to unload it first?
Some network cards/drivers struggle and misbehave if you completely unload an XDP program and load in a new one under load (can cause the device to reset/hang etc), I'm thinking simply updating the program instead would lessen the impact during software updates.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Generally when one uses
link.AttachXDP
the call will error out if there's an XDP program already bound to the interface (for example, if a program was pinned during previous execution)Is there a way to make
AttachXDP
forcibly overwrite the attached program without having to unload it first?Some network cards/drivers struggle and misbehave if you completely unload an XDP program and load in a new one under load (can cause the device to reset/hang etc), I'm thinking simply updating the program instead would lessen the impact during software updates.
Beta Was this translation helpful? Give feedback.
All reactions