Blame SPECS/dpdk.spec

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