From a8d789083b9f206e8a3dfebf8955a3e4a5cd30b4 Mon Sep 17 00:00:00 2001 From: Honggang LI Date: Thu, 23 Jun 2022 15:31:58 +0800 Subject: [PATCH 1/2] package up libdpdk-libs.pc and libdpdk.pc Those files are required to build pktgen. Signed-off-by: Honggang LI --- dpdk.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dpdk.spec b/dpdk.spec index 7c47656..df826e4 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -188,6 +188,8 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko /usr/local/include /usr/lib64/*.a /usr/lib64/dpdk/pmds-22.0/include/*.h +/usr/lib64/pkgconfig/libdpdk-libs.pc +/usr/lib64/pkgconfig/libdpdk.pc %files doc -- Gitee From 221eaefd71ec09f9aca1f25e80a5b7da69ed03f2 Mon Sep 17 00:00:00 2001 From: Honggang LI Date: Thu, 23 Jun 2022 15:51:08 +0800 Subject: [PATCH 2/2] Build mlx5 and mlx4 PMD We need mlx5 PMD to run gazelle over Mellanox connectx-6 device. Signed-off-by: Honggang LI --- dpdk.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/dpdk.spec b/dpdk.spec index df826e4..5abc13f 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -105,6 +105,7 @@ ExclusiveArch: i686 x86_64 aarch64 BuildRequires: meson ninja-build gcc diffutils python3-pyelftools python-pyelftools BuildRequires: kernel-devel numactl-devel BuildRequires: libpcap libpcap-devel +BuildRequires: rdma-core-devel BuildRequires: uname-build-checks BuildRequires: chrpath BuildRequires: groff-base -- Gitee