|
|
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
|
|
|
15b5e9 |
# Add option to build with IVSHMEM support (breaks ABI and whatnot, watchout)
|
|
|
15b5e9 |
%bcond_with ivshmem
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Dont edit Version: and Release: directly, only these:
|
|
|
15b5e9 |
%define ver 2.0.0
|
|
|
15b5e9 |
%define rel 8
|
|
|
15b5e9 |
# Define when building git snapshots
|
|
|
15b5e9 |
#define snapver 2086.git263333bb
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%define srcver %{ver}%{?snapver:-%{snapver}}
|
|
|
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 |
|
|
|
15b5e9 |
Patch2: dpdk-i40e-wformat.patch
|
|
|
15b5e9 |
Patch4: dpdk-dtneeded.patch
|
|
|
15b5e9 |
Patch5: dpdk-dev-vhost-flush-used--idx-update-before-reading-avail--flags.patch
|
|
|
15b5e9 |
Patch6: dpdk-dev-vfio-eventfd-should-be-non-block-and-not-inherited.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 |
|
|
|
15b5e9 |
%define target x86_64-%{machine}-linuxapp-gcc
|
|
|
15b5e9 |
|
|
|
15b5e9 |
BuildRequires: kernel-headers, libpcap-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: %{name} = %{version}-%{release}
|
|
|
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 |
|
|
|
15b5e9 |
%define sdkdir %{_libdir}/%{name}-%{version}-sdk
|
|
|
15b5e9 |
%define docdir %{_docdir}/%{name}-%{version}
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%prep
|
|
|
15b5e9 |
%setup -q -n %{name}-%{srcver}
|
|
|
15b5e9 |
%patch2 -p1 -z .i40e-wformat
|
|
|
15b5e9 |
%patch4 -p1 -z .dtneeded
|
|
|
15b5e9 |
%patch5 -p1 -z .vhost-flush
|
|
|
15b5e9 |
%patch6 -p1 -z .vfio-eventfd
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%build
|
|
|
15b5e9 |
function setconf()
|
|
|
15b5e9 |
{
|
|
|
15b5e9 |
cf=%{target}/.config
|
|
|
15b5e9 |
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
|
|
|
15b5e9 |
export EXTRA_CFLAGS="`echo %{optflags} | sed -e 's:-Wall::g'` -fPIC -Wno-error=array-bounds"
|
|
|
15b5e9 |
|
|
|
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
|
|
|
15b5e9 |
setconf CONFIG_RTE_MACHINE default
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Enable pcap and vhost build, the added deps are ok for us
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_VHOST y
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# If IVSHMEM enabled...
|
|
|
15b5e9 |
%if %{with ivshmem}
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_IVSHMEM y
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_IVSHMEM_DEBUG n
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_IVSHMEM_MAX_PCI_DEVS 4
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_IVSHMEM_MAX_ENTRIES 128
|
|
|
15b5e9 |
setconf CONFIG_RTE_LIBRTE_IVSHMEM_MAX_METADATA_FILES 32
|
|
|
15b5e9 |
setconf CONFIG_RTE_EAL_SINGLE_FILE_SEGMENTS y
|
|
|
15b5e9 |
%endif
|
|
|
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
|
|
|
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
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# DPDK's "make install" seems a bit broken -- do things manually...
|
|
|
15b5e9 |
|
|
|
15b5e9 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
15b5e9 |
cp -a %{target}/app/testpmd %{buildroot}%{_bindir}/testpmd
|
|
|
15b5e9 |
mkdir -p %{buildroot}%{_includedir}/%{name}-%{version}
|
|
|
15b5e9 |
cp -Lr %{target}/include/* %{buildroot}%{_includedir}/%{name}-%{version}
|
|
|
15b5e9 |
mkdir -p %{buildroot}%{_libdir}
|
|
|
15b5e9 |
cp -a %{target}/lib/* %{buildroot}%{_libdir}
|
|
|
15b5e9 |
mkdir -p %{buildroot}%{docdir}
|
|
|
15b5e9 |
cp -a %{target}/doc/* %{buildroot}%{docdir}
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%if %{with shared}
|
|
|
15b5e9 |
libext=so
|
|
|
15b5e9 |
%else
|
|
|
15b5e9 |
libext=a
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# DPDK apps expect a particular (and somewhat peculiar) directory layout
|
|
|
15b5e9 |
# for building, arrange for that
|
|
|
15b5e9 |
mkdir -p %{buildroot}%{sdkdir}/lib
|
|
|
15b5e9 |
mkdir -p %{buildroot}%{sdkdir}/%{target}
|
|
|
15b5e9 |
cp -a %{target}/.config %{buildroot}%{sdkdir}/%{target}
|
|
|
15b5e9 |
ln -s ../../../include/%{name}-%{version} %{buildroot}%{sdkdir}/%{target}/include
|
|
|
15b5e9 |
cp -a mk/ %{buildroot}%{sdkdir}
|
|
|
15b5e9 |
mkdir -p %{buildroot}%{sdkdir}/scripts
|
|
|
15b5e9 |
cp -a scripts/*.sh %{buildroot}%{sdkdir}/scripts
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%if %{with tools}
|
|
|
15b5e9 |
cp -p tools/*.py %{buildroot}%{_bindir}
|
|
|
15b5e9 |
%endif
|
|
|
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
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Create library symlinks for the "sdk"
|
|
|
15b5e9 |
for f in %{buildroot}/%{_libdir}/*.${libext}; do
|
|
|
15b5e9 |
l=`basename ${f}`
|
|
|
15b5e9 |
ln -s ../../${l} %{buildroot}/%{sdkdir}/lib/${l}
|
|
|
15b5e9 |
done
|
|
|
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}"
|
|
|
15b5e9 |
export RTE_INCLUDE="%{_includedir}/%{name}-%{version}"
|
|
|
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}"
|
|
|
15b5e9 |
setenv RTE_INCLUDE "%{_includedir}/%{name}-%{version}"
|
|
|
15b5e9 |
endif
|
|
|
15b5e9 |
EOF
|
|
|
15b5e9 |
|
|
|
15b5e9 |
# Fixup irregular modes in headers
|
|
|
15b5e9 |
find %{buildroot}%{_includedir}/%{name}-%{version} -type f | xargs chmod 0644
|
|
|
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.
|
|
|
15b5e9 |
comblib=libintel_dpdk.${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 |
|
|
|
15b5e9 |
%files
|
|
|
15b5e9 |
# BSD
|
|
|
15b5e9 |
%{_bindir}/testpmd
|
|
|
15b5e9 |
%if %{with shared}
|
|
|
15b5e9 |
%{_libdir}/*.so.*
|
|
|
15b5e9 |
%{_libdir}/*_pmd_*.so
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%files doc
|
|
|
15b5e9 |
#BSD
|
|
|
15b5e9 |
%{docdir}
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%files devel
|
|
|
15b5e9 |
#BSD
|
|
|
15b5e9 |
%{_includedir}/*
|
|
|
15b5e9 |
%{sdkdir}
|
|
|
15b5e9 |
%{_sysconfdir}/profile.d/dpdk-sdk-*.*
|
|
|
15b5e9 |
%if %{with shared}
|
|
|
15b5e9 |
%{_libdir}/*.so
|
|
|
15b5e9 |
%exclude %{_libdir}/*_pmd_*.so
|
|
|
15b5e9 |
%else
|
|
|
15b5e9 |
%{_libdir}/*.a
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%if %{with examples}
|
|
|
15b5e9 |
%files examples
|
|
|
15b5e9 |
%{_bindir}/dpdk_*
|
|
|
15b5e9 |
%exclude %{_bindir}/*.py
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%if %{with tools}
|
|
|
15b5e9 |
%files tools
|
|
|
15b5e9 |
%{_bindir}/*.py
|
|
|
15b5e9 |
%endif
|
|
|
15b5e9 |
|
|
|
15b5e9 |
%changelog
|
|
|
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 |
|