Blame SPECS/dpdk.spec

0ac13d
# Add option to build with examples
0ac13d
%bcond_with examples
0ac13d
# Add option to build without tools
0ac13d
%bcond_without tools
0ac13d
0ac13d
# Dont edit Version: and Release: directly, only these:
0ac13d
#% define commit0 7001c8fdb27357c67147c0a13cb3826e48c0f2bf
0ac13d
#% define date 20191128
0ac13d
#% define shortcommit0 %(c=%{commit0}; echo ${c:0:7})
0ac13d
31e0b6
%define ver 19.11.2
31e0b6
%define rel 1
0ac13d
31e0b6
%define srcname dpdk-stable
0ac13d
0ac13d
Name: dpdk
0ac13d
Version: %{ver}
0ac13d
Release: %{rel}%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
0ac13d
URL: http://dpdk.org
0ac13d
%if 0%{?commit0:1}
0ac13d
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{commit0}.tar.xz
0ac13d
%else
0ac13d
Source: http://fast.dpdk.org/rel/dpdk-%{ver}.tar.xz
0ac13d
%endif
0ac13d
0ac13d
# Only needed for creating snapshot tarballs, not used in build itself
0ac13d
Source100: dpdk-snapshot.sh
0ac13d
0ac13d
Source500: configlib.sh
0ac13d
Source501: gen_config_group.sh
0ac13d
Source502: set_config.sh
0ac13d
0ac13d
# Important: source503 is used as the actual copy file
0ac13d
# @TODO: this causes a warning - fix it?
0ac13d
Source504: arm64-armv8a-linuxapp-gcc-config
0ac13d
Source505: ppc_64-power8-linuxapp-gcc-config
0ac13d
Source506: x86_64-native-linuxapp-gcc-config
0ac13d
0ac13d
# Patches only in dpdk package
0ac13d
0ac13d
0ac13d
Summary: Set of libraries and drivers for fast packet processing
0ac13d
0ac13d
#
0ac13d
# Note that, while this is dual licensed, all code that is included with this
0ac13d
# Pakcage are BSD licensed. The only files that aren't licensed via BSD is the
0ac13d
# kni kernel module which is dual LGPLv2/BSD, and thats not built for fedora.
0ac13d
#
0ac13d
License: BSD and LGPLv2 and GPLv2
0ac13d
0ac13d
#
0ac13d
# The DPDK is designed to optimize througput of network traffic using, among
0ac13d
# other techniques, carefully crafted assembly instructions.  As such it
0ac13d
# needs extensive work to port it to other architectures.
0ac13d
ExclusiveArch: x86_64 aarch64 ppc64le
0ac13d
0ac13d
# machine_arch maps between rpm and dpdk arch name, often same as _target_cpu
0ac13d
# machine_tmpl is the config template machine name, often "native"
0ac13d
# machine is the actual machine name used in the dpdk make system
0ac13d
%ifarch x86_64
0ac13d
%define machine_arch x86_64
0ac13d
%define machine_tmpl native
0ac13d
%define machine default
0ac13d
%endif
0ac13d
%ifarch aarch64
0ac13d
%define machine_arch arm64
0ac13d
%define machine_tmpl armv8a
0ac13d
%define machine armv8a
0ac13d
%endif
0ac13d
%ifarch ppc64le
0ac13d
%define machine_arch ppc_64
0ac13d
%define machine_tmpl power8
0ac13d
%define machine power8
0ac13d
%endif
0ac13d
0ac13d
%define target %{machine_arch}-%{machine_tmpl}-linuxapp-gcc
0ac13d
0ac13d
%define sdkdir  %{_datadir}/%{name}
0ac13d
%define docdir  %{_docdir}/%{name}
0ac13d
%define incdir  %{_includedir}/%{name}
0ac13d
%define pmddir %{_libdir}/%{name}-pmds
0ac13d
0ac13d
%if 0%{?rhel} > 7 || 0%{?fedora}
0ac13d
%define _py python3
0ac13d
%define _py_exec %{?__python3}
0ac13d
%else
0ac13d
%define _py python
0ac13d
%define _py_exec %{?__python2}
0ac13d
%endif
0ac13d
0ac13d
%if 0%{?rhel} > 7
0ac13d
# Fix conflicts with README and MAINTAINERS (included in dpdk-doc < 18.11-2)
0ac13d
Conflicts: dpdk-doc < 18.11-2
0ac13d
%endif
0ac13d
0ac13d
BuildRequires: gcc, kernel-headers, zlib-devel, numactl-devel
0ac13d
BuildRequires: doxygen, %{_py}-devel, %{_py}-sphinx
0ac13d
%ifarch x86_64
0ac13d
BuildRequires: rdma-core-devel >= 15 libmnl-devel
0ac13d
%endif
0ac13d
0ac13d
%description
0ac13d
The Data Plane Development Kit is a set of libraries and drivers for
0ac13d
fast packet processing in the user space.
0ac13d
0ac13d
%package devel
0ac13d
Summary: Data Plane Development Kit development files
0ac13d
Requires: %{name}%{?_isa} = %{version}-%{release}
31e0b6
%ifarch x86_64
31e0b6
Requires: rdma-core-devel libmnl-devel
31e0b6
%endif
0ac13d
0ac13d
%description devel
0ac13d
This package contains the headers and other files needed for developing
0ac13d
applications with the Data Plane Development Kit.
0ac13d
0ac13d
%package doc
0ac13d
Summary: Data Plane Development Kit API documentation
0ac13d
BuildArch: noarch
0ac13d
0ac13d
%description doc
0ac13d
API programming documentation for the Data Plane Development Kit.
0ac13d
0ac13d
%if %{with tools}
0ac13d
%package tools
0ac13d
Summary: Tools for setting up Data Plane Development Kit environment
0ac13d
Requires: %{name} = %{version}-%{release}
0ac13d
Requires: kmod pciutils findutils iproute %{_py_exec}
0ac13d
0ac13d
%description tools
0ac13d
%{summary}
0ac13d
%endif
0ac13d
0ac13d
%if %{with examples}
0ac13d
%package examples
0ac13d
Summary: Data Plane Development Kit example applications
0ac13d
BuildRequires: libvirt-devel
0ac13d
0ac13d
%description examples
0ac13d
Example applications utilizing the Data Plane Development Kit, such
0ac13d
as L2 and L3 forwarding.
0ac13d
%endif
0ac13d
0ac13d
%prep
0ac13d
%autosetup -n %{srcname}-%{?commit0:%{commit0}}%{!?commit0:%{ver}} -p1
0ac13d
0ac13d
%build
0ac13d
# In case dpdk-devel is installed
0ac13d
unset RTE_SDK RTE_INCLUDE RTE_TARGET
0ac13d
0ac13d
# Avoid appending second -Wall to everything, it breaks upstream warning
0ac13d
# disablers in makefiles. Strip expclit -march= from optflags since they
0ac13d
# will only guarantee build failures, DPDK is picky with that.
0ac13d
# Note: _hardening_ldflags has to go on the extra cflags line because dpdk is
0ac13d
# astoundingly convoluted in how it processes its linker flags.  Fixing it in
0ac13d
# dpdk is the preferred solution, but adjusting to allow a gcc option in the
0ac13d
# ldflags, even when gcc is used as the linker, requires large tree-wide changes
0ac13d
touch obj.o
0ac13d
gcc -### obj.o 2>&1 | awk '/.*collect2.*/ { print $0}' | sed -e 's/\S*\.res\S*//g' -e 's/-z \S*//g' -e 's/[^ ]*\.o//g' -e 's/ /\n/g' | sort -u > ./noopts.txt
0ac13d
gcc -### $RPM_LD_FLAGS obj.o 2>&1 | awk '/.*collect2.*/ {print $0}' | sed -e 's/\S*\.res\S*//g' -e 's/-z \S*//g' -e 's/[^ ]*\.o//g' -e 's/ /\n/g' | sort -u > ./opts.txt
0ac13d
EXTRA_RPM_LDFLAGS=$(comm -13 ./noopts.txt ./opts.txt)
0ac13d
rm -f obj.o
0ac13d
0ac13d
export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC %{_hardening_ldflags}"
0ac13d
export EXTRA_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-Wl,//g' -e's/-spec.*//')
0ac13d
export HOST_EXTRA_CFLAGS="$EXTRA_CFLAGS $EXTRA_RPM_LDFLAGS"
0ac13d
export EXTRA_HOST_LDFLAGS="$EXTRA_RPM_LDFLAGS $(echo %{__global_ldflags} | sed -e's/-spec.*//')"
0ac13d
0ac13d
# DPDK defaults to using builder-specific compiler flags.  However,
0ac13d
# the config has been changed by specifying CONFIG_RTE_MACHINE=default
0ac13d
# in order to build for a more generic host.  NOTE: It is possible that
0ac13d
# the compiler flags used still won't work for all Fedora-supported
0ac13d
# machines, but runtime checks in DPDK will catch those situations.
0ac13d
0ac13d
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
0ac13d
0ac13d
cp -f %{SOURCE500} %{SOURCE502} "%{_sourcedir}/%{target}-config" .
0ac13d
%{SOURCE502} %{target}-config "%{target}/.config"
0ac13d
0ac13d
make V=1 O=%{target} %{?_smp_mflags}
0ac13d
0ac13d
# Creating PDF's has excessive build-requirements, html docs suffice fine
0ac13d
make V=1 O=%{target} %{?_smp_mflags} doc-api-html doc-guides-html
0ac13d
0ac13d
%if %{with examples}
0ac13d
make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
0ac13d
%endif
0ac13d
0ac13d
%install
0ac13d
# In case dpdk-devel is installed
0ac13d
unset RTE_SDK RTE_INCLUDE RTE_TARGET
0ac13d
0ac13d
%make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
0ac13d
0ac13d
# Replace /usr/bin/env python with the correct python binary
0ac13d
find %{buildroot}%{sdkdir}/ -name "*.py" -exec \
0ac13d
  sed -i -e 's|#!\s*/usr/bin/env python|#!%{_py_exec}|' {} +
0ac13d
0ac13d
# Create a driver directory with symlinks to all pmds
0ac13d
mkdir -p %{buildroot}/%{pmddir}
0ac13d
for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
0ac13d
    bn=$(basename ${f})
0ac13d
    ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
0ac13d
done
0ac13d
0ac13d
%if ! %{with tools}
0ac13d
rm -rf %{buildroot}%{sdkdir}/usertools
0ac13d
rm -rf %{buildroot}%{_sbindir}/dpdk-devbind
0ac13d
%endif
31e0b6
rm -f %{buildroot}%{sdkdir}/usertools/dpdk-pmdinfo.py
0ac13d
rm -f %{buildroot}%{sdkdir}/usertools/dpdk-setup.sh
0ac13d
rm -f %{buildroot}%{sdkdir}/usertools/meson.build
0ac13d
rm -f %{buildroot}%{_bindir}/dpdk-pdump
0ac13d
rm -f %{buildroot}%{_bindir}/dpdk-pmdinfo
0ac13d
rm -f %{buildroot}%{_bindir}/dpdk-test-crypto-perf
0ac13d
rm -f %{buildroot}%{_bindir}/dpdk-test-eventdev
0ac13d
0ac13d
%if %{with examples}
0ac13d
find %{target}/examples/ -name "*.map" | xargs rm -f
0ac13d
for f in %{target}/examples/*/%{target}/app/*; do
0ac13d
    bn=`basename ${f}`
0ac13d
    cp -p ${f} %{buildroot}%{_bindir}/dpdk-${bn}
0ac13d
done
0ac13d
%else
0ac13d
rm -rf %{buildroot}%{sdkdir}/examples
0ac13d
%endif
0ac13d
0ac13d
# Due to RPM limitations delete the backwards compatibility symlinks
0ac13d
rm -f %{buildroot}%{sdkdir}/mk/exec-env/bsdapp
0ac13d
rm -f %{buildroot}%{sdkdir}/mk/exec-env/linuxapp
0ac13d
0ac13d
# Setup RTE_SDK environment as expected by apps etc
0ac13d
mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
0ac13d
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.sh
0ac13d
if [ -z "\${RTE_SDK}" ]; then
0ac13d
    export RTE_SDK="%{sdkdir}"
0ac13d
    export RTE_TARGET="%{target}"
0ac13d
    export RTE_INCLUDE="%{incdir}"
0ac13d
fi
0ac13d
EOF
0ac13d
0ac13d
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.csh
0ac13d
if ( ! \$RTE_SDK ) then
0ac13d
    setenv RTE_SDK "%{sdkdir}"
0ac13d
    setenv RTE_TARGET "%{target}"
0ac13d
    setenv RTE_INCLUDE "%{incdir}"
0ac13d
endif
0ac13d
EOF
0ac13d
0ac13d
# Fixup target machine mismatch
0ac13d
sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk*
0ac13d
0ac13d
%files
0ac13d
# BSD
0ac13d
%doc README MAINTAINERS
0ac13d
%{_bindir}/testpmd
0ac13d
%dir %{pmddir}
0ac13d
%{_libdir}/*.so.*
0ac13d
%{pmddir}/*.so.*
0ac13d
0ac13d
%files doc
0ac13d
#BSD
0ac13d
%exclude %{docdir}/README
0ac13d
%exclude %{docdir}/MAINTAINERS
0ac13d
%{docdir}
0ac13d
0ac13d
%files devel
0ac13d
#BSD
0ac13d
%{incdir}/
0ac13d
%{sdkdir}/
0ac13d
%if %{with tools}
0ac13d
%exclude %{sdkdir}/usertools/
0ac13d
%endif
0ac13d
%if %{with examples}
0ac13d
%exclude %{sdkdir}/examples/
0ac13d
%endif
0ac13d
%{_sysconfdir}/profile.d/dpdk-sdk-*.*
0ac13d
%{_libdir}/*.so
0ac13d
%if %{with examples}
0ac13d
%files examples
0ac13d
%{_bindir}/dpdk-*
0ac13d
%doc %{sdkdir}/examples/
0ac13d
%endif
0ac13d
0ac13d
%if %{with tools}
0ac13d
%files tools
0ac13d
%{sdkdir}/usertools/
0ac13d
%{_sbindir}/dpdk-devbind
0ac13d
%endif
0ac13d
0ac13d
%changelog
31e0b6
* Wed May 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11.2-1
31e0b6
- Rebase DPDK to 19.11.2 (#1836830, #1837024, #1837030, #1837022)
31e0b6
31e0b6
* Fri Apr 17 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11.1-1
31e0b6
- Rebase DPDK to 19.11.1 (#1824905)
31e0b6
- Remove dpdk-pmdinfo.py (#1801361)
31e0b6
- Add Requires: rdma-core-devel libmnl-devel on x86_64 for dpdk-devel (#1813252)
31e0b6
0ac13d
* Thu Feb 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11-4
0ac13d
- Remove MLX{4,5} glue libraries since RHEL 8 ships the correct libibverbs
0ac13d
  library. (#1805140)
0ac13d
0ac13d
* Mon Feb 17 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11-3
0ac13d
- Remove /usr/share/dpdk/mk/exec-env/{bsd,linux}app symlinks (#1773889)
0ac13d
0ac13d
* Thu Feb 13 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11-2
0ac13d
- Add pretrans to handle /usr/share/dpdk/mk/exec-env/{bsd,linux}app (#1773889)
0ac13d
0ac13d
* Thu Nov 28 2019 David Marchand <david.marchand@redhat.com> - 19.11-1
0ac13d
- Rebase to 19.11 (#1773889)
0ac13d
- Remove dpdk-pdump (#1779229)
0ac13d
0ac13d
* Mon Nov 04 2019 Timothy Redaelli <tredaelli@redhat.com> - 18.11.2-4
0ac13d
- Pass the correct LDFLAGS to host apps (dpdk-pmdinfogen) too (#1755538)
0ac13d
0ac13d
* Mon Sep 16 2019 Jens Freimann <jfreimann@redhat.com> - 18.11.2-3
0ac13d
- Add fix for wrong pointer calculation to fix Covscan issue
0ac13d
- https://cov01.lab.eng.brq.redhat.com/covscanhub/task/135452/log/added.html
0ac13d
0ac13d
* Wed Aug 14 2019 Jens Freimann <jfreimann@redhat.com> - 18.11.2-2
0ac13d
- Backport "net/virtio: allocate vrings on device NUMA node" (#1700373)
0ac13d
0ac13d
* Thu Jun 27 2019 Timothy Redaelli <tredaelli@redhat.com> - 18.11.2-1
0ac13d
- Updated to DPDK 18.11.2 (#1713704)
0ac13d
0ac13d
* Fri May 24 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11.8
0ac13d
- Backport "net/virtio: allocate vrings on device NUMA node" (#1525039)
0ac13d
0ac13d
* Thu May 23 2019 Timothy Redaelli <tredaelli@redhat.com> - 18.11-7
0ac13d
- Really use the security cflags (copied from Fedora RPM) (#1703985)
0ac13d
0ac13d
* Fri May 17 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11-6
0ac13d
- Fix basic CI gating test (#1682308)
0ac13d
- Add manual gating test (#1682308)
0ac13d
0ac13d
* Tue Mar 26 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11-5
0ac13d
- Add basic CI gating test (#1682308)
0ac13d
0ac13d
* Mon Feb 18 2019 Jens Freimann <jfreiman@redhat.com> - 18.11-4
0ac13d
- Set correct offload flags for virtio and allow jumbo frames (#1676646)
0ac13d
0ac13d
* Mon Feb 18 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11.3
0ac13d
- Backport NETVSC pmd fixes (#1676534)
0ac13d
0ac13d
* Tue Nov 27 2018 Timothy Redaelli <tredaelli@redhat.com> - 18.11-2
0ac13d
- Remove meson.build from dpdk-tools
0ac13d
- Don't install README and MAINTAINERS in dpdk-doc
0ac13d
0ac13d
* Tue Nov 27 2018 Timothy Redaelli <tredaelli@redhat.com> - 18.11-1
0ac13d
- Updated to DPDK 18.11 (#1492326):
0ac13d
  - Updated configs
0ac13d
  - Added libmnl-devel BuildRequires for Mellanox
0ac13d
0ac13d
* Thu Sep 20 2018 Tomas Orsava <torsava@redhat.com> - 17.11-14
0ac13d
- Require the Python interpreter directly instead of using the package name
0ac13d
- Related: rhbz#1619153
0ac13d
0ac13d
* Mon Sep 10 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-13
0ac13d
- Backport "net/mlx{4,5}: Avoid stripping the glue library" (#1609659)
0ac13d
0ac13d
* Fri Jul 20 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-12
0ac13d
- Use python3 packages on RHEL8 and Fedora
0ac13d
- Remove dpdk-pmdinfo (#1494462)
0ac13d
- Backport "net/mlx5: fix build with rdma-core v19"
0ac13d
0ac13d
* Thu Jun 14 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-11
0ac13d
- Re-align with DPDK patches inside OVS FDP 18.06 (#1591198)
0ac13d
0ac13d
* Mon Jun 11 2018 Aaron Conole <aconole@redhat.com> - 17.11-10
0ac13d
- Fix mlx5 memory region boundary checks (#1581230)
0ac13d
0ac13d
* Thu Jun 07 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-9
0ac13d
- Add 2 missing QEDE patches
0ac13d
- Fix previous changelog date
0ac13d
0ac13d
* Thu Jun 07 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-8
0ac13d
- Align with DPDK patches inside OVS FDP 18.06
0ac13d
- Enable BNXT, MLX4, MLX5, NFP and QEDE PMDs
0ac13d
- Backport "net/mlx: fix rdma-core glue path with EAL plugins" (only needed on
0ac13d
  DPDK package)
0ac13d
0ac13d
* Wed Jan 31 2018 Kevin Traynor <ktraynor@redhat.com> - 17.11-7
0ac13d
- Backport to forbid IOVA mode if IOMMU address width too small (#1530957)
0ac13d
0ac13d
* Wed Jan 31 2018 Aaron Conole <aconole@redhat.com> - 17.11-6
0ac13d
- Backport to protect active vhost_user rings (#1525446)
0ac13d
0ac13d
* Tue Jan 09 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-5
0ac13d
- Real backport of "net/virtio: fix vector Rx break caused by rxq flushing"
0ac13d
0ac13d
* Thu Dec 14 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-4
0ac13d
- Backport "net/virtio: fix vector Rx break caused by rxq flushing"
0ac13d
0ac13d
* Wed Dec 06 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-3
0ac13d
- Enable ENIC only for x86_64
0ac13d
0ac13d
* Wed Dec 06 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-2
0ac13d
- Re-add main package dependency from dpdk-tools
0ac13d
- Add explicit python dependency to dpdk-tools
0ac13d
0ac13d
* Tue Nov 28 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-1
0ac13d
- Update to DPDK 17.11 (#1522700)
0ac13d
- Use a static configuration file
0ac13d
- Remove i686 from ExclusiveArch since it's not supported on RHEL7
0ac13d
- Remove "--without shared" support
0ac13d
0ac13d
* Fri Oct 13 2017 Josh Boyer <jwboyer@redhat.com> - 16.11.2-6
0ac13d
- Rebuild to pick up all arches
0ac13d
0ac13d
* Fri Oct 13 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11.2-5
0ac13d
- Enable only supported PMDs (#1497384)
0ac13d
0ac13d
* Fri Jun 23 2017 John W. Linville <linville@redhat.com> - 16.11.2-4
0ac13d
- Backport "eal/ppc: fix mmap for memory initialization"
0ac13d
0ac13d
* Fri Jun 09 2017 John W. Linville <linville@redhat.com> - 16.11.2-3
0ac13d
- Enable i40e driver in PowerPC along with its altivec intrinsic support
0ac13d
- Add PCI probing support for vfio-pci devices in Power8
0ac13d
0ac13d
* Thu Jun 08 2017 John W. Linville <linville@redhat.com> - 16.11.2-2
0ac13d
- Enable aarch64, ppc64le (#1428587)
0ac13d
0ac13d
* Thu Jun 08 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11.2-1
0ac13d
- Import from fdProd
0ac13d
- Update to 16.11.2 (#1459333)
0ac13d
0ac13d
* Wed Mar 22 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11-4
0ac13d
- Avoid infinite loop while linking with libdpdk.so (#1434907)
0ac13d
0ac13d
* Thu Feb 02 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11-3
0ac13d
- Make driverctl a different package
0ac13d
0ac13d
* Thu Dec 08 2016 Kevin Traynor <ktraynor@redhat.com> - 16.11-2
0ac13d
- Update to DPDK 16.11 (#1335865)
0ac13d
0ac13d
* Wed Oct 05 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-1
0ac13d
- Update to DPDK 16.07 (#1383195)
0ac13d
- Disable unstable bnx2x driver (#1330589)
0ac13d
- Enable librte_vhost NUMA support again (#1279525)
0ac13d
- Enable librte_cryptodev, its no longer considered experimental
0ac13d
- Change example prefix to dpdk- for consistency with other utilities
0ac13d
- Update driverctl to 0.89
0ac13d
0ac13d
* Thu Jul 21 2016 Flavio Leitner <fbl@redhat.com> - 16.04-4
0ac13d
- Updated to DPDK 16.04
0ac13d
0ac13d
* Wed Mar 16 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-3
0ac13d
- Disable librte_vhost NUMA support for now, it causes segfaults
0ac13d
0ac13d
* Wed Jan 27 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-2
0ac13d
- Use a different quoting method to avoid messing up vim syntax highlighting
0ac13d
- A string is expected as CONFIG_RTE_MACHINE value, quote it too
0ac13d
- Enable librte_vhost NUMA-awareness
0ac13d
0ac13d
* Tue Jan 12 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-1
0ac13d
- Update DPDK to 2.2.0 final
0ac13d
- Add README and MAINTAINERS docs
0ac13d
- Adopt new upstream standard installation layout, including
0ac13d
  dpdk_nic_bind.py renamed to dpdk_nic_bind
0ac13d
- Move the unversioned pmd symlinks from libdir -devel
0ac13d
- Establish a driver directory for automatic driver loading
0ac13d
- Disable CONFIG_RTE_SCHED_VECTOR, it conflicts with CONFIG_RTE_MACHINE default
0ac13d
- Disable experimental cryptodev library
0ac13d
- More complete dtneeded patch
0ac13d
- Make option matching stricter in spec setconf
0ac13d
- Update driverctl to 0.59
0ac13d
0ac13d
* Wed Dec 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-5
0ac13d
- Fix artifacts from driverctl having different version
0ac13d
- Update driverctl to 0.58
0ac13d
0ac13d
* Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-4
0ac13d
- Add driverctl sub-package
0ac13d
0ac13d
* Fri Oct 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-3
0ac13d
- Enable bnx2x pmd, which buildrequires zlib-devel
0ac13d
0ac13d
* Mon Sep 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-2
0ac13d
- Make lib and include available both ways in the SDK paths
0ac13d
0ac13d
* Thu Sep 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-1
0ac13d
- Update to dpdk 2.1.0 final
0ac13d
  - Disable ABI_NEXT
0ac13d
  - Rebase patches as necessary
0ac13d
  - Fix build of ip_pipeline example
0ac13d
  - Drop no longer needed -Wno-error=array-bounds
0ac13d
  - Rename libintel_dpdk to libdpdk
0ac13d
0ac13d
* Tue Aug 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-9
0ac13d
- Drop main package dependency from dpdk-tools
0ac13d
0ac13d
* Wed May 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-8
0ac13d
- Drop eventfd-link patch, its only needed for vhost-cuse
0ac13d
0ac13d
* Tue May 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-7
0ac13d
- Drop pointless build conditional, the linker script is here to stay
0ac13d
- Drop vhost-cuse build conditional, vhost-user is here to stay
0ac13d
- Cleanup comments a bit
0ac13d
- Enable parallel build again
0ac13d
- Dont build examples by default
0ac13d
0ac13d
* Thu Apr 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-6
0ac13d
- Fix potential hang and thread issues with VFIO eventfd
0ac13d
0ac13d
* Fri Apr 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-5
0ac13d
- Fix a potential hang due to missed interrupt in vhost library
0ac13d
0ac13d
* Tue Apr 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-4
0ac13d
- Drop unused pre-2.0 era patches
0ac13d
- Handle vhost-user/cuse selection automatically based on the copr repo name
0ac13d
0ac13d
* Fri Apr 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-3
0ac13d
- Dont depend on fuse when built for vhost-user support
0ac13d
- Drop version from testpmd binary, we wont be parallel-installing that
0ac13d
0ac13d
* Thu Apr 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-2
0ac13d
- Remove the broken kmod stuff
0ac13d
- Add a new dkms-based eventfd_link subpackage if vhost-cuse is enabled
0ac13d
0ac13d
* Tue Apr 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-1
0ac13d
- Update to 2.0 final (http://dpdk.org/doc/guides-2.0/rel_notes/index.html)
0ac13d
0ac13d
* Thu Apr 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2086.git263333bb.2
0ac13d
- Switch (back) to vhost-user, thus disabling vhost-cuse support
0ac13d
- Build requires fuse-devel for now even when fuse is unused
0ac13d
0ac13d
* Mon Mar 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2049.git2f95a470.1
0ac13d
- New snapshot
0ac13d
- Add spec option for enabling vhost-user instead of vhost-cuse
0ac13d
- Build requires fuse-devel only with vhost-cuse
0ac13d
- Add virtual provide for vhost user/cuse tracking
0ac13d
0ac13d
* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.3
0ac13d
- Disable vhost-user for now to get vhost-cuse support, argh.
0ac13d
0ac13d
* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.2
0ac13d
- Add a bunch of missing dependencies to -tools
0ac13d
0ac13d
* Thu Mar 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.1
0ac13d
- Another day, another snapshot
0ac13d
- Disable IVSHMEM support for now
0ac13d
0ac13d
* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.2
0ac13d
- Dont fail build for array bounds warnings for now, gcc 5 is emitting a bunch
0ac13d
0ac13d
* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.1
0ac13d
- Another day, another snapshot
0ac13d
- Avoid building pdf docs
0ac13d
0ac13d
* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.2
0ac13d
- Add missing dependency to tools -subpackage
0ac13d
0ac13d
* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.1
0ac13d
- New snapshot
0ac13d
- Work around #1198009
0ac13d
0ac13d
* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.2
0ac13d
- Optionally package tools too, some binding script is needed for many setups
0ac13d
0ac13d
* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.1
0ac13d
- New snapshot
0ac13d
- Disable kernel module build by default
0ac13d
- Add patch to fix missing defines/includes for external applications
0ac13d
0ac13d
* Fri Feb 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1906.git00c68563.1
0ac13d
- New snapshot
0ac13d
- Remove bogus devname module alias from eventfd-link module
0ac13d
- Whack evenfd-link to honor RTE_KERNELDIR too
0ac13d
0ac13d
* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.3
0ac13d
- Add spec option to build kernel modules too
0ac13d
- Build eventfd-link module too if kernel modules enabled
0ac13d
0ac13d
* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.2
0ac13d
- Move config changes from spec after "make config" to simplify things
0ac13d
- Move config changes from dpdk-config patch to the spec
0ac13d
0ac13d
* Thu Feb 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1717.gitd3aa5274.2
0ac13d
- Fix warnings tripping up build with gcc 5, remove -Wno-error
0ac13d
0ac13d
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1698.gitc07691ae.1
0ac13d
- Move the unversioned .so links for plugins into main package
0ac13d
- New snapshot
0ac13d
0ac13d
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.3
0ac13d
- Fix missing symbol export for rte_eal_iopl_init()
0ac13d
- Only mention libs once in the linker script
0ac13d
0ac13d
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.2
0ac13d
- Fix gcc version logic to work with 5.0 too
0ac13d
0ac13d
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.1
0ac13d
- Add spec magic to easily switch between stable and snapshot versions
0ac13d
- Add tarball snapshot script for reference
0ac13d
- Update to pre-2.0 git snapshot
0ac13d
0ac13d
* Thu Feb 12 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-15
0ac13d
- Disable -Werror, this is not useful behavior for released versions
0ac13d
0ac13d
* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-14
0ac13d
- Fix typo causing librte_vhost missing DT_NEEDED on fuse
0ac13d
0ac13d
* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-13
0ac13d
- Fix vhost library linkage
0ac13d
- Add spec option to build example applications, enable by default
0ac13d
0ac13d
* Fri Feb 06 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-12
0ac13d
- Enable librte_acl build
0ac13d
- Enable librte_ivshmem build
0ac13d
0ac13d
* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-11
0ac13d
- Drop the private libdir, not needed with versioned libs
0ac13d
0ac13d
* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-10
0ac13d
- Drop symbol versioning patches, always do library version for shared
0ac13d
- Add comment on the combined library thing
0ac13d
0ac13d
* Wed Feb 04 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-9
0ac13d
- Add missing symbol version to librte_cmdline
0ac13d
0ac13d
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-8
0ac13d
- Set soname of the shared libraries
0ac13d
- Fixup typo in ld path config file name
0ac13d
0ac13d
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-7
0ac13d
- Add library versioning patches as another build option, enable by default
0ac13d
0ac13d
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-6
0ac13d
- Add our libraries to ld path & run ldconfig when using shared libs
0ac13d
0ac13d
* Fri Jan 30 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-5
0ac13d
- Add DT_NEEDED for external dependencies (pcap, fuse, dl, pthread)
0ac13d
- Enable combined library creation, needed for OVS
0ac13d
- Enable shared library creation, needed for sanity
0ac13d
0ac13d
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-4
0ac13d
- Include scripts directory in the "sdk" too
0ac13d
0ac13d
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-3
0ac13d
- Fix -Wformat clash preventing i40e driver build, enable it
0ac13d
- Fix -Wall clash preventing enic driver build, enable it
0ac13d
0ac13d
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-2
0ac13d
- Enable librte_vhost, which buildrequires fuse-devel
0ac13d
- Enable physical NIC drivers that build (e1000, ixgbe) for VFIO use
0ac13d
0ac13d
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-1
0ac13d
- Update to 1.8.0
0ac13d
0ac13d
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-8
0ac13d
- Always build with -fPIC
0ac13d
0ac13d
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-7
0ac13d
- Policy compliance: move static libraries to -devel, provide dpdk-static
0ac13d
- Add a spec option to build as shared libraries
0ac13d
0ac13d
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-6
0ac13d
- Avoid variable expansion in the spec here-documents during build
0ac13d
- Drop now unnecessary debug flags patch
0ac13d
- Add a spec option to build a combined library
0ac13d
0ac13d
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-5
0ac13d
- Avoid unnecessary use of %%global, lazy expansion is normally better
0ac13d
- Drop unused destdir macro while at it
0ac13d
- Arrange for RTE_SDK environment + directory layout expected by DPDK apps
0ac13d
- Drop config from main package, it shouldn't be needed at runtime
0ac13d
0ac13d
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-4
0ac13d
- Copy the headers instead of broken symlinks into -devel package
0ac13d
- Force sane mode on the headers
0ac13d
- Avoid unnecessary %%exclude by not copying unpackaged content to buildroot
0ac13d
- Clean up summaries and descriptions
0ac13d
- Drop unnecessary kernel-devel BR, we are not building kernel modules
0ac13d
0ac13d
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
0ac13d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0ac13d
0ac13d
* Thu Jul 17 2014 - John W. Linville <linville@redhat.com> - 1.7.0-2
0ac13d
- Use EXTRA_CFLAGS to include standard Fedora compiler flags in build
0ac13d
- Set CONFIG_RTE_MACHINE=default to build for least-common-denominator machines
0ac13d
- Turn-off build of librte_acl, since it does not build on default machines
0ac13d
- Turn-off build of physical device PMDs that require kernel support
0ac13d
- Clean-up the install rules to match current packaging
0ac13d
- Correct changelog versions 1.0.7 -> 1.7.0
0ac13d
- Remove ix86 from ExclusiveArch -- it does not build with above changes
0ac13d
0ac13d
* Thu Jul 10 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-1.0
0ac13d
- Update source to official 1.7.0 release
0ac13d
0ac13d
* Thu Jul 03 2014 - Neil Horman <nhorman@tuxdriver.com>
0ac13d
- Fixing up release numbering
0ac13d
0ac13d
* Tue Jul 01 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.1.20140603git5ebbb1728
0ac13d
- Fixed some build errors (empty debuginfo, bad 32 bit build)
0ac13d
0ac13d
* Wed Jun 11 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.20140603git5ebbb1728
0ac13d
- Fix another build dependency
0ac13d
0ac13d
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.8.20140603git5ebbb1728
0ac13d
- Fixed doc arch versioning issue
0ac13d
0ac13d
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.7.20140603git5ebbb1728
0ac13d
- Added verbose output to build
0ac13d
0ac13d
* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.6.20140603git5ebbb1728
0ac13d
- Initial Build
0ac13d