Blame SPECS/dpdk.spec

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