On 12/16/25 11:12 AM, Eelco Chaudron wrote: > > > On 15 Dec 2025, at 20:33, Ilya Maximets wrote: > >> Kernels with AF_XDP support below v5.4 are not supported and are not >> used in any major distributions. Using kernels that old with AF_XDP >> that was rapidly changing at the time is also not a good idea in >> general. Let's drop support for them. This allows to have the >> XDP_USE_NEED_WAKEUP flag to be always on, so we can simplify the code >> and stop guessing how many packets kernel can send in one go. >> >> The next milestone may be to require libxdp 1.2+ and kernel 5.18+, so >> we can simplify acinclude.m4 and avoid checking for bpf_xdp_detach and >> bpf_xdp_query_id API. But it feels a little bit too early for that, >> as it excludes Ubuntu 22.04, even if it's probably not a great idea >> to run AF_XDP there either. The gains from moving the pole to 5.18 >> are just a couple of checks in the code, so not doing that for now. >> >> Signed-off-by: Ilya Maximets <[email protected]> > > Thanks for taking care of this cleanup! The patch looks fine to me. > I did a quick test on my local machine, and basic forwarding seems > to work correctly. > > Acked-by: Eelco Chaudron <[email protected]>
Thanks, David and Eelco! Applied. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
