From 91700e866b46d79b7207be2109531817c4fe0619 Mon Sep 17 00:00:00 2001 From: laokz Date: Sun, 5 May 2024 06:30:21 +0000 Subject: [PATCH] riscv64: Remove unsupported rte_net_i40e for gazelle-pdump Driver i40e was not supported for RISC-V by this version. Remove it. Signed-off-by: laokz (cherry picked from commit 9162fedb33afb444fd6736a09eb25611c2c1c18d) --- dpdk.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dpdk.spec b/dpdk.spec index bbf7334..5abc046 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -10,7 +10,7 @@ Name: dpdk Version: 23.11 -Release: 14 +Release: 15 URL: http://dpdk.org Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz @@ -182,7 +182,7 @@ CFLAGS="$(echo %{optflags} -fcommon)" \ cd %{_vpath_builddir}/app/dpdk-pdump.p export GAZELLE_FLAGS="-lm -lpthread -lrt -lnuma" # Remove linking to i40e driver for LoongArch because it was not supported in this version -%ifarch loongarch64 +%ifarch loongarch64 riscv64 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" %else 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" @@ -257,6 +257,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko %endif %changelog +* Mon May 06 2024 laokz - 23.11-15 +- riscv64: Remove unsupported rte_net_i40e for gazelle-pdump + * Mon Apr 29 2024 huangdengdui - 23.11-14 Package the following example to dpdk-tools: dpdk-l3fwd, dpdk-l3fwd-power, dpdk-ethtool, dpdk-dma, dpdk-ptpclient -- Gitee