From 9740fe3fcd9732f9b68313253685b5b3df2c86f9 Mon Sep 17 00:00:00 2001 From: yangchen Date: Fri, 27 Sep 2024 15:55:57 +0800 Subject: [PATCH] af_xdp: build XDP_USE_SG and XDP_PKT_CONTD require kernel-headers --- dpdk.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dpdk.spec b/dpdk.spec index 508e433..b4d48cb 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,6 +1,6 @@ Name: dpdk Version: 21.11 -Release: 74 +Release: 75 Packager: packaging@6wind.com URL: http://dpdk.org %global source_version 21.11 @@ -532,6 +532,7 @@ BuildRequires: chrpath BuildRequires: groff-base BuildRequires: libibverbs BuildRequires: libbpf-devel libbpf +BuildRequires: kernel-headers %define kern_devel_ver %(uname -r) %define arch_type %(uname -m) @@ -674,6 +675,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko /usr/sbin/depmod %changelog +* Sun Sep 29 2024 yangchen - 21.11-75 + af_xdp: build XDP_USE_SG and XDP_PKT_CONTD require kernel-headers + * Sun Sep 29 2024 yangchen - 21.11-74 af_xdp: del XDP_USE_SG and XDP_PKT_CONTD definition -- Gitee