summaryrefslogtreecommitdiffstats
path: root/build/dpdk-snap/dpdk.spec
diff options
context:
space:
mode:
Diffstat (limited to 'build/dpdk-snap/dpdk.spec')
-rw-r--r--build/dpdk-snap/dpdk.spec709
1 files changed, 214 insertions, 495 deletions
diff --git a/build/dpdk-snap/dpdk.spec b/build/dpdk-snap/dpdk.spec
index 72f0b70..c140654 100644
--- a/build/dpdk-snap/dpdk.spec
+++ b/build/dpdk-snap/dpdk.spec
@@ -12,15 +12,16 @@
%define srcver %{ver}%{?_snapver:.%{_snapver}}
+# Add option to build the PDF documentation separately (--with pdfdoc)
+%bcond_with pdfdoc
+
Name: dpdk
Version: %{ver}
-Release: %{?_snapver:%{_snapver}.}%{rel}%{?dist}
+Release:%{?_snapver:%{_snapver}.}%{rel}%{?dist}
+Epoch: 2
URL: http://dpdk.org
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{srcver}.tar.gz
-# Only needed for creating snapshot tarballs, not used in build itself
-Source100: dpdk-snapshot.sh
-
Summary: Set of libraries and drivers for fast packet processing
#
@@ -32,31 +33,54 @@ License: BSD and LGPLv2 and GPLv2
#
# The DPDK is designed to optimize througput of network traffic using, among
-# other techniques, carefully crafted x86 assembly instructions. As such it
-# currently (and likely never will) run on non-x86 platforms.
-ExclusiveArch: x86_64 i686
+# other techniques, carefully crafted assembly instructions. As such it
+# needs extensive work to port it to other architectures.
+#
+ExclusiveArch: x86_64 i686 aarch64 ppc64le
# machine_arch maps between rpm and dpdk arch name, often same as _target_cpu
-%define machine_arch %{_target_cpu}
# machine_tmpl is the config template machine name, often "native"
-%define machine_tmpl native
# machine is the actual machine name used in the dpdk make system
%ifarch x86_64
+%define machine_arch x86_64
+%define machine_tmpl native
%define machine default
%endif
%ifarch i686
-%define machine atm
+%define machine_arch i686
+%define machine_tmpl native
+%define machine default
+%endif
+%ifarch aarch64
+%define machine_arch arm64
+%define machine_tmpl armv8a
+%define machine armv8a
+%endif
+%ifarch ppc64le
+%define machine_arch ppc_64
+%define machine_tmpl power8
+%define machine power8
%endif
-%define target %{machine_arch}-%{machine_tmpl}-linuxapp-gcc
-%define sdkdir %{_datadir}/%{name}
-%define docdir %{_docdir}/%{name}
-%define incdir %{_includedir}/%{name}
-%define pmddir %{_libdir}/%{name}-pmds
+%define target %{machine_arch}-%{machine_tmpl}-linuxapp-gcc
-BuildRequires: kernel-headers, libpcap-devel, zlib-devel, numactl-devel
-BuildRequires: doxygen, python-sphinx, git
+BuildRequires: gcc
+BuildRequires: kernel-headers, libpcap-devel, doxygen, zlib-devel
+%if 0%{?fedora} >= 25
+BuildRequires: python3-sphinx
+%else
+BuildRequires: python-sphinx
+%endif
+BuildRequires: numactl-devel
+%if %{with pdfdoc}
+BuildRequires: texlive-dejavu inkscape texlive-latex-bin-bin
+BuildRequires: texlive-kpathsea-bin texlive-metafont-bin texlive-cm
+BuildRequires: texlive-cmap texlive-ec texlive-babel-english
+BuildRequires: texlive-fancyhdr texlive-fancybox texlive-titlesec BuildRequires: texlive-framed texlive-threeparttable texlive-mdwtools
+BuildRequires: texlive-wrapfig texlive-parskip texlive-upquote texlive-multirow
+BuildRequires: texlive-helvetic texlive-times texlive-dvips
+%endif
%description
The Data Plane Development Kit is a set of libraries and drivers for
@@ -64,9 +88,9 @@ fast packet processing in the user space.
%package devel
Summary: Data Plane Development Kit development files
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%if ! %{with shared}
-Provides: %{name}-static = %{version}-%{release}
+Provides: %{name}-static = %{epoch}:%{version}-%{release}
%endif
%description devel
@@ -83,8 +107,12 @@ API programming documentation for the Data Plane Development Kit.
%if %{with tools}
%package tools
Summary: Tools for setting up Data Plane Development Kit environment
+Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: kmod pciutils findutils iproute
+%if 0%{?fedora} >= 25
+Requires: python3-pyelftools
+%endif
%description tools
%{summary}
%endif
@@ -99,54 +127,79 @@ Example applications utilizing the Data Plane Development Kit, such
as L2 and L3 forwarding.
%endif
+%define sdkdir %{_datadir}/%{name}
+%define docdir %{_docdir}/%{name}
+%define incdir %{_includedir}/%{name}
+%define pmddir %{_libdir}/%{name}-pmds
+
%prep
-%autosetup -n %{name}-%{srcver} -S git_am
+%setup -q -n dpdk-%{version}
+#%patch0 -p1
%build
-function setconf()
-{
- cf=%{target}/.config
- if grep -q ^$1= $cf; then
- sed -i "s:^$1=.*$:$1=$2:g" $cf
- else
- echo $1=$2 >> $cf
- fi
+# set up a method for modifying the resulting .config file
+function setconf() {
+ if grep -q ^$1= %{target}/.config; then
+ sed -i "s:^$1=.*$:$1=$2:g" %{target}/.config
+ else
+ echo $1=$2 >> %{target}/.config
+ fi
}
-# In case dpdk-devel is installed
+
+# In case dpdk-devel is installed, we should ignore its hints about the SDK directories
unset RTE_SDK RTE_INCLUDE RTE_TARGET
+# Note: _hardening_ldflags has to go on the extra cflags line because dpdk is
+# astoundingly convoluted in how it processes its linker flags. Fixing it in
+# dpdk is the preferred solution, but adjusting to allow a gcc option in the
+# ldflags, even when gcc is used as the linker, requires large tree-wide changes
+export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC %{_hardening_ldflags}"
+export EXTRA_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-Wl,//g' -e's/-spec.*//')
+export HOST_EXTRA_CFLAGS=$EXTRA_CFLAGS
+export EXTRA_HOST_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-spec.*//')
+
+# DPDK defaults to using builder-specific compiler flags. However,
+# the config has been changed by specifying CONFIG_RTE_MACHINE=default
+# in order to build for a more generic host. NOTE: It is possible that
+# the compiler flags used still won't work for all Fedora-supported
+# machines, but runtime checks in DPDK will catch those situations.
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
-# DPDK defaults to optimizing for the builder host we need generic binaries
setconf CONFIG_RTE_MACHINE '"%{machine}"'
-setconf CONFIG_RTE_SCHED_VECTOR n
+# Disable experimental features
+setconf CONFIG_RTE_NEXT_ABI n
+setconf CONFIG_RTE_LIBRTE_MBUF_OFFLOAD n
+# Disable unmaintained features
+setconf CONFIG_RTE_LIBRTE_POWER n
# Enable automatic driver loading from this path
setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"'
-# Enable bnx2x, qede, pcap and vhost-numa, the added deps are ok for us
setconf CONFIG_RTE_LIBRTE_BNX2X_PMD y
-setconf CONFIG_RTE_LIBRTE_QEDE_PMD y
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y
-%if %{with shared}
-setconf CONFIG_RTE_BUILD_SHARED_LIB y
-%endif
-
-# Disable kernel modules
setconf CONFIG_RTE_EAL_IGB_UIO n
setconf CONFIG_RTE_LIBRTE_KNI n
setconf CONFIG_RTE_KNI_KMOD n
+setconf CONFIG_RTE_KNI_PREEMPT_DEFAULT n
-# Disable experimental and ABI-breaking code
-setconf CONFIG_RTE_NEXT_ABI n
-setconf CONFIG_RTE_LIBRTE_POWER n
+setconf CONFIG_RTE_APP_EVENTDEV n
-make V=1 O=%{target} %{?_smp_mflags}
+setconf CONFIG_RTE_LIBRTE_NFP_PMD y
-# Creating PDF's has excessive build-requirements, html docs suffice fine
-make V=1 O=%{target} %{?_smp_mflags} doc-api-html doc-guides-html
+%ifarch aarch64
+setconf CONFIG_RTE_LIBRTE_DPAA_BUS n
+setconf CONFIG_RTE_LIBRTE_DPAA_MEMPOOL n
+setconf CONFIG_RTE_LIBRTE_DPAA_PMD n
+%endif
+
+%if %{with shared}
+setconf CONFIG_RTE_BUILD_SHARED_LIB y
+%endif
+
+make V=1 O=%{target} %{?_smp_mflags} -Wimplicit-fallthrough=0
+make V=1 O=%{target} %{?_smp_mflags} doc-api-html doc-guides-html %{?with_pdfdoc: guides-pdf}
%if %{with examples}
make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
@@ -158,31 +211,34 @@ unset RTE_SDK RTE_INCLUDE RTE_TARGET
%make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
-# Create a driver directory with symlinks to all pmds
-mkdir -p %{buildroot}/%{pmddir}
-%if %{with shared}
-for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
- bn=$(basename ${f})
- ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
-done
-%endif
-
%if ! %{with tools}
rm -rf %{buildroot}%{sdkdir}/usertools
-rm -rf %{buildroot}%{_sbindir}/dpdk-devbind
+rm -rf %{buildroot}%{_sbindir}/dpdk_nic_bind
+rm -rf %{buildroot}%{_bindir}/dpdk-test-crypto-perf
%endif
-rm -f %{buildroot}%{sdkdir}/usertools/setup.sh
+rm -f %{buildroot}%{sdkdir}/usertools/dpdk-setup.sh
%if %{with examples}
find %{target}/examples/ -name "*.map" | xargs rm -f
for f in %{target}/examples/*/%{target}/app/*; do
bn=`basename ${f}`
- cp -p ${f} %{buildroot}%{_bindir}/${bn}
+ cp -p ${f} %{buildroot}%{_bindir}/dpdk_example_${bn}
done
-%else
-rm -rf %{buildroot}%{sdkdir}/examples
%endif
+%if 0%{?fedora} >= 25
+# Replace /usr/bin/env python with /usr/bin/python3
+find %{buildroot}%{sdkdir}/ -name "*.py" -exec \
+ sed -i -e 's|#!\s*/usr/bin/env python|#!/usr/bin/python3|' {} +
+%endif
+
+# Create a driver directory with symlinks to all pmds
+mkdir -p %{buildroot}/%{pmddir}
+for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
+ bn=$(basename ${f})
+ ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
+done
+
# Setup RTE_SDK environment as expected by apps etc
mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.sh
@@ -206,13 +262,11 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%files
# BSD
-%doc README MAINTAINERS
%{_bindir}/testpmd
%{_bindir}/dpdk-procinfo
-%dir %{pmddir}
%if %{with shared}
%{_libdir}/*.so.*
-%{pmddir}/*.so.*
+%{pmddir}/
%endif
%files doc
@@ -222,7 +276,7 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%files devel
#BSD
%{incdir}/
-%{sdkdir}/
+%{sdkdir}
%if %{with tools}
%exclude %{sdkdir}/usertools/
%endif
@@ -230,487 +284,151 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%exclude %{sdkdir}/examples/
%endif
%{_sysconfdir}/profile.d/dpdk-sdk-*.*
-%if %{with shared}
-%{_libdir}/*.so
-%else
+%if ! %{with shared}
%{_libdir}/*.a
-%endif
-
-%if %{with examples}
-%files examples
-%exclude %{_bindir}/dpdk-procinfo
-%{_bindir}/*
-%doc %{sdkdir}/examples/
+%else
+%{_libdir}/*.so
%endif
%if %{with tools}
%files tools
%{sdkdir}/usertools/
%{_sbindir}/dpdk-devbind
+%{_bindir}/dpdk-pdump
+%{_bindir}/dpdk-pmdinfo
+%{_bindir}/dpdk-test-crypto-perf
%endif
-%changelog
-* Wed Jul 26 2017 Thomas F Herbert <therbert@tedhat.com> 17.08
-- Build 17.05, 17.08-rc1 and 17.08-rc2
-
-* Mon Feb 27 2017 Thomas F Herbert <therbert@tedhat.com> 17.02.0-1
-- New usertools dir. Remove override of default gcc flags.
-
-* Fri Jan 13 2017 Thomas F Herbert <therbert@tedhat.com> 16.11.0-6
-- Applies virtio driver patch to 16.11
-
-* Fri Dec 30 2016 Thomas F Herbert <therbert@tedhat.com> 16.11.0-5
-- Builds 16.07 and 16.11
+%if %{with examples}
+%files examples
+%{_bindir}/dpdk_example_*
+%doc %{sdkdir}/examples
+%endif
-* Tue May 24 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.4
-- Create DT_NEEDED entries for internal library dependencies
-- Fix missing zlib dependency on qede driver
+%changelog
+* Mon Jun 4 2018 Thomas F Herbert <therbert@redhat.com> - 17.11.2-2
+- Backport changes from Fedora 28 17.11.2-1.f28
+- Remove dependency on Python3 for Centos
-* Tue May 24 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.3
-- Enable crypto library + null driver, it is no longer experimental in 16.04
+* Tue Apr 24 2018 Neil Horman <nhorman@redhat.com> - 2:17.11.2-1
+- Update to latest 17.11 LTS (fixes bz 1571352)
-* Fri May 20 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.2
-- Workaround #1337864
+* Tue Apr 10 2018 Timothy Redaelli <tredaelli@redhat.com> - 2:17.11.1-2
+- Fix Requires dpdk by adding epoch (bz 1564215)
-* Fri May 20 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.1
-- New snapshot
+* Mon Apr 09 2018 Neil Horman <nhorman@redhat.com> - 17.11.1-1
+- sync rawhide updates (including LTS shift) with f28 (bz 1564215)
-* Tue May 17 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4518.git213af31e.1
-- New snapshot
+* Thu Apr 05 2018 Neil Horman <nhorman@redhat.com> - 18.02-6
+- Remove some debug checks (bz 1548404)
-* Wed May 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4499.gita5e20775.1
-- New snapshot
+* Thu Apr 05 2018 Neil Horman <nhorman@redhat.com> - 18.02-5
+- Fix compiler flag error (bz 1548404)
-* Tue May 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4481.gitdb340cf2.2
-- Fix build with gcc >= 6.0
+* Tue Mar 20 2018 Neil Horman <nhorman@redhat.com> - 18.02-4
+- Update ldflags (bz 1548404)
+- bump release to keep it in line with rawhide
-* Tue May 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4481.gitdb340cf2.1
-- New snapshot
+* Fri Mar 02 2018 Neil Horman <nhorman@redhat.com> - 18.02-2
+- update to latest upstream (bz 1550708)
-* Wed Apr 27 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4433.gitd9ba0b2c.1
-- New 16.07-based snapshot
-- Drop the trailing zero from version for good
-- Add missing DT_NEEDED on librte_vhost to vhost pmd
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.11-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-* Tue Apr 26 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-2
-- Get rid of the fedora-specific patch, -Wformat in CFLAGS is a nicer solution
-- Switch to %autosetup to reduce fiddling with eventual patches
-- Buildrequire git for patch application
-- Upstream patch to fix segfault on virtio tx
+* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 17.11-3
+- Update Python 2 dependency declarations to new packaging standards
+ (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
-* Wed Apr 13 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-1
-- Oops, bring back trailing zero, needed for rpm version compare...
+* Thu Nov 30 2017 Neil Horman <nhorman@redhat.com> - 17.11-2
+- Fix dangling symlinks (bz 1519322)
+- Fix devtools->usertools conversion (bz 1519332)
+- Fix python-pyelftools requirement (bz 1519336)
-* Tue Apr 12 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04-1
-- Update to 16.04 final
-- Drop extra zero from version
+* Thu Nov 16 2017 Neil Horman <nhorman@redhat.com> - 17.11-1
+- Update to latest upstream
-* Fri Apr 08 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4398.gitc0f81e90.1
-- New snapshot (16.04.0-rc4)
+* Wed Aug 09 2017 Neil Horman <nhorman@redhat.com> - 17.08-1
+- Update to latest upstream
-* Thu Apr 07 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4370.gitb7d65109.1
-- New snapshot
-- Re-enable vhost numa support (fixed in rc1 already)
+* Mon Jul 31 2017 Neil Horman <nhorman@redhat.com> - 17.05-2
+- backport rte_eth_tx_done_cleanup map fix (#1476341)
-* Mon Apr 04 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4339.gitf887a6f8.1
-- New snapshot (16.04.0-rc3)
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.05-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-* Fri Apr 01 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4316.git4410efd3.1
-- New snapshot
+* Mon May 15 2017 Neil Horman <nhorman@redhat.com> - 17.05-1
+- Update to latest upstream
-* Thu Mar 31 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4281.git5bcd7b5d.1
-- New snapshot
+* Fri Feb 24 2017 Neil Horman <nhorman@redhat.com> - 17-02-2
+- Add python dependency (#1426561)
-* Tue Mar 29 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4273.git6ac91f93.1
-- New snapshot (16.04.0-rc2)
+* Wed Feb 15 2017 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 17.02-1
+- Update to 17.02 (#1422285)
-* Wed Mar 23 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4194.git281948b4.1
-- New snapshot
+* Mon Feb 06 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 16.11-2
+- Enable aarch64, ppc64le (#1419731)
-* Thu Mar 17 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3984.git6b5a857f.1
-- New snapshot (16.04.0-rc1)
+* Tue Nov 15 2016 Neil Horman <nhorman@redhat.com> - 16.11-1
+- Update to 16.11
-* Wed Mar 16 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3984.git6b5a857f.2
-- Switch to ifarch-based solution for target/machine etc afterall
+* Tue Aug 02 2016 Neil Horman <nhorman@redhat.com> - 16.07-1
+* Update to 16.07
-* Mon Mar 14 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3984.git6b5a857f.1
-- New snapshot
-- Drop upstreamed dtneeded patch
+* Thu Apr 14 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04-1
+- Update to 16.04
+- Drop all patches, they're not needed anymore
+- Drop linker script generation, its upstream now
+- Enable vhost numa support again
-* Fri Mar 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3934.git94b0ad8e.2
+* Wed Mar 16 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-7
- vhost numa code causes crashes, disable until upstream fixes
+- Generalize target/machine/etc macros to enable i686 builds
-* Fri Mar 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3934.git94b0ad8e.1
-- New snapshot
-- Generalize target/machine/etc macros to enable i686 builds too
-
-* Thu Mar 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3914.git4c387fcd.2
-- Drop no longer needed -fno-strict-aliasing
-
-* Thu Mar 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3914.git4c387fcd.1
-- New snapshot
-
-* Mon Mar 07 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3875.git8f6f2434.1
-- New snapshot
-
-* Thu Mar 03 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3860.gitf4730aa6.1
-- New snapshot
-- Drop ip_pipeline buildopts patch, should be fixed upstream for some time now
-- Drop no longer needed -Wno-error
-
-* Wed Mar 02 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3853.git948fd64b.1
-- New snapshot
-- Adapt to upstream accepting the linker script approach, yay
-
-* Tue Mar 01 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3850.git9ec201f5.1
-- New snapshot
-
-* Mon Feb 29 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3843.gita3af38a1.1
-- New snapshot
-
-* Thu Feb 18 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3809.git9fd72e3c.1
-- New snapshot
-- Temporarily disable strict aliasing to appease gcc 6
-- Enable parallel build again
-
-* Mon Feb 15 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3790.git5fa83b53.2
+* Tue Mar 01 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-6
+- Drop no longer needed bnx2x patch, the gcc false positive has been fixed
+- Drop no longer needed -Wno-error=array-bounds from CFLAGS
+- Eliminate the need for the enic patch by eliminating second -Wall from CFLAGS
- Disable unmaintained librte_power as per upstream recommendation
-* Fri Feb 12 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3790.git5fa83b53.1
-- New snapshot
-
-* Thu Feb 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3783.git50810f09.2
-- Temporarily disable -Werror due to many new warnings from gcc 6
-
-* Thu Feb 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3783.git50810f09.1
-- New snapshot, with new upstream versioning scheme
+* Mon Feb 15 2016 Neil Horman <nhorman@redhat.com> 2.2.0-5
+- Fix ftbfs isssue (1307431)
-* Fri Jan 29 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3759.gitdd34ff1f.1
-- New snapshot
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-* Thu Jan 28 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3757.git2593612d.1
-- New snapshot
-
-* Wed Jan 27 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3746.gitc7985de0.1
-- New snapshot
+* Tue Jan 26 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-3
- Use a different quoting method to avoid messing up vim syntax highlighting
- A string is expected as CONFIG_RTE_MACHINE value, quote it too
-* Tue Jan 19 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3742.gitff82e08a.2
+* Mon Jan 25 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-2
- Enable librte_vhost NUMA-awareness
-* Mon Jan 18 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3742.gitff82e08a.1
-- New snapshot
-
-* Wed Jan 13 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3725.git3b60ce8c.3
-- Fix extra junk being generated in profile.d
-- Never include setup.sh
-
-* Thu Jan 07 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3725.git3b60ce8c.2
-- Make option matching stricter in spec setconf
-
-* Fri Dec 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3725.git3b60ce8c.1
-- New 2.3-pre snapshot
-
-* Wed Dec 16 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-1
-- Update to DPDK 2.2.0 final
-
-* Tue Dec 15 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3711.git728c9e54-1
-- New snapshot
-
-* Mon Dec 14 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3688.gitbc31261c-2
-- Fixup target machine mismatch in profile.d environment
-- Fixup installed dpdk-devel affecting "make install" result
-- Add README and MAINTAINERS docs
-
-* Mon Dec 14 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3688.gitbc31261c-1
-- New snapshot (2.2.0-rc4)
-
-* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-4
-- Fix relpath.sh bug causing broken symlinks
-
-* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-3
-- Adopt new upstream standard installation layout
-
-* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-2
-- Define + use a local macro for include dir location
-- Group our directory macros together
-- Fix static (ie --without shared) build
-
-* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-1
-- New snapshot
-
-* Thu Dec 10 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3624.git1befe9ca-1
-- New snapshot
-- More complete dtneeded patch which should fixes build on rawhide
-
-* Tue Dec 08 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3614.git2616f497-1
-- New snapshot (2.2.0-rc3)
-
-* Mon Dec 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3593.git3f3d6010-1
-- New snapshot with fixed ip_pipeline
-
-* Mon Dec 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3592.git13318bbb-1
-- New snapshot
-- ip_pipeline example is broken, disable temporarily
-- upstream introduced new complications wrt our warning flags, adjust patches...
-
-* Mon Nov 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3504.git538020aa
-- New snapshot
-
-* Thu Nov 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3496.git84fb2e67.1
-- New snapshot (2.2.0-rc2)
-- Disable experimental cryptodev library
-
-* Wed Nov 25 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3463.git61383240.1
-- New snapshot
-- Disable CONFIG_RTE_SCHED_VECTOR, it conflicts with CONFIG_RTE_MACHINE default
-
-* Tue Nov 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3424.git4522eca1.1
-- New snapshot
-
-* Fri Nov 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3399.gite64833f2.1
-- New snapshot
-
-* Thu Nov 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3394.git4c02e453.1
-- New snapshot
-
-* Wed Nov 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3371.git2d123257.3
-- Make driver links to the actual pmd dso's, not their -devel symlinks
-
-* Wed Nov 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3371.git2d123257.2
-- Make plugin loading filesystem agnostic, sigh
-- Fix missing symbol export
-
-* Mon Nov 16 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3371.git2d123257.1
-- New snapshot
-
-* Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3329.git695ae278.1
-- New snapshot
-- Move the unversioned pmd symlinks from libdir -devel
+* Wed Jan 20 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-1
+- Update to 2.2.0
- Establish a driver directory for automatic driver loading
+- Move the unversioned pmd symlinks from libdir -devel
+- Make option matching stricter in spec setconf
+- Spec cleanups
+- Adopt upstream standard installation layout
-* Wed Nov 04 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3321.gitc4d404d7.1
-- New snapshot (2.2.0-rc1)
-
-* Wed Nov 04 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3306.git4b90a3ff.1
-- New snapshot
-- Drop librte_kni afterall, makes no sense without the kernel module
-- Drop main package dependency from -tools, its not strictly needed
-
-* Mon Nov 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3216.gitab3257e1.1
-- New snapshot
-
-* Fri Oct 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3141.git92e689ce.1
-- New snapshot
-- Fix vhost-user segfault with multiqueue
-
-* Wed Oct 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3111.git4c8db5f0.1
-- New snapshot
-
-* Tue Oct 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3076.git19d4d7ef.1
-- New snapshot
-
-* Mon Oct 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3064.gitfaefe229.1
-- New snapshot
-
-* Wed Oct 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3049.gitce8e1218.1
-- New snapshot
-- Enable bnx2x pmd, which buildrequires zlib-devel
-
-* Tue Sep 29 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.2955.git9702b2b5.3
-- Oops, rename our linker script to match current upstream
-
-* Mon Sep 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.2955.git9702b2b5
-- New snapshot
-- Make lib and include available both ways in the SDK paths
-
-* Mon Sep 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.2947.gitc36a82f0
-- New snapshot
-
-* Tue Aug 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-1
-- Update to dpdk 2.1.0 final
-
-* Wed Aug 12 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2898.gitf1e779ec
-- New snapshot
-- Disable ABI_NEXT
-- Rebase patches as necessary
-- Fix build of ip_pipeline example
-- Drop no longer needed -Wno-error=array-bounds
-- Enable librte_kni build but disable the kernel module
-
-* Tue Jun 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2429.gitc6a0fb5f
-- New snapshot
-
-* Mon Jun 22 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2395.git1c2bbcdf
-- New snapshot
-
-* Wed Jun 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2367.git790aa264
-- New snapshot
-
-* Mon Jun 15 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2320.gitc76ee0d0
-- Update to pre-2.1.0 snapshot
-
-* Wed Jun 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-9
-- Really enable example apps on the copr repos
-
-* Wed Jun 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-8
-- Re-enable example apps on the copr repos
-
-* Tue May 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-7
-- Drop pointless build conditional, the linker script is here to stay
-- Drop vhost-cuse build conditional, vhost-user is here to stay
-- Cleanup comments a bit
-- Enable parallel build again
-- Dont build examples by default
-
-* Thu Apr 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-6
-- Fix potential hang and thread issues with VFIO eventfd
-
-* Fri Apr 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-5
-- Fix a potential hang due to missed interrupt in vhost library
-
-* Tue Apr 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-4
-- Drop unused pre-2.0 era patches
-- Handle vhost-user/cuse selection automatically based on the copr repo name
-
-* Fri Apr 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-3
-- Dont depend on fuse when built for vhost-user support
-- Drop version from testpmd binary, we wont be parallel-installing that
-
-* Thu Apr 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-2
-- Remove the broken kmod stuff
-- Add a new dkms-based eventfd_link subpackage if vhost-cuse is enabled
-
-* Tue Apr 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-1
-- Update to 2.0 final (http://dpdk.org/doc/guides-2.0/rel_notes/index.html)
-
-* Thu Apr 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2086.git263333bb.2
-- Switch (back) to vhost-user, thus disabling vhost-cuse support
-- Build requires fuse-devel for now even when fuse is unused
-
-* Mon Mar 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2049.git2f95a470.1
-- New snapshot
-- Add spec option for enabling vhost-user instead of vhost-cuse
-- Build requires fuse-devel only with vhost-cuse
-- Add virtual provide for vhost user/cuse tracking
-
-* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.3
-- Disable vhost-user for now to get vhost-cuse support, argh.
-
-* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.2
-- Add a bunch of missing dependencies to -tools
-
-* Thu Mar 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.1
-- Another day, another snapshot
-- Disable IVSHMEM support for now
-
-* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.2
-- Dont fail build for array bounds warnings for now, gcc 5 is emitting a bunch
-
-* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.1
-- Another day, another snapshot
-- Avoid building pdf docs
-
-* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.2
-- Add missing dependency to tools -subpackage
-
-* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.1
-- New snapshot
-- Work around #1198009
-
-* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.2
-- Optionally package tools too, some binding script is needed for many setups
-
-* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.1
-- New snapshot
-- Disable kernel module build by default
-- Add patch to fix missing defines/includes for external applications
-
-* Fri Feb 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1906.git00c68563.1
-- New snapshot
-- Remove bogus devname module alias from eventfd-link module
-- Whack evenfd-link to honor RTE_KERNELDIR too
-
-* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.3
-- Add spec option to build kernel modules too
-- Build eventfd-link module too if kernel modules enabled
-
-* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.2
-- Move config changes from spec after "make config" to simplify things
-- Move config changes from dpdk-config patch to the spec
-
-* Thu Feb 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1717.gitd3aa5274.2
-- Fix warnings tripping up build with gcc 5, remove -Wno-error
-
-* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1698.gitc07691ae.1
-- Move the unversioned .so links for plugins into main package
-- New snapshot
-
-* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.3
-- Fix missing symbol export for rte_eal_iopl_init()
-- Only mention libs once in the linker script
-
-* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.2
-- Fix gcc version logic to work with 5.0 too
-
-* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.1
-- Add spec magic to easily switch between stable and snapshot versions
-- Add tarball snapshot script for reference
-- Update to pre-2.0 git snapshot
-
-* Thu Feb 12 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-15
-- Disable -Werror, this is not useful behavior for released versions
-
-* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-14
-- Fix typo causing librte_vhost missing DT_NEEDED on fuse
-
-* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-13
-- Fix vhost library linkage
-- Add spec option to build example applications, enable by default
-
-* Fri Feb 06 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-12
-- Enable librte_acl build
-- Enable librte_ivshmem build
-
-* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-11
-- Drop the private libdir, not needed with versioned libs
-
-* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-10
-- Drop symbol versioning patches, always do library version for shared
-- Add comment on the combined library thing
-
-* Wed Feb 04 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-9
-- Add missing symbol version to librte_cmdline
-
-* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-8
-- Set soname of the shared libraries
-- Fixup typo in ld path config file name
-
-* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-7
-- Add library versioning patches as another build option, enable by default
-
-* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-6
-- Add our libraries to ld path & run ldconfig when using shared libs
-
-* Fri Jan 30 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-5
-- Add DT_NEEDED for external dependencies (pcap, fuse, dl, pthread)
-- Enable combined library creation, needed for OVS
-- Enable shared library creation, needed for sanity
+* Thu Oct 22 2015 Aaron Conole <aconole@redhat.com> - 2.1.0-3
+- Include examples binaries
+- Enable the Broadcom NetXtreme II 10Gb PMD
+- Fix up linkages for the dpdk-devel package
-* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-4
-- Include scripts directory in the "sdk" too
+* Wed Sep 30 2015 Aaron Conole <aconole@redhat.com> - 2.1.0-2
+- Re-enable the IGB, IXGBE, I40E PMDs
+- Bring the Fedora and RHEL packages more in-line.
-* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-3
-- Fix -Wformat clash preventing i40e driver build, enable it
-- Fix -Wall clash preventing enic driver build, enable it
+* Wed Aug 26 2015 Neil Horman <nhorman@redhat.com> - 2.1.0-1
+- Update to latest version
-* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-2
-- Enable librte_vhost, which buildrequires fuse-devel
-- Enable physical NIC drivers that build (e1000, ixgbe) for VFIO use
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-1
-- Update to 1.8.0
+* Mon Apr 06 2015 Neil Horman <nhorman@redhat.com> - 2.0.0-1
+- Update to dpdk 2.0
+- converted --with shared option to --without shared option
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-8
- Always build with -fPIC
@@ -750,7 +468,7 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
- Remove ix86 from ExclusiveArch -- it does not build with above changes
* Thu Jul 10 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-1.0
-- Update source to official 1.7.0 release
+- Update source to official 1.7.0 release
* Thu Jul 03 2014 - Neil Horman <nhorman@tuxdriver.com>
- Fixing up release numbering
@@ -769,3 +487,4 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.6.20140603git5ebbb1728
- Initial Build
+