Re: [ovs-dev] [PATCH 2/3] netdev-afxdp: Avoid removing of XDP program if not loaded.

2019-12-09 Thread William Tu
On Sat, Dec 07, 2019 at 03:46:17PM +0100, Ilya Maximets wrote: > 'bpf_set_link_xdp_fd' generates netlink event regardless of actual > changes it does, so if-notifier will receive link update even if > there was no XDP program previously loaded on the interface. > > OVS tries to remove XDP program

[ovs-dev] [PATCH 2/3] netdev-afxdp: Avoid removing of XDP program if not loaded.

2019-12-07 Thread Ilya Maximets
'bpf_set_link_xdp_fd' generates netlink event regardless of actual changes it does, so if-notifier will receive link update even if there was no XDP program previously loaded on the interface. OVS tries to remove XDP program if device configuration was not successful triggering if-notifier that