This patch set allows OVS to build with libxdp and newer libbpf.
It also enables AF_XDP support by default as long as all the
dependencies are available. Experimental status of the feature
is kept intact.
Only the last 2 patches are about enabling by default. The rest
of the set is general build, CI and documentation fixes.
Version 4:
* Rebased to fix conflicts with Travis CI removal.
Version 3:
* Added a patch to disable false-positive free-nonheap-object.
* Configuration changed to not link with libxdp if libpf
version is older than 0.7. This should fix builds in
distributions with known packaging issues (f35).
* Build with libbpf 0.7+ now requires libxdp.
* Added Acked-by from Eelco on a few patches.
Version 2:
* Changes re-ordered so enabling by default is at the very
end of a set.
* Added 'Fixes' tag to the first patch.
* Removed kernel build infrastructure from CI scripts.
* Added a patch for sparse to ignore a large memset in
the code instead of disabling a warning globally.
Ilya Maximets (8):
ci: Fix overriding OPTS provided from the yml.
netdev-afxdp: Disable -Wfree-nonheap-object on receive.
netdev-afxdp: Allow building with libxdp and newer libbpf.
netdev-afxdp: Hide too large memset from sparse.
github: Test AF_XDP build using libbpf instead of kernel sources.
Documentation/afxdp: Use packaged libbpf/libxdp for the build.
acinclude.m4: Build with AF_XDP support by default if possible.
rhel: Enable AF_XDP by default in Fedora builds.
.ci/linux-build.sh | 83 +-----------------------
.github/workflows/build-and-test.yml | 10 +--
Documentation/intro/install/afxdp.rst | 43 ++++---------
NEWS | 5 ++
acinclude.m4 | 92 ++++++++++++++++++---------
debian/rules | 25 +++++---
lib/automake.mk | 1 -
lib/libopenvswitch.pc.in | 2 +-
lib/netdev-afxdp-pool.c | 2 +
lib/netdev-afxdp-pool.h | 5 --
lib/netdev-afxdp.c | 55 +++++++++++++---
rhel/openvswitch-fedora.spec.in | 8 ++-
12 files changed, 151 insertions(+), 180 deletions(-)
--
2.38.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev