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
107f56
%define ver 21.11
2b1ecb
%define rel 3
8f5e58
5fd952
%define srcname dpdk
5fd952
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
2b1ecb
# CVE-2022-2132
2b1ecb
Patch1: 0001-vhost-discard-too-small-descriptor-chains.patch
2b1ecb
Patch2: 0002-vhost-fix-header-spanned-across-more-than-two-descri.patch
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
%define sdkdir  %{_datadir}/%{name}
8f5e58
%define docdir  %{_docdir}/%{name}
8f5e58
%define incdir  %{_includedir}/%{name}
5fd952
%define pmddir  %{_libdir}/%{name}-pmds
5fd952
107f56
%if 0%{?rhel} && 0%{?rhel} < 9
107f56
# Fix conflicts with README and MAINTAINERS (included in dpdk-doc < 18.11-2),
107f56
# this affects only RHEL8.
8f5e58
Conflicts: dpdk-doc < 18.11-2
8f5e58
%endif
8f5e58
107f56
BuildRequires: meson
107f56
%if 0%{?rhel} && 0%{?rhel} < 9
107f56
%define pyelftoolsver 0.27
107f56
Source1: https://github.com/eliben/pyelftools/archive/refs/tags/v%{pyelftoolsver}.tar.gz#/pyelftools-%{pyelftoolsver}.tar.gz
107f56
%else
107f56
BuildRequires: python3-pyelftools
107f56
%endif
107f56
BuildRequires: gcc, zlib-devel, numactl-devel
107f56
BuildRequires: doxygen, python3-sphinx
8f5e58
%ifarch x86_64
5fd952
BuildRequires: rdma-core-devel >= 15
5fd952
%endif
5fd952
5fd952
# Macros taked from ninja-build and meson packages and adapted to be defined here
5fd952
# See /usr/lib/rpm/macros.d/macros.{ninja,meson}
5fd952
%if 0%{?rhel} && 0%{?rhel} < 8
5fd952
5fd952
# RHEL-7 doesn't define _vpath_* macros yet
5fd952
%if 0%{!?_vpath_srcdir:1}
5fd952
%define _vpath_srcdir .
5fd952
%endif
5fd952
%if 0%{!?_vpath_builddir:1}
5fd952
%define _vpath_builddir %_target_platform
5fd952
%endif
5fd952
5fd952
%define __ninja %{venvdir}/bin/ninja
5fd952
%define __ninja_common_opts -v %{?_smp_mflags}
5fd952
5fd952
%define ninja_build \
5fd952
    %{__ninja} %{__ninja_common_opts}
5fd952
5fd952
%define ninja_install \
5fd952
    DESTDIR=%{buildroot} %{__ninja} install %{__ninja_common_opts}
5fd952
5fd952
%define ninja_test \
5fd952
    %{__ninja} test %{__ninja_common_opts}
5fd952
5fd952
%define __meson %{venvdir}/bin/meson
5fd952
%define __meson_wrap_mode nodownload
5fd952
%define __meson_auto_features enabled
5fd952
5fd952
%define meson \
5fd952
    export CFLAGS="${CFLAGS:-%__global_cflags}"       \
5fd952
    export CXXFLAGS="${CXXFLAGS:-%__global_cxxflags}" \
5fd952
    export FFLAGS="${FFLAGS:-%__global_fflags}"       \
5fd952
    export FCFLAGS="${FCFLAGS:-%__global_fcflags}"    \
5fd952
    export LDFLAGS="${LDFLAGS:-%__global_ldflags}"    \
5fd952
    %{__meson}                                    \\\
5fd952
        --buildtype=plain                         \\\
5fd952
        --prefix=%{_prefix}                       \\\
5fd952
        --libdir=%{_libdir}                       \\\
5fd952
        --libexecdir=%{_libexecdir}               \\\
5fd952
        --bindir=%{_bindir}                       \\\
5fd952
        --sbindir=%{_sbindir}                     \\\
5fd952
        --includedir=%{_includedir}               \\\
5fd952
        --datadir=%{_datadir}                     \\\
5fd952
        --mandir=%{_mandir}                       \\\
5fd952
        --infodir=%{_infodir}                     \\\
5fd952
        --localedir=%{_datadir}/locale            \\\
5fd952
        --sysconfdir=%{_sysconfdir}               \\\
5fd952
        --localstatedir=%{_localstatedir}         \\\
5fd952
        --sharedstatedir=%{_sharedstatedir}       \\\
5fd952
        --wrap-mode=%{__meson_wrap_mode}          \\\
5fd952
        --auto-features=%{__meson_auto_features}  \\\
5fd952
        %{_vpath_srcdir} %{_vpath_builddir}       \\\
5fd952
        %{nil}
5fd952
5fd952
%define meson_build \
5fd952
    %ninja_build -C %{_vpath_builddir}
5fd952
5fd952
%define meson_install \
5fd952
    %ninja_install -C %{_vpath_builddir}
5fd952
5fd952
%define meson_test \
5fd952
    %ninja_test -C %{_vpath_builddir}
5fd952
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
5fd952
Requires: rdma-core-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}
107f56
Requires: kmod pciutils findutils iproute python3
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
107f56
%if 0%{?rhel} && 0%{?rhel} < 9
107f56
%setup -q -a 1 -n %{srcname}-%{?commit0:%{commit0}}%{!?commit0:%{ver}}
5fd952
%else
5fd952
%setup -q -n %{srcname}-%{?commit0:%{commit0}}%{!?commit0:%{ver}}
5fd952
%endif
5fd952
%autopatch -p1
8f5e58
8f5e58
%build
107f56
%if 0%{?rhel} && 0%{?rhel} < 9
107f56
export PYTHONPATH=$(pwd)/pyelftools-%{pyelftoolsver}
8f5e58
%endif
8f5e58
5fd952
ENABLED_DRIVERS=(
5fd952
    bus/pci
5fd952
    bus/vdev
5fd952
    mempool/ring
5fd952
    net/failsafe
5fd952
    net/i40e
5fd952
    net/ring
5fd952
    net/vhost
5fd952
    net/virtio
5fd952
    net/tap
5fd952
)
8f5e58
5fd952
%ifarch x86_64
5fd952
ENABLED_DRIVERS+=(
107f56
    bus/auxiliary
5fd952
    bus/vmbus
5fd952
    common/iavf
5fd952
    common/mlx5
5fd952
    net/bnxt
5fd952
    net/enic
5fd952
    net/iavf
5fd952
    net/ice
5fd952
    net/mlx4
5fd952
    net/mlx5
5fd952
    net/netvsc
5fd952
    net/nfp
5fd952
    net/qede
5fd952
    net/vdev_netvsc
5fd952
)
5fd952
%endif
8f5e58
5fd952
%ifarch aarch64 x86_64
5fd952
ENABLED_DRIVERS+=(
5fd952
    net/e1000
5fd952
    net/ixgbe
5fd952
)
5fd952
%endif
8f5e58
107f56
for driver in ${ENABLED_DRIVERS[@]}; do
107f56
    enable_drivers="${enable_drivers:+$enable_drivers,}"$driver
107f56
done
107f56
107f56
# As of 21.11-rc3, following libraries can be disabled:
107f56
# optional_libs = [
107f56
#         'bitratestats',
107f56
#         'gpudev',
107f56
#         'gro',
107f56
#         'gso',
107f56
#         'kni',
107f56
#         'jobstats',
107f56
#         'latencystats',
107f56
#         'metrics',
107f56
#         'pdump',
107f56
#         'power',
107f56
#         'vhost',
107f56
# ]
107f56
# If doing any updates, this must be aligned with:
107f56
# https://access.redhat.com/articles/3538141
107f56
DISABLED_LIBS=(
107f56
    gpudev
107f56
    kni
107f56
    jobstats
107f56
    power
107f56
)
107f56
107f56
for lib in "${DISABLED_LIBS[@]}"; do
107f56
    disable_libs="${disable_libs:+$disable_libs,}"$lib
8f5e58
done
8f5e58
5fd952
%meson --includedir=include/dpdk \
5fd952
       --default-library=shared \
107f56
       -Ddisable_libs="$disable_libs" \
5fd952
       -Ddrivers_install_subdir=dpdk-pmds \
5fd952
       -Denable_docs=true \
107f56
       -Denable_drivers="$enable_drivers" \
107f56
       -Dplatform=generic \
5fd952
       -Dmax_ethports=32 \
5fd952
       -Dmax_numa_nodes=8 \
5fd952
       -Dtests=false
107f56
107f56
# Check drivers and libraries
107f56
for driver in "${ENABLED_DRIVERS[@]}"; do
107f56
	config_token=RTE_$(echo $driver | tr [a-z/] [A-Z_])
107f56
	! grep -q $config_token */rte_build_config.h || continue
107f56
	echo "!!! Could not find $driver in rte_build_config.h, please check dependencies. !!!"
107f56
	false
107f56
done
107f56
for lib in "${DISABLED_LIBS[@]}"; do
107f56
	config_token=RTE_LIB_$(echo $lib | tr [a-z/] [A-Z_])
107f56
	grep -q $config_token */rte_build_config.h || continue
107f56
	echo "!!! Found $lib in rte_build_config.h. !!!"
107f56
	false
107f56
done
5fd952
%meson_build
8f5e58
5fd952
%install
5fd952
%if 0%{?rhel} && 0%{?rhel} < 8
5fd952
export PATH="%{venvdir}/bin:$PATH"
8f5e58
%endif
8f5e58
5fd952
%meson_install
5fd952
107f56
rm -f %{buildroot}%{_bindir}/dpdk-dumpcap
5fd952
rm -f %{buildroot}%{_bindir}/dpdk-pdump
5fd952
rm -f %{buildroot}%{_bindir}/dpdk-proc-info
5fd952
rm -f %{buildroot}%{_bindir}/dpdk-test{,-acl,-bbdev,-cmdline,-compress-perf,-crypto-perf,-eventdev,-pipeline,-sad,-fib,-flow-perf,-regex}
5fd952
rm -f %{buildroot}%{_libdir}/*.a
107f56
# Taked from debian/rules
107f56
rm -f %{docdir}/html/.buildinfo
107f56
rm -f %{docdir}/html/objects.inv
107f56
rm -rf %{docdir}/html/.doctrees
8f5e58
8f5e58
%files
8f5e58
# BSD
8f5e58
%doc README MAINTAINERS
5fd952
%{_bindir}/dpdk-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}
5fd952
%exclude %{_bindir}/dpdk-*.py
8f5e58
%endif
8f5e58
%if %{with examples}
8f5e58
%exclude %{sdkdir}/examples/
8f5e58
%endif
8f5e58
%{_libdir}/*.so
5fd952
%{pmddir}/*.so
5fd952
%{_libdir}/pkgconfig/libdpdk.pc
5fd952
%{_libdir}/pkgconfig/libdpdk-libs.pc
8f5e58
%if %{with examples}
8f5e58
%files examples
8f5e58
%{_bindir}/dpdk-*
8f5e58
%doc %{sdkdir}/examples/
8f5e58
%endif
8f5e58
8f5e58
%if %{with tools}
8f5e58
%files tools
5fd952
%{_bindir}/dpdk-*.py
8f5e58
%endif
8f5e58
8f5e58
%changelog
2b1ecb
* Fri Dec 23 2022 Timothy Redaelli <tredaelli@redhat.com> - 21.11-3
2b1ecb
- Version bump just to be sure it's updated from dpdk-21.11-2.el8_7
2b1ecb
2b1ecb
* Wed Oct 26 2022 Timothy Redaelli <tredaelli@redhat.com> - 21.11-2
2b1ecb
- Backport fixes for CVE-2022-2132 (#2107171)
2b1ecb
107f56
* Tue Nov 23 2021 David Marchand <david.marchand@redhat.com> - 21.11-1
107f56
- Rebase to 21.11 (#2029497)
107f56
5fd952
* Tue Feb 16 2021 Timothy Redaelli <tredaelli@redhat.com> - 20.11-3
5fd952
- Fix gating since on DPDK 20.11 testpmd is called dpdk-testpmd
5fd952
5fd952
* Wed Feb 10 2021 Timothy Redaelli <tredaelli@redhat.com> - 20.11-2
5fd952
- Enable ice PMD for x86_64 (#1927179)
5fd952
5fd952
* Tue Dec 01 2020 Timothy Redaelli <tredaelli@redhat.com> - 20.11-1
5fd952
- Rebase DPDK to 20.11 using meson build system (#1908446)
5fd952
5fd952
* Thu Aug 13 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11.3-1
5fd952
- Rebase DPDK to 19.11.3 (#1868708)
5fd952
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