已开启
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
已开启
从refs/pull/692/head合入到master
共 1 个文件变更+7-16
| @@ -11,7 +11,7 @@ | |||
| 11 | 11 | ||
| 12 | Name: dpdk | 12 | Name: dpdk |
| 13 | Version: 23.11 | 13 | Version: 23.11 |
| 14 | -Release: 26 | 14 | +Release: 27 |
| 15 | URL: http://dpdk.org | 15 | URL: http://dpdk.org |
| 16 | Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz | 16 | Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz |
| 17 | 17 | ||
| @@ -212,23 +212,10 @@ CFLAGS="$(echo %{optflags} -fcommon)" \ | |||
| 212 | 212 | ||
| 213 | %meson_build | 213 | %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 | %install | 215 | %install |
| 229 | %meson_install | 216 | %meson_install |
| 230 | 217 | ||
| 231 | -chrpath -d ./%{_vpath_builddir}/app/dpdk-pdump.p/gazelle-pdump | 218 | +chrpath -d ./%{_vpath_builddir}/app/dpdk-pdump |
| 232 | %ifnarch sw_64 | 219 | %ifnarch sw_64 |
| 233 | chrpath -d ./%{_vpath_builddir}/examples/dpdk-l3fwd | 220 | chrpath -d ./%{_vpath_builddir}/examples/dpdk-l3fwd |
| 234 | %endif | 221 | %endif |
| @@ -237,7 +224,7 @@ chrpath -d ./%{_vpath_builddir}/examples/dpdk-ethtool | |||
| 237 | chrpath -d ./%{_vpath_builddir}/examples/dpdk-dma | 224 | chrpath -d ./%{_vpath_builddir}/examples/dpdk-dma |
| 238 | chrpath -d ./%{_vpath_builddir}/examples/dpdk-ptpclient | 225 | chrpath -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_64 | 228 | %ifnarch sw_64 |
| 242 | cp ./%{_vpath_builddir}/examples/dpdk-l3fwd $RPM_BUILD_ROOT/%{_bindir} | 229 | cp ./%{_vpath_builddir}/examples/dpdk-l3fwd $RPM_BUILD_ROOT/%{_bindir} |
| 243 | %endif | 230 | %endif |
| @@ -307,6 +294,10 @@ fi | |||
| 307 | /usr/sbin/depmod | 294 | /usr/sbin/depmod |
| 308 | 295 | ||
| 309 | %changelog | 296 | %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-26 | 301 | * Tue Dec 24 2024 jiangheng <jiangheng14@huawei.com> - 23.11-26 |
| 311 | - net/virtio: fix Rx checksum calculation | 302 | - net/virtio: fix Rx checksum calculation |
| 312 | 303 | ||