summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2022-12-22 01:06:22 +0100
committerIlya Maximets <i.maximets@ovn.org>2023-01-03 16:06:30 +0100
commit649dbc19ffc0acd050ad729b9052aba8c7fce090 (patch)
tree4be33c44c61afb61648d2dd96f981749cdf414a6 /.github
parentb17cadff1d3d060eb8b19aac8787b894d2e1c89a (diff)
downloadopenvswitch-649dbc19ffc0acd050ad729b9052aba8c7fce090.tar.gz
github: Test AF_XDP build using libbpf instead of kernel sources.
AF_XDP bits was removed from kernel's libbpf in 6.0. libbpf and libxdp are now primary way to build AF_XDP applications. Most of modern distributions are already packaging some version of libbpf, so it's better to test building with it instead of building old unsupported kernel tree. Ubuntu started packaging libxdp only in 22.10, so not using it for now. Kernel build infrastructure in CI scripts is not needed anymore. Removed. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-and-test.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 1949d1200..82675b973 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -8,14 +8,12 @@ jobs:
dependencies: |
automake libtool gcc bc libjemalloc2 libjemalloc-dev \
libssl-dev llvm-dev libelf-dev libnuma-dev libpcap-dev \
- ninja-build selinux-policy-dev
- AFXDP: ${{ matrix.afxdp }}
+ ninja-build selinux-policy-dev libbpf-dev
ASAN: ${{ matrix.asan }}
UBSAN: ${{ matrix.ubsan }}
CC: ${{ matrix.compiler }}
DPDK: ${{ matrix.dpdk }}
DPDK_SHARED: ${{ matrix.dpdk_shared }}
- KERNEL: ${{ matrix.kernel }}
LIBS: ${{ matrix.libs }}
M32: ${{ matrix.m32 }}
OPTS: ${{ matrix.opts }}
@@ -65,11 +63,9 @@ jobs:
libs: -ljemalloc
- compiler: gcc
- afxdp: afxdp
- kernel: 5.3
+ opts: --enable-afxdp
- compiler: clang
- afxdp: afxdp
- kernel: 5.3
+ opts: --enable-afxdp
- compiler: gcc
dpdk: dpdk