Resolves: bz 1545455

This commit is contained in:
Neil Horman 2018-02-26 14:00:08 -05:00 committed by Neil Horman
parent 19a0d9337f
commit 58b352af2d
4 changed files with 28 additions and 3 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/dpdk-17.05.tar.xz
/dpdk-17.08.tar.xz
/dpdk-17.11.tar.xz
/dpdk-18.02.tar.xz

12
dpdk-dpaa-build.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up ./app/test-pmd/Makefile.arm ./app/test-pmd/Makefile
--- ./app/test-pmd/Makefile.arm 2018-02-14 13:11:02.000000000 -0500
+++ ./app/test-pmd/Makefile 2018-02-26 12:01:02.999831933 -0500
@@ -45,7 +45,7 @@ LDLIBS += -lrte_pmd_bond
endif
ifeq ($(CONFIG_RTE_LIBRTE_DPAA_PMD),y)
-LDLIBS += -lrte_pmd_dpaa
+LDLIBS += -lrte_pmd_dpaa -lrte_bus_dpaa -lrte_mempool_dpaa
endif
ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y)

View File

@ -8,10 +8,11 @@
%bcond_with pdfdoc
Name: dpdk
Version: 17.11
Release: 4%{?dist}
Version: 18.02
Release: 1%{?dist}
URL: http://dpdk.org
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.xz
Patch0: dpdk-dpaa-build.patch
Summary: Set of libraries and drivers for fast packet processing
@ -119,6 +120,7 @@ as L2 and L3 forwarding.
%prep
%setup -q
%patch0 -p1
%build
# set up a method for modifying the resulting .config file
@ -169,6 +171,12 @@ setconf CONFIG_RTE_APP_EVENTDEV n
setconf CONFIG_RTE_LIBRTE_NFP_PMD y
%ifarch aarch64
setconf CONFIG_RTE_LIBRTE_DPAA_BUS y
setconf CONFIG_RTE_LIBRTE_DPAA_MEMPOOL y
setconf CONFIG_RTE_LIBRTE_DPAA_PMD y
%endif
%if %{with shared}
setconf CONFIG_RTE_BUILD_SHARED_LIB y
%endif
@ -232,6 +240,7 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%files
# BSD
%{_bindir}/testpmd
%{_bindir}/testbbdev
%{_bindir}/dpdk-procinfo
%if %{with shared}
%{_libdir}/*.so.*
@ -275,6 +284,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%endif
%changelog
* Mon Feb 19 2018 Neil Horman <nhorman@redhat.com> - 18.02-1
- update to latest upstream
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (dpdk-17.11.tar.xz) = 0b4dd3ce0dd2c57a0ab4dc8d8f7a27b914d418e48219eecfd6aad123af8ca64515b414385cb512aa5bc1fca6bda429841590f90fcc461821717deaa50545ca8d
SHA512 (dpdk-18.02.tar.xz) = 51695210a0358cf971fc9b4214d7b43a0d628bb5816ce8a4c6381a4f2b611b76493f015b93a2da469665f82ee9403a7ea7ebff2d2c7a7306b7376ace72baa082