已开启
gazelle-pdump is acturally a rename of dpdk-pdump #692
Funda Wang创建于 2025年1月28日
gazelle-pdump is acturally a rename of dpdk-pdump #692
已开启
Funda Wang创建于 2025年1月28日
从refs/pull/692/head合入到master
共 1 个文件变更+7-16
Mdpdk.spec+7-16
@@ -11,7 +11,7 @@
11 11 
12Name: dpdk12Name: dpdk
13Version: 23.1113Version: 23.11
14-Release: 2614+Release: 27
15URL: http://dpdk.org15URL: http://dpdk.org
16Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz16Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
17 17 
@@ -212,23 +212,10 @@ CFLAGS="$(echo %{optflags} -fcommon)" \
212 212 
213%meson_build213%meson_build
214 214 
215-#build gazelle-pdump
216-cd %{_vpath_builddir}/app/dpdk-pdump.p
217-export GAZELLE_FLAGS="-lm -lpthread -lrt -lnuma"
218-# Remove linking to i40e driver for LoongArch because it was not supported in this version
219-%ifarch loongarch64 riscv64
220-export GAZELLE_LIBS="-lrte_pci -lrte_bus_pci -lrte_cmdline -lrte_hash -lrte_mempool -lrte_mempool_ring -lrte_timer -lrte_eal -lrte_gro -lrte_ring -lrte_mbuf -lrte_telemetry -lrte_net_ixgbe -lrte_kvargs -lrte_net_hinic -lrte_net_virtio -lrte_bus_vdev -lrte_net -lrte_rcu -lrte_ethdev -lrte_pdump -lrte_bpf -lrte_security -lrte_cryptodev -lrte_net_pcap -lrte_metrics"
221-%else
222-export GAZELLE_LIBS="-lrte_pci -lrte_bus_pci -lrte_cmdline -lrte_hash -lrte_mempool -lrte_mempool_ring -lrte_timer -lrte_eal -lrte_gro -lrte_ring -lrte_mbuf -lrte_telemetry -lrte_net_ixgbe -lrte_kvargs -lrte_net_hinic -lrte_net_i40e -lrte_net_virtio -lrte_bus_vdev -lrte_net -lrte_rcu -lrte_ethdev -lrte_pdump -lrte_bpf -lrte_security -lrte_cryptodev -lrte_net_pcap -lrte_metrics"
223-%endif
224-export SECURE_OPTIONS="-fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -Wall -Wl,-z,relro,-z,now,-z,noexecstack -Wtrampolines -fPIE -pie -fPIC -g"
225-gcc -o gazelle-pdump ${GAZELLE_FLAGS} ${SOCURE_OPTIONS} -L../../drivers -L../../lib ${GAZELLE_LIBS} pdump_main.c.o
226-cd -
227- 
228%install215%install
229%meson_install216%meson_install
230 217 
231-chrpath -d ./%{_vpath_builddir}/app/dpdk-pdump.p/gazelle-pdump218+chrpath -d ./%{_vpath_builddir}/app/dpdk-pdump
232%ifnarch sw_64219%ifnarch sw_64
233chrpath -d ./%{_vpath_builddir}/examples/dpdk-l3fwd220chrpath -d ./%{_vpath_builddir}/examples/dpdk-l3fwd
234%endif221%endif
@@ -237,7 +224,7 @@ chrpath -d ./%{_vpath_builddir}/examples/dpdk-ethtool
237chrpath -d ./%{_vpath_builddir}/examples/dpdk-dma224chrpath -d ./%{_vpath_builddir}/examples/dpdk-dma
238chrpath -d ./%{_vpath_builddir}/examples/dpdk-ptpclient225chrpath -d ./%{_vpath_builddir}/examples/dpdk-ptpclient
239 226 
240-cp ./%{_vpath_builddir}/app/dpdk-pdump.p/gazelle-pdump $RPM_BUILD_ROOT/%{_bindir}227+cp ./%{_vpath_builddir}/app/dpdk-pdump $RPM_BUILD_ROOT/%{_bindir}/gazelle-pdump
241%ifnarch sw_64228%ifnarch sw_64
242cp ./%{_vpath_builddir}/examples/dpdk-l3fwd $RPM_BUILD_ROOT/%{_bindir}229cp ./%{_vpath_builddir}/examples/dpdk-l3fwd $RPM_BUILD_ROOT/%{_bindir}
243%endif230%endif
@@ -307,6 +294,10 @@ fi
307/usr/sbin/depmod294/usr/sbin/depmod
308 295 
309%changelog296%changelog
297+* Tue Jan 28 2025 Funda Wang <fundawang@yeah.net> - 23.11-27
298+- gazelle-pdump is acturally a rename of dpdk-pdump, there is
299+ no need rebuilding it again
300+ 
310* Tue Dec 24 2024 jiangheng <jiangheng14@huawei.com> - 23.11-26301* Tue Dec 24 2024 jiangheng <jiangheng14@huawei.com> - 23.11-26
311- net/virtio: fix Rx checksum calculation302- net/virtio: fix Rx checksum calculation
312 303