15cd06
# Add option to build with examples
15cd06
%bcond_with examples
15cd06
# Add option to build without tools
15cd06
%bcond_without tools
15cd06
15cd06
# Dont edit Version: and Release: directly, only these:
15cd06
#% define commit0 7001c8fdb27357c67147c0a13cb3826e48c0f2bf
15cd06
#% define date 20191128
15cd06
#% define shortcommit0 %(c=%{commit0}; echo ${c:0:7})
15cd06
c19feb
%define ver 22.11
c19feb
%define rel 3
15cd06
69c2b8
%define srcname dpdk%(awk -F. '{ if (NF > 2) print "-stable" }' <<<%{version})
15cd06
15cd06
%define pyelftoolsver 0.27
15cd06
15cd06
Name: dpdk
15cd06
Version: %{ver}
15cd06
Release: %{rel}%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
15cd06
%if 0%{?fedora} || 0%{?rhel} > 8
15cd06
Epoch: 2
15cd06
%endif
15cd06
URL: http://dpdk.org
15cd06
%if 0%{?commit0:1}
15cd06
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{commit0}.tar.xz
15cd06
%else
15cd06
Source: http://fast.dpdk.org/rel/dpdk-%{ver}.tar.xz
15cd06
%endif
15cd06
15cd06
# Only needed for creating snapshot tarballs, not used in build itself
15cd06
Source100: dpdk-snapshot.sh
15cd06
15cd06
Summary: Set of libraries and drivers for fast packet processing
15cd06
15cd06
#
15cd06
# Note that, while this is dual licensed, all code that is included with this
15cd06
# Pakcage are BSD licensed. The only files that aren't licensed via BSD is the
15cd06
# kni kernel module which is dual LGPLv2/BSD, and thats not built for fedora.
15cd06
#
15cd06
License: BSD and LGPLv2 and GPLv2
15cd06
15cd06
#
15cd06
# The DPDK is designed to optimize througput of network traffic using, among
15cd06
# other techniques, carefully crafted assembly instructions.  As such it
15cd06
# needs extensive work to port it to other architectures.
15cd06
ExclusiveArch: x86_64 aarch64 ppc64le
15cd06
15cd06
%define sdkdir  %{_datadir}/%{name}
15cd06
%define docdir  %{_docdir}/%{name}
15cd06
%define incdir  %{_includedir}/%{name}
15cd06
%define pmddir  %{_libdir}/%{name}-pmds
15cd06
15cd06
%if 0%{?rhel} && 0%{?rhel} < 9
15cd06
# Fix conflicts with README and MAINTAINERS (included in dpdk-doc < 18.11-2),
15cd06
# this affects only RHEL8.
15cd06
Conflicts: dpdk-doc < 18.11-2
15cd06
%endif
15cd06
15cd06
BuildRequires: meson
15cd06
Source1: https://github.com/eliben/pyelftools/archive/refs/tags/v%{pyelftoolsver}.tar.gz#/pyelftools-%{pyelftoolsver}.tar.gz
15cd06
%if 0%{?rhel} > 8 || 0%{?fedora}
15cd06
BuildRequires: python3-pyelftools
15cd06
%endif
c19feb
BuildRequires: gcc, zlib-devel, numactl-devel, libarchive-devel
15cd06
BuildRequires: doxygen, python3-sphinx
15cd06
%ifarch x86_64
15cd06
BuildRequires: rdma-core-devel >= 15
15cd06
%endif
15cd06
15cd06
%description
15cd06
The Data Plane Development Kit is a set of libraries and drivers for
15cd06
fast packet processing in the user space.
15cd06
15cd06
%package devel
15cd06
Summary: Data Plane Development Kit development files
15cd06
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
15cd06
%ifarch x86_64
15cd06
Requires: rdma-core-devel
15cd06
%endif
15cd06
15cd06
%description devel
15cd06
This package contains the headers and other files needed for developing
15cd06
applications with the Data Plane Development Kit.
15cd06
15cd06
%package doc
15cd06
Summary: Data Plane Development Kit API documentation
15cd06
BuildArch: noarch
15cd06
15cd06
%description doc
15cd06
API programming documentation for the Data Plane Development Kit.
15cd06
15cd06
%if %{with tools}
15cd06
%package tools
15cd06
Summary: Tools for setting up Data Plane Development Kit environment
15cd06
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
15cd06
Requires: kmod pciutils findutils iproute python3
15cd06
15cd06
%description tools
15cd06
%{summary}
15cd06
%endif
15cd06
15cd06
%if %{with examples}
15cd06
%package examples
15cd06
Summary: Data Plane Development Kit example applications
15cd06
BuildRequires: libvirt-devel
15cd06
15cd06
%description examples
15cd06
Example applications utilizing the Data Plane Development Kit, such
15cd06
as L2 and L3 forwarding.
15cd06
%endif
15cd06
15cd06
%prep
15cd06
%if 0%{?rhel} && 0%{?rhel} < 9
15cd06
%setup -q -a 1 -n %{srcname}-%{?commit0:%{commit0}}%{!?commit0:%{ver}}
15cd06
%else
15cd06
%setup -q -n %{srcname}-%{?commit0:%{commit0}}%{!?commit0:%{ver}}
15cd06
%endif
15cd06
%autopatch -p1
15cd06
15cd06
%build
15cd06
%if 0%{?rhel} && 0%{?rhel} < 9
15cd06
export PYTHONPATH=$(pwd)/pyelftools-%{pyelftoolsver}
15cd06
%endif
15cd06
c19feb
ENABLED_APPS=(
c19feb
    test-pmd
c19feb
    test-bbdev
c19feb
)
c19feb
c19feb
for app in "${ENABLED_APPS[@]}"; do
c19feb
    enable_apps="${enable_apps:+$enable_apps,}"$app
c19feb
done
c19feb
15cd06
ENABLED_DRIVERS=(
15cd06
    bus/pci
15cd06
    bus/vdev
15cd06
    mempool/ring
15cd06
    net/failsafe
15cd06
    net/i40e
15cd06
    net/ring
15cd06
    net/vhost
15cd06
    net/virtio
15cd06
    net/tap
15cd06
)
15cd06
15cd06
%ifarch x86_64
15cd06
ENABLED_DRIVERS+=(
c19feb
    baseband/acc
15cd06
    bus/auxiliary
15cd06
    bus/vmbus
15cd06
    common/iavf
15cd06
    common/mlx5
15cd06
    net/bnxt
15cd06
    net/enic
15cd06
    net/iavf
15cd06
    net/ice
15cd06
    net/mlx4
15cd06
    net/mlx5
15cd06
    net/netvsc
15cd06
    net/nfp
15cd06
    net/qede
15cd06
    net/vdev_netvsc
15cd06
)
15cd06
%endif
15cd06
15cd06
%ifarch aarch64 x86_64
15cd06
ENABLED_DRIVERS+=(
15cd06
    net/e1000
15cd06
    net/ixgbe
15cd06
)
15cd06
%endif
15cd06
c19feb
for driver in "${ENABLED_DRIVERS[@]}"; do
15cd06
    enable_drivers="${enable_drivers:+$enable_drivers,}"$driver
15cd06
done
15cd06
c19feb
# As of 22.11, following libraries can be disabled:
15cd06
# optional_libs = [
15cd06
#         'bitratestats',
c19feb
#         'cfgfile',
c19feb
#         'flow_classify',
15cd06
#         'gpudev',
15cd06
#         'gro',
15cd06
#         'gso',
15cd06
#         'kni',
15cd06
#         'jobstats',
15cd06
#         'latencystats',
15cd06
#         'metrics',
c19feb
#         'node',
15cd06
#         'pdump',
c19feb
#         'pipeline',
c19feb
#         'port',
15cd06
#         'power',
c19feb
#         'table',
15cd06
#         'vhost',
15cd06
# ]
15cd06
# If doing any updates, this must be aligned with:
15cd06
# https://access.redhat.com/articles/3538141
15cd06
DISABLED_LIBS=(
c19feb
    cfgfile
c19feb
    flow_classify
15cd06
    gpudev
15cd06
    kni
15cd06
    jobstats
c19feb
    node
c19feb
    pipeline
c19feb
    port
15cd06
    power
c19feb
    table
15cd06
)
15cd06
15cd06
for lib in "${DISABLED_LIBS[@]}"; do
15cd06
    disable_libs="${disable_libs:+$disable_libs,}"$lib
15cd06
done
15cd06
15cd06
%meson --includedir=include/dpdk \
15cd06
       --default-library=shared \
15cd06
       -Ddisable_libs="$disable_libs" \
15cd06
       -Ddrivers_install_subdir=dpdk-pmds \
c19feb
       -Denable_apps="$enable_apps" \
15cd06
       -Denable_docs=true \
15cd06
       -Denable_drivers="$enable_drivers" \
15cd06
       -Dplatform=generic \
15cd06
       -Dmax_ethports=32 \
15cd06
       -Dmax_numa_nodes=8 \
15cd06
       -Dtests=false
15cd06
15cd06
# Check drivers and libraries
15cd06
for driver in "${ENABLED_DRIVERS[@]}"; do
c19feb
	config_token="RTE_$(echo "$driver" | tr [a-z/] [A-Z_])"
c19feb
	! grep -Fqw "$config_token" */rte_build_config.h || continue
15cd06
	echo "!!! Could not find $driver in rte_build_config.h, please check dependencies. !!!"
15cd06
	false
15cd06
done
15cd06
for lib in "${DISABLED_LIBS[@]}"; do
c19feb
	config_token="RTE_LIB_$(echo "$lib" | tr [a-z/] [A-Z_])"
c19feb
	grep -Fqw "$config_token" */rte_build_config.h || continue
15cd06
	echo "!!! Found $lib in rte_build_config.h. !!!"
15cd06
	false
15cd06
done
15cd06
%meson_build
15cd06
15cd06
%install
15cd06
%meson_install
15cd06
15cd06
rm -f %{buildroot}%{_libdir}/*.a
c19feb
# Taken from debian/rules
15cd06
rm -f %{docdir}/html/.buildinfo
15cd06
rm -f %{docdir}/html/objects.inv
15cd06
rm -rf %{docdir}/html/.doctrees
15cd06
15cd06
%files
15cd06
# BSD
15cd06
%doc README MAINTAINERS
15cd06
%{_bindir}/dpdk-testpmd
c19feb
%{_bindir}/dpdk-test-bbdev
15cd06
%dir %{pmddir}
15cd06
%{_libdir}/*.so.*
15cd06
%{pmddir}/*.so.*
15cd06
15cd06
%files doc
15cd06
#BSD
15cd06
%exclude %{docdir}/README
15cd06
%exclude %{docdir}/MAINTAINERS
15cd06
%{docdir}
15cd06
15cd06
%files devel
15cd06
#BSD
15cd06
%{incdir}/
15cd06
%{sdkdir}/
15cd06
%if %{with tools}
15cd06
%exclude %{_bindir}/dpdk-*.py
15cd06
%endif
15cd06
%if %{with examples}
15cd06
%exclude %{sdkdir}/examples/
15cd06
%endif
15cd06
%{_libdir}/*.so
15cd06
%{pmddir}/*.so
15cd06
%{_libdir}/pkgconfig/libdpdk.pc
15cd06
%{_libdir}/pkgconfig/libdpdk-libs.pc
15cd06
%if %{with examples}
15cd06
%files examples
15cd06
%{_bindir}/dpdk-*
15cd06
%doc %{sdkdir}/examples/
15cd06
%endif
15cd06
15cd06
%if %{with tools}
15cd06
%files tools
15cd06
%{_bindir}/dpdk-*.py
15cd06
%endif
15cd06
15cd06
%changelog
c19feb
* Thu Mar 23 2023 Timothy Redaelli <tredaelli@redhat.com> - 22.11-3
c19feb
- Add support to load compressed firmware (#2179024)
c19feb
c19feb
* Fri Mar 03 2023 Maxime Coquelin <maxime.coquelin@redhat.com> - 22.11-2
c19feb
- Add ACC100/ACC200 and related test-bbdev application (#2106526, #2138398)
c19feb
c19feb
* Mon Jan 23 2023 Timothy Redaelli <tredaelli@redhat.com> - 22.11-1
c19feb
- Rebase to 22.11 (#2129066)
c19feb
69c2b8
* Mon Sep 12 2022 Timothy Redaelli <tredaelli@redhat.com> - 21.11.2-1
69c2b8
- Rebase to 21.11.2 (#2126159)
69c2b8
- Includes fixes for CVE-2022-2132 (#2107173) and CVE-2022-28199 (#2123616)
69c2b8
69c2b8
* Wed Jul 13 2022 Timothy Redaelli <tredaelli@redhat.com> - 21.11.1-1
69c2b8
- Rebase to 21.11.1 (#2106856)
69c2b8
- Includes fix for CVE-2021-3839 (#2026642)
69c2b8
15cd06
* Tue Nov 23 2021 David Marchand <david.marchand@redhat.com> - 21.11-1
15cd06
- Rebase to 21.11 (#2030616)
15cd06
15cd06
* Fri Nov 19 2021 Timothy Redaelli <tredaelli@redhat.com> - 20.11.1-1
15cd06
- Rebase to 20.11.1 (#2024994)
15cd06
15cd06
* Tue Feb 16 2021 Timothy Redaelli <tredaelli@redhat.com> - 20.11-3
15cd06
- Fix gating since on DPDK 20.11 testpmd is called dpdk-testpmd
15cd06
15cd06
* Wed Feb 10 2021 Timothy Redaelli <tredaelli@redhat.com> - 20.11-2
15cd06
- Enable ice PMD for x86_64 (#1927179)
15cd06
15cd06
* Tue Dec 01 2020 Timothy Redaelli <tredaelli@redhat.com> - 20.11-1
15cd06
- Rebase DPDK to 20.11 using meson build system (#1908446)
15cd06
15cd06
* Thu Aug 13 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11.3-1
15cd06
- Rebase DPDK to 19.11.3 (#1868708)
15cd06
15cd06
* Wed May 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11.2-1
15cd06
- Rebase DPDK to 19.11.2 (#1836830, #1837024, #1837030, #1837022)
15cd06
15cd06
* Fri Apr 17 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11.1-1
15cd06
- Rebase DPDK to 19.11.1 (#1824905)
15cd06
- Remove dpdk-pmdinfo.py (#1801361)
15cd06
- Add Requires: rdma-core-devel libmnl-devel on x86_64 for dpdk-devel (#1813252)
15cd06
15cd06
* Thu Feb 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11-4
15cd06
- Remove MLX{4,5} glue libraries since RHEL 8 ships the correct libibverbs
15cd06
  library. (#1805140)
15cd06
15cd06
* Mon Feb 17 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11-3
15cd06
- Remove /usr/share/dpdk/mk/exec-env/{bsd,linux}app symlinks (#1773889)
15cd06
15cd06
* Thu Feb 13 2020 Timothy Redaelli <tredaelli@redhat.com> - 19.11-2
15cd06
- Add pretrans to handle /usr/share/dpdk/mk/exec-env/{bsd,linux}app (#1773889)
15cd06
15cd06
* Thu Nov 28 2019 David Marchand <david.marchand@redhat.com> - 19.11-1
15cd06
- Rebase to 19.11 (#1773889)
15cd06
- Remove dpdk-pdump (#1779229)
15cd06
15cd06
* Mon Nov 04 2019 Timothy Redaelli <tredaelli@redhat.com> - 18.11.2-4
15cd06
- Pass the correct LDFLAGS to host apps (dpdk-pmdinfogen) too (#1755538)
15cd06
15cd06
* Mon Sep 16 2019 Jens Freimann <jfreimann@redhat.com> - 18.11.2-3
15cd06
- Add fix for wrong pointer calculation to fix Covscan issue
15cd06
- https://cov01.lab.eng.brq.redhat.com/covscanhub/task/135452/log/added.html
15cd06
15cd06
* Wed Aug 14 2019 Jens Freimann <jfreimann@redhat.com> - 18.11.2-2
15cd06
- Backport "net/virtio: allocate vrings on device NUMA node" (#1700373)
15cd06
15cd06
* Thu Jun 27 2019 Timothy Redaelli <tredaelli@redhat.com> - 18.11.2-1
15cd06
- Updated to DPDK 18.11.2 (#1713704)
15cd06
15cd06
* Fri May 24 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11.8
15cd06
- Backport "net/virtio: allocate vrings on device NUMA node" (#1525039)
15cd06
15cd06
* Thu May 23 2019 Timothy Redaelli <tredaelli@redhat.com> - 18.11-7
15cd06
- Really use the security cflags (copied from Fedora RPM) (#1703985)
15cd06
15cd06
* Fri May 17 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11-6
15cd06
- Fix basic CI gating test (#1682308)
15cd06
- Add manual gating test (#1682308)
15cd06
15cd06
* Tue Mar 26 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11-5
15cd06
- Add basic CI gating test (#1682308)
15cd06
15cd06
* Mon Feb 18 2019 Jens Freimann <jfreiman@redhat.com> - 18.11-4
15cd06
- Set correct offload flags for virtio and allow jumbo frames (#1676646)
15cd06
15cd06
* Mon Feb 18 2019 Maxime Coquelin <maxime.coquelin@redhat.com> - 18.11.3
15cd06
- Backport NETVSC pmd fixes (#1676534)
15cd06
15cd06
* Tue Nov 27 2018 Timothy Redaelli <tredaelli@redhat.com> - 18.11-2
15cd06
- Remove meson.build from dpdk-tools
15cd06
- Don't install README and MAINTAINERS in dpdk-doc
15cd06
15cd06
* Tue Nov 27 2018 Timothy Redaelli <tredaelli@redhat.com> - 18.11-1
15cd06
- Updated to DPDK 18.11 (#1492326):
15cd06
  - Updated configs
15cd06
  - Added libmnl-devel BuildRequires for Mellanox
15cd06
15cd06
* Thu Sep 20 2018 Tomas Orsava <torsava@redhat.com> - 17.11-14
15cd06
- Require the Python interpreter directly instead of using the package name
15cd06
- Related: rhbz#1619153
15cd06
15cd06
* Mon Sep 10 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-13
15cd06
- Backport "net/mlx{4,5}: Avoid stripping the glue library" (#1609659)
15cd06
15cd06
* Fri Jul 20 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-12
15cd06
- Use python3 packages on RHEL8 and Fedora
15cd06
- Remove dpdk-pmdinfo (#1494462)
15cd06
- Backport "net/mlx5: fix build with rdma-core v19"
15cd06
15cd06
* Thu Jun 14 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-11
15cd06
- Re-align with DPDK patches inside OVS FDP 18.06 (#1591198)
15cd06
15cd06
* Mon Jun 11 2018 Aaron Conole <aconole@redhat.com> - 17.11-10
15cd06
- Fix mlx5 memory region boundary checks (#1581230)
15cd06
15cd06
* Thu Jun 07 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-9
15cd06
- Add 2 missing QEDE patches
15cd06
- Fix previous changelog date
15cd06
15cd06
* Thu Jun 07 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-8
15cd06
- Align with DPDK patches inside OVS FDP 18.06
15cd06
- Enable BNXT, MLX4, MLX5, NFP and QEDE PMDs
15cd06
- Backport "net/mlx: fix rdma-core glue path with EAL plugins" (only needed on
15cd06
  DPDK package)
15cd06
15cd06
* Wed Jan 31 2018 Kevin Traynor <ktraynor@redhat.com> - 17.11-7
15cd06
- Backport to forbid IOVA mode if IOMMU address width too small (#1530957)
15cd06
15cd06
* Wed Jan 31 2018 Aaron Conole <aconole@redhat.com> - 17.11-6
15cd06
- Backport to protect active vhost_user rings (#1525446)
15cd06
15cd06
* Tue Jan 09 2018 Timothy Redaelli <tredaelli@redhat.com> - 17.11-5
15cd06
- Real backport of "net/virtio: fix vector Rx break caused by rxq flushing"
15cd06
15cd06
* Thu Dec 14 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-4
15cd06
- Backport "net/virtio: fix vector Rx break caused by rxq flushing"
15cd06
15cd06
* Wed Dec 06 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-3
15cd06
- Enable ENIC only for x86_64
15cd06
15cd06
* Wed Dec 06 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-2
15cd06
- Re-add main package dependency from dpdk-tools
15cd06
- Add explicit python dependency to dpdk-tools
15cd06
15cd06
* Tue Nov 28 2017 Timothy Redaelli <tredaelli@redhat.com> - 17.11-1
15cd06
- Update to DPDK 17.11 (#1522700)
15cd06
- Use a static configuration file
15cd06
- Remove i686 from ExclusiveArch since it's not supported on RHEL7
15cd06
- Remove "--without shared" support
15cd06
15cd06
* Fri Oct 13 2017 Josh Boyer <jwboyer@redhat.com> - 16.11.2-6
15cd06
- Rebuild to pick up all arches
15cd06
15cd06
* Fri Oct 13 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11.2-5
15cd06
- Enable only supported PMDs (#1497384)
15cd06
15cd06
* Fri Jun 23 2017 John W. Linville <linville@redhat.com> - 16.11.2-4
15cd06
- Backport "eal/ppc: fix mmap for memory initialization"
15cd06
15cd06
* Fri Jun 09 2017 John W. Linville <linville@redhat.com> - 16.11.2-3
15cd06
- Enable i40e driver in PowerPC along with its altivec intrinsic support
15cd06
- Add PCI probing support for vfio-pci devices in Power8
15cd06
15cd06
* Thu Jun 08 2017 John W. Linville <linville@redhat.com> - 16.11.2-2
15cd06
- Enable aarch64, ppc64le (#1428587)
15cd06
15cd06
* Thu Jun 08 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11.2-1
15cd06
- Import from fdProd
15cd06
- Update to 16.11.2 (#1459333)
15cd06
15cd06
* Wed Mar 22 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11-4
15cd06
- Avoid infinite loop while linking with libdpdk.so (#1434907)
15cd06
15cd06
* Thu Feb 02 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11-3
15cd06
- Make driverctl a different package
15cd06
15cd06
* Thu Dec 08 2016 Kevin Traynor <ktraynor@redhat.com> - 16.11-2
15cd06
- Update to DPDK 16.11 (#1335865)
15cd06
15cd06
* Wed Oct 05 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-1
15cd06
- Update to DPDK 16.07 (#1383195)
15cd06
- Disable unstable bnx2x driver (#1330589)
15cd06
- Enable librte_vhost NUMA support again (#1279525)
15cd06
- Enable librte_cryptodev, its no longer considered experimental
15cd06
- Change example prefix to dpdk- for consistency with other utilities
15cd06
- Update driverctl to 0.89
15cd06
15cd06
* Thu Jul 21 2016 Flavio Leitner <fbl@redhat.com> - 16.04-4
15cd06
- Updated to DPDK 16.04
15cd06
15cd06
* Wed Mar 16 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-3
15cd06
- Disable librte_vhost NUMA support for now, it causes segfaults
15cd06
15cd06
* Wed Jan 27 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-2
15cd06
- Use a different quoting method to avoid messing up vim syntax highlighting
15cd06
- A string is expected as CONFIG_RTE_MACHINE value, quote it too
15cd06
- Enable librte_vhost NUMA-awareness
15cd06
15cd06
* Tue Jan 12 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-1
15cd06
- Update DPDK to 2.2.0 final
15cd06
- Add README and MAINTAINERS docs
15cd06
- Adopt new upstream standard installation layout, including
15cd06
  dpdk_nic_bind.py renamed to dpdk_nic_bind
15cd06
- Move the unversioned pmd symlinks from libdir -devel
15cd06
- Establish a driver directory for automatic driver loading
15cd06
- Disable CONFIG_RTE_SCHED_VECTOR, it conflicts with CONFIG_RTE_MACHINE default
15cd06
- Disable experimental cryptodev library
15cd06
- More complete dtneeded patch
15cd06
- Make option matching stricter in spec setconf
15cd06
- Update driverctl to 0.59
15cd06
15cd06
* Wed Dec 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-5
15cd06
- Fix artifacts from driverctl having different version
15cd06
- Update driverctl to 0.58
15cd06
15cd06
* Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-4
15cd06
- Add driverctl sub-package
15cd06
15cd06
* Fri Oct 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-3
15cd06
- Enable bnx2x pmd, which buildrequires zlib-devel
15cd06
15cd06
* Mon Sep 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-2
15cd06
- Make lib and include available both ways in the SDK paths
15cd06
15cd06
* Thu Sep 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-1
15cd06
- Update to dpdk 2.1.0 final
15cd06
  - Disable ABI_NEXT
15cd06
  - Rebase patches as necessary
15cd06
  - Fix build of ip_pipeline example
15cd06
  - Drop no longer needed -Wno-error=array-bounds
15cd06
  - Rename libintel_dpdk to libdpdk
15cd06
15cd06
* Tue Aug 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-9
15cd06
- Drop main package dependency from dpdk-tools
15cd06
15cd06
* Wed May 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-8
15cd06
- Drop eventfd-link patch, its only needed for vhost-cuse
15cd06
15cd06
* Tue May 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-7
15cd06
- Drop pointless build conditional, the linker script is here to stay
15cd06
- Drop vhost-cuse build conditional, vhost-user is here to stay
15cd06
- Cleanup comments a bit
15cd06
- Enable parallel build again
15cd06
- Dont build examples by default
15cd06
15cd06
* Thu Apr 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-6
15cd06
- Fix potential hang and thread issues with VFIO eventfd
15cd06
15cd06
* Fri Apr 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-5
15cd06
- Fix a potential hang due to missed interrupt in vhost library
15cd06
15cd06
* Tue Apr 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-4
15cd06
- Drop unused pre-2.0 era patches
15cd06
- Handle vhost-user/cuse selection automatically based on the copr repo name
15cd06
15cd06
* Fri Apr 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-3
15cd06
- Dont depend on fuse when built for vhost-user support
15cd06
- Drop version from testpmd binary, we wont be parallel-installing that
15cd06
15cd06
* Thu Apr 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-2
15cd06
- Remove the broken kmod stuff
15cd06
- Add a new dkms-based eventfd_link subpackage if vhost-cuse is enabled
15cd06
15cd06
* Tue Apr 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-1
15cd06
- Update to 2.0 final (http://dpdk.org/doc/guides-2.0/rel_notes/index.html)
15cd06
15cd06
* Thu Apr 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2086.git263333bb.2
15cd06
- Switch (back) to vhost-user, thus disabling vhost-cuse support
15cd06
- Build requires fuse-devel for now even when fuse is unused
15cd06
15cd06
* Mon Mar 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2049.git2f95a470.1
15cd06
- New snapshot
15cd06
- Add spec option for enabling vhost-user instead of vhost-cuse
15cd06
- Build requires fuse-devel only with vhost-cuse
15cd06
- Add virtual provide for vhost user/cuse tracking
15cd06
15cd06
* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.3
15cd06
- Disable vhost-user for now to get vhost-cuse support, argh.
15cd06
15cd06
* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.2
15cd06
- Add a bunch of missing dependencies to -tools
15cd06
15cd06
* Thu Mar 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.1
15cd06
- Another day, another snapshot
15cd06
- Disable IVSHMEM support for now
15cd06
15cd06
* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.2
15cd06
- Dont fail build for array bounds warnings for now, gcc 5 is emitting a bunch
15cd06
15cd06
* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.1
15cd06
- Another day, another snapshot
15cd06
- Avoid building pdf docs
15cd06
15cd06
* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.2
15cd06
- Add missing dependency to tools -subpackage
15cd06
15cd06
* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.1
15cd06
- New snapshot
15cd06
- Work around #1198009
15cd06
15cd06
* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.2
15cd06
- Optionally package tools too, some binding script is needed for many setups
15cd06
15cd06
* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.1
15cd06
- New snapshot
15cd06
- Disable kernel module build by default
15cd06
- Add patch to fix missing defines/includes for external applications
15cd06
15cd06
* Fri Feb 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1906.git00c68563.1
15cd06
- New snapshot
15cd06
- Remove bogus devname module alias from eventfd-link module
15cd06
- Whack evenfd-link to honor RTE_KERNELDIR too
15cd06
15cd06
* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.3
15cd06
- Add spec option to build kernel modules too
15cd06
- Build eventfd-link module too if kernel modules enabled
15cd06
15cd06
* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.2
15cd06
- Move config changes from spec after "make config" to simplify things
15cd06
- Move config changes from dpdk-config patch to the spec
15cd06
15cd06
* Thu Feb 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1717.gitd3aa5274.2
15cd06
- Fix warnings tripping up build with gcc 5, remove -Wno-error
15cd06
15cd06
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1698.gitc07691ae.1
15cd06
- Move the unversioned .so links for plugins into main package
15cd06
- New snapshot
15cd06
15cd06
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.3
15cd06
- Fix missing symbol export for rte_eal_iopl_init()
15cd06
- Only mention libs once in the linker script
15cd06
15cd06
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.2
15cd06
- Fix gcc version logic to work with 5.0 too
15cd06
15cd06
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.1
15cd06
- Add spec magic to easily switch between stable and snapshot versions
15cd06
- Add tarball snapshot script for reference
15cd06
- Update to pre-2.0 git snapshot
15cd06
15cd06
* Thu Feb 12 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-15
15cd06
- Disable -Werror, this is not useful behavior for released versions
15cd06
15cd06
* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-14
15cd06
- Fix typo causing librte_vhost missing DT_NEEDED on fuse
15cd06
15cd06
* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-13
15cd06
- Fix vhost library linkage
15cd06
- Add spec option to build example applications, enable by default
15cd06
15cd06
* Fri Feb 06 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-12
15cd06
- Enable librte_acl build
15cd06
- Enable librte_ivshmem build
15cd06
15cd06
* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-11
15cd06
- Drop the private libdir, not needed with versioned libs
15cd06
15cd06
* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-10
15cd06
- Drop symbol versioning patches, always do library version for shared
15cd06
- Add comment on the combined library thing
15cd06
15cd06
* Wed Feb 04 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-9
15cd06
- Add missing symbol version to librte_cmdline
15cd06
15cd06
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-8
15cd06
- Set soname of the shared libraries
15cd06
- Fixup typo in ld path config file name
15cd06
15cd06
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-7
15cd06
- Add library versioning patches as another build option, enable by default
15cd06
15cd06
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-6
15cd06
- Add our libraries to ld path & run ldconfig when using shared libs
15cd06
15cd06
* Fri Jan 30 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-5
15cd06
- Add DT_NEEDED for external dependencies (pcap, fuse, dl, pthread)
15cd06
- Enable combined library creation, needed for OVS
15cd06
- Enable shared library creation, needed for sanity
15cd06
15cd06
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-4
15cd06
- Include scripts directory in the "sdk" too
15cd06
15cd06
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-3
15cd06
- Fix -Wformat clash preventing i40e driver build, enable it
15cd06
- Fix -Wall clash preventing enic driver build, enable it
15cd06
15cd06
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-2
15cd06
- Enable librte_vhost, which buildrequires fuse-devel
15cd06
- Enable physical NIC drivers that build (e1000, ixgbe) for VFIO use
15cd06
15cd06
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-1
15cd06
- Update to 1.8.0
15cd06
15cd06
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-8
15cd06
- Always build with -fPIC
15cd06
15cd06
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-7
15cd06
- Policy compliance: move static libraries to -devel, provide dpdk-static
15cd06
- Add a spec option to build as shared libraries
15cd06
15cd06
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-6
15cd06
- Avoid variable expansion in the spec here-documents during build
15cd06
- Drop now unnecessary debug flags patch
15cd06
- Add a spec option to build a combined library
15cd06
15cd06
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-5
15cd06
- Avoid unnecessary use of %%global, lazy expansion is normally better
15cd06
- Drop unused destdir macro while at it
15cd06
- Arrange for RTE_SDK environment + directory layout expected by DPDK apps
15cd06
- Drop config from main package, it shouldn't be needed at runtime
15cd06
15cd06
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-4
15cd06
- Copy the headers instead of broken symlinks into -devel package
15cd06
- Force sane mode on the headers
15cd06
- Avoid unnecessary %%exclude by not copying unpackaged content to buildroot
15cd06
- Clean up summaries and descriptions
15cd06
- Drop unnecessary kernel-devel BR, we are not building kernel modules
15cd06
15cd06
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
15cd06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
15cd06
15cd06
* Thu Jul 17 2014 - John W. Linville <linville@redhat.com> - 1.7.0-2
15cd06
- Use EXTRA_CFLAGS to include standard Fedora compiler flags in build
15cd06
- Set CONFIG_RTE_MACHINE=default to build for least-common-denominator machines
15cd06
- Turn-off build of librte_acl, since it does not build on default machines
15cd06
- Turn-off build of physical device PMDs that require kernel support
15cd06
- Clean-up the install rules to match current packaging
15cd06
- Correct changelog versions 1.0.7 -> 1.7.0
15cd06
- Remove ix86 from ExclusiveArch -- it does not build with above changes
15cd06
15cd06
* Thu Jul 10 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-1.0
15cd06
- Update source to official 1.7.0 release
15cd06
15cd06
* Thu Jul 03 2014 - Neil Horman <nhorman@tuxdriver.com>
15cd06
- Fixing up release numbering
15cd06
15cd06
* Tue Jul 01 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.1.20140603git5ebbb1728
15cd06
- Fixed some build errors (empty debuginfo, bad 32 bit build)
15cd06
15cd06
* Wed Jun 11 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.20140603git5ebbb1728
15cd06
- Fix another build dependency
15cd06
15cd06
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.8.20140603git5ebbb1728
15cd06
- Fixed doc arch versioning issue
15cd06
15cd06
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.7.20140603git5ebbb1728
15cd06
- Added verbose output to build
15cd06
15cd06
* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.6.20140603git5ebbb1728
15cd06
- Initial Build
15cd06