|
|
15b5e9 |
# Add option to build as static libraries (--without shared)
|
|
|
15b5e9 |
%bcond_without shared
|
|
|
15b5e9 |
# Add option to build with examples
|
|
|
15b5e9 |
%bcond_with examples
|
|
|
15b5e9 |
# Add option to build without tools
|
|
|
15b5e9 |
%bcond_without tools
|
|
|
ccb313 |
# Add option to build without driverctl
|
|
|
ccb313 |
%bcond_without driverctl
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Dont edit Version: and Release: directly, only these:
|
|
|
ccb313 |
%define ver 2.2.0
|
|
|
ccb313 |
# NOTE: due to driverctl having its own version, only reset release
|
|
|
ccb313 |
# to 1 when *both* dpdk and driverctl are updated.
|
|
|
15cc6b |
%define rel 3
|
|
|
15b5e9 |
# Define when building git snapshots
|
|
|
15b5e9 |
#define snapver 2086.git263333bb
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%define srcver %{ver}%{?snapver:-%{snapver}}
|
|
|
ccb313 |
%define dctlver 0.59
|
|
|
15b5e9 |
|
|
|
15b5e9 |
Name: dpdk
|
|
|
15b5e9 |
Version: %{ver}
|
|
|
15b5e9 |
Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}
|
|
|
15b5e9 |
URL: http://dpdk.org
|
|
|
15b5e9 |
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{srcver}.tar.gz
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Only needed for creating snapshot tarballs, not used in build itself
|
|
|
15b5e9 |
Source100: dpdk-snapshot.sh
|
|
|
15b5e9 |
|
|
|
ccb313 |
Patch1: dpdk-2.2-warningflags.patch
|
|
|
ccb313 |
Patch2: dpdk-2.2-dtneeded.patch
|
|
|
ccb313 |
Patch3: dpdk-2.2-buildopts.patch
|
|
|
15b5e9 |
|
|
|
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
|
|
|
15b5e9 |
# other techniques, carefully crafted x86 assembly instructions. As such it
|
|
|
15b5e9 |
# currently (and likely never will) run on non-x86 platforms.
|
|
|
15b5e9 |
ExclusiveArch: x86_64
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%define machine native
|
|
|
15b5e9 |
%define target x86_64-%{machine}-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 |
|
|
|
ccb313 |
BuildRequires: kernel-headers, libpcap-devel, zlib-devel, numactl-devel
|
|
|
15b5e9 |
BuildRequires: doxygen, python-sphinx
|
|
|
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 |
%if ! %{with shared}
|
|
|
15b5e9 |
Provides: %{name}-static = %{version}-%{release}
|
|
|
15b5e9 |
%endif
|
|
|
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
|
|
|
15b5e9 |
Requires: kmod pciutils findutils iproute
|
|
|
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 |
|
|
|
ccb313 |
%if %{with driverctl}
|
|
|
ccb313 |
%package -n driverctl
|
|
|
ccb313 |
Version: %{dctlver}
|
|
|
ccb313 |
Summary: Driver control utility
|
|
|
ccb313 |
Requires(post,postun): systemd
|
|
|
ccb313 |
Requires: coreutils kmod
|
|
|
ccb313 |
# for udev macros
|
|
|
ccb313 |
BuildRequires: systemd
|
|
|
ccb313 |
BuildArch: noarch
|
|
|
ccb313 |
Source10: driverctl-%{dctlver}.tar.gz
|
|
|
ccb313 |
|
|
|
ccb313 |
%description -n driverctl
|
|
|
ccb313 |
%{summary}
|
|
|
ccb313 |
|
|
|
ccb313 |
# restore original version, sub-package specific versions are problematic...
|
|
|
ccb313 |
%undefine version
|
|
|
ccb313 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%prep
|
|
|
ccb313 |
%setup -q -n %{name}-%{srcver} %{?with_driverctl:-a 10}
|
|
|
ccb313 |
%patch1 -p1 -z .warningflags
|
|
|
ccb313 |
%patch2 -p1 -z .dtneeded
|
|
|
ccb313 |
%patch3 -p1 -z .buildopts
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%build
|
|
|
15b5e9 |
function setconf()
|
|
|
15b5e9 |
{
|
|
|
15b5e9 |
cf=%{target}/.config
|
|
|
ccb313 |
if grep -q ^$1= $cf; then
|
|
|
15b5e9 |
sed -i "s:^$1=.*$:$1=$2:g" $cf
|
|
|
15b5e9 |
else
|
|
|
15b5e9 |
echo $1=$2 >> $cf
|
|
|
15b5e9 |
fi
|
|
|
15b5e9 |
}
|
|
|
15b5e9 |
# In case dpdk-devel is installed
|
|
|
15b5e9 |
unset RTE_SDK RTE_INCLUDE RTE_TARGET
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Avoid appending second -Wall to everything, it breaks hand-picked
|
|
|
15b5e9 |
# disablers like per-file -Wno-strict-aliasing
|
|
|
ccb313 |
export EXTRA_CFLAGS="`echo %{optflags} | sed -e 's:-Wall::g'` -fPIC"
|
|
|
15b5e9 |
|
|
|
15b5e9 |
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# DPDK defaults to optimizing for the builder host we need generic binaries
|
|
|
ccb313 |
setconf CONFIG_RTE_MACHINE '"default"'
|
|
|
ccb313 |
setconf CONFIG_RTE_SCHED_VECTOR n
|
|
|
15b5e9 |
|
|
|
ccb313 |
# Enable automatic driver loading from this path
|
|
|
ccb313 |
setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"'
|
|
|
ccb313 |
|
|
|
ccb313 |
# Enable bnx2x, pcap and vhost build, the added deps are ok for us
|
|
|
ccb313 |
setconf CONFIG_RTE_LIBRTE_BNX2X_PMD y
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y
|
|
|
15cc6b |
# Disabled for now, causes segfaults
|
|
|
15cc6b |
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA n
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%if %{with shared}
|
|
|
15b5e9 |
setconf CONFIG_RTE_BUILD_SHARED_LIB y
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Disable kernel modules
|
|
|
15b5e9 |
setconf CONFIG_RTE_EAL_IGB_UIO n
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_KNI n
|
|
|
ccb313 |
setconf CONFIG_RTE_KNI_KMOD n
|
|
|
ccb313 |
|
|
|
ccb313 |
# Disable experimental and ABI-breaking code
|
|
|
ccb313 |
setconf CONFIG_RTE_NEXT_ABI n
|
|
|
ccb313 |
setconf CONFIG_RTE_LIBRTE_CRYPTODEV n
|
|
|
ccb313 |
setconf CONFIG_RTE_LIBRTE_MBUF_OFFLOAD n
|
|
|
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 |
|
|
|
ccb313 |
# Create a driver directory with symlinks to all pmds
|
|
|
ccb313 |
mkdir -p %{buildroot}/%{pmddir}
|
|
|
15b5e9 |
%if %{with shared}
|
|
|
ccb313 |
for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
|
|
|
ccb313 |
bn=$(basename ${f})
|
|
|
ccb313 |
ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
|
|
|
ccb313 |
done
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
ccb313 |
%if ! %{with tools}
|
|
|
ccb313 |
rm -rf %{buildroot}%{sdkdir}/tools
|
|
|
ccb313 |
rm -rf %{buildroot}%{_sbindir}/dpdk_nic_bind
|
|
|
15b5e9 |
%endif
|
|
|
ccb313 |
rm -f %{buildroot}%{sdkdir}/tools/setup.sh
|
|
|
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}`
|
|
|
15b5e9 |
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
|
|
|
ccb313 |
sed -i -e 's:-%{machine}-:-default-:g' %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk*
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Upstream has an option to build a combined library but it's bloatware which
|
|
|
15b5e9 |
# wont work at all when library versions start moving, replace it with a
|
|
|
15b5e9 |
# linker script which avoids these issues. Linking against the script during
|
|
|
15b5e9 |
# build resolves into links to the actual used libraries which is just fine
|
|
|
15b5e9 |
# for us, so this combined library is a build-time only construct now.
|
|
|
ccb313 |
%if %{with shared}
|
|
|
ccb313 |
libext=so
|
|
|
ccb313 |
%else
|
|
|
ccb313 |
libext=a
|
|
|
ccb313 |
%endif
|
|
|
ccb313 |
comblib=libdpdk.${libext}
|
|
|
15b5e9 |
|
|
|
15b5e9 |
echo "GROUP (" > ${comblib}
|
|
|
15b5e9 |
find %{buildroot}/%{_libdir}/ -maxdepth 1 -name "*.${libext}" |\
|
|
|
15b5e9 |
sed -e "s:^%{buildroot}/: :g" >> ${comblib}
|
|
|
15b5e9 |
echo ")" >> ${comblib}
|
|
|
15b5e9 |
install -m 644 ${comblib} %{buildroot}/%{_libdir}/${comblib}
|
|
|
15b5e9 |
|
|
|
ccb313 |
%if %{with driverctl}
|
|
|
ccb313 |
cd driverctl-%{dctlver}
|
|
|
ccb313 |
make install DESTDIR=%{buildroot}
|
|
|
ccb313 |
cd -
|
|
|
ccb313 |
%endif
|
|
|
ccb313 |
|
|
|
15b5e9 |
%files
|
|
|
15b5e9 |
# BSD
|
|
|
ccb313 |
%doc README MAINTAINERS
|
|
|
15b5e9 |
%{_bindir}/testpmd
|
|
|
ccb313 |
%{_bindir}/dpdk_proc_info
|
|
|
ccb313 |
%dir %{pmddir}
|
|
|
15b5e9 |
%if %{with shared}
|
|
|
15b5e9 |
%{_libdir}/*.so.*
|
|
|
ccb313 |
%{pmddir}/*.so.*
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%files doc
|
|
|
15b5e9 |
#BSD
|
|
|
15b5e9 |
%{docdir}
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%files devel
|
|
|
15b5e9 |
#BSD
|
|
|
ccb313 |
%{incdir}/
|
|
|
ccb313 |
%{sdkdir}/
|
|
|
ccb313 |
%if %{with tools}
|
|
|
ccb313 |
%exclude %{sdkdir}/tools/
|
|
|
ccb313 |
%endif
|
|
|
ccb313 |
%if %{with examples}
|
|
|
ccb313 |
%exclude %{sdkdir}/examples/
|
|
|
ccb313 |
%endif
|
|
|
15b5e9 |
%{_sysconfdir}/profile.d/dpdk-sdk-*.*
|
|
|
15b5e9 |
%if %{with shared}
|
|
|
15b5e9 |
%{_libdir}/*.so
|
|
|
15b5e9 |
%else
|
|
|
15b5e9 |
%{_libdir}/*.a
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
%if %{with examples}
|
|
|
15b5e9 |
%files examples
|
|
|
ccb313 |
%exclude %{_bindir}/dpdk_proc_info
|
|
|
15b5e9 |
%{_bindir}/dpdk_*
|
|
|
ccb313 |
%doc %{sdkdir}/examples/
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%if %{with tools}
|
|
|
15b5e9 |
%files tools
|
|
|
ccb313 |
%{sdkdir}/tools/
|
|
|
ccb313 |
%{_sbindir}/dpdk_nic_bind
|
|
|
ccb313 |
%endif
|
|
|
ccb313 |
|
|
|
ccb313 |
%if %{with driverctl}
|
|
|
ccb313 |
%post -n driverctl
|
|
|
ccb313 |
%udev_rules_update
|
|
|
ccb313 |
|
|
|
ccb313 |
%postun -n driverctl
|
|
|
ccb313 |
%udev_rules_update
|
|
|
ccb313 |
|
|
|
ccb313 |
%files -n driverctl
|
|
|
ccb313 |
%{_sbindir}/driverctl
|
|
|
ccb313 |
/usr/lib/udev/rules.d/*.rules
|
|
|
ccb313 |
/usr/lib/udev/vfio_name
|
|
|
ccb313 |
%dir %{_sysconfdir}/driverctl.d
|
|
|
ccb313 |
%{_sysconfdir}/bash-completion.d/driverctl-bash-completion.sh
|
|
|
ccb313 |
%{_mandir}/man8/driverctl.8*
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%changelog
|
|
|
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 |
|