summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2022-12-22 01:06:25 +0100
committerIlya Maximets <i.maximets@ovn.org>2023-01-03 16:06:30 +0100
commit9736b971b519b725507116578d780d822755b2a6 (patch)
tree7d46c179dd02fe4e812e5867dca821fc62e3c879 /rhel
parente44e80343189fcb7ec10d776f1b62747d7095c18 (diff)
downloadopenvswitch-9736b971b519b725507116578d780d822755b2a6.tar.gz
rhel: Enable AF_XDP by default in Fedora builds.
All supported versions of Fedora do package libxdp and libbpf, so it makes sense to enable AF_XDP support. Control files for debian packaging are much less flexible, so its hard to enable AF_XDP builds while not breaking builds for version of Ubuntu and Debian that do not package libbpf or libxdp. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'rhel')
-rw-r--r--rhel/openvswitch-fedora.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 3091e204e..44899c1ca 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -26,8 +26,8 @@
%bcond_without libcapng
# To enable DPDK support, specify '--with dpdk' when building
%bcond_with dpdk
-# To enable AF_XDP support, specify '--with afxdp' when building
-%bcond_with afxdp
+# To disable AF_XDP support, specify '--without afxdp' when building
+%bcond_without afxdp
# If there is a need to automatically enable the package after installation,
# specify the "--with autoenable"