-
Hi, Generally when one uses l, err := link.AttachXDP(link.XDPOptions{
Program: objs.Filter,
Interface: iface.Index,
Flags: link.XDPDriverMode,
})
// err => failed to attach link: create link: file exist Is there a way to make 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.
Replies: 1 comment 2 replies
-
With (*RawLink) Update(..) you should be able to update the eBPF program for an existing link.
|
Beta Was this translation helpful? Give feedback.
With (*RawLink) Update(..) you should be able to update the eBPF program for an existing link.