2015-04-08 17:06:44 +00:00
|
|
|
# Add option to build as static libraries (--without shared)
|
|
|
|
%bcond_without shared
|
2015-10-22 19:05:49 +00:00
|
|
|
# Add option to build without examples
|
|
|
|
%bcond_without examples
|
2015-09-29 18:37:03 +00:00
|
|
|
# Add option to build without tools
|
|
|
|
%bcond_without tools
|
2015-09-30 14:04:54 +00:00
|
|
|
# Add option to build the PDF documentation separately (--with pdfdoc)
|
|
|
|
%bcond_with pdfdoc
|
2015-01-28 07:58:09 +00:00
|
|
|
|
2014-06-06 21:00:32 +00:00
|
|
|
Name: dpdk
|
2019-06-25 12:52:40 +00:00
|
|
|
Version: 18.11.2
|
2019-02-28 13:14:35 +00:00
|
|
|
Release: 1%{?dist}
|
2018-04-06 19:18:55 +00:00
|
|
|
Epoch: 2
|
2014-06-06 21:00:32 +00:00
|
|
|
URL: http://dpdk.org
|
2019-06-25 12:52:40 +00:00
|
|
|
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
2017-08-10 18:14:13 +00:00
|
|
|
|
2018-09-27 18:25:08 +00:00
|
|
|
Patch0: app-pie.patch
|
|
|
|
Patch1: fcf-protection.patch
|
2019-02-13 18:19:10 +00:00
|
|
|
Patch2: dpdk-rte-ether-align.patch
|
2014-06-06 21:00:32 +00:00
|
|
|
|
2015-01-27 09:06:53 +00:00
|
|
|
Summary: Set of libraries and drivers for fast packet processing
|
2014-06-06 21:00:32 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Note that, while this is dual licensed, all code that is included with this
|
|
|
|
# Pakcage are BSD licensed. The only files that aren't licensed via BSD is the
|
|
|
|
# kni kernel module which is dual LGPLv2/BSD, and thats not built for fedora.
|
|
|
|
#
|
|
|
|
License: BSD and LGPLv2 and GPLv2
|
|
|
|
|
|
|
|
#
|
|
|
|
# The DPDK is designed to optimize througput of network traffic using, among
|
2017-02-07 17:16:41 +00:00
|
|
|
# other techniques, carefully crafted assembly instructions. As such it
|
|
|
|
# needs extensive work to port it to other architectures.
|
2014-06-06 21:00:32 +00:00
|
|
|
#
|
2017-02-07 17:16:41 +00:00
|
|
|
ExclusiveArch: x86_64 i686 aarch64 ppc64le
|
2016-03-16 09:41:08 +00:00
|
|
|
|
|
|
|
# machine_arch maps between rpm and dpdk arch name, often same as _target_cpu
|
|
|
|
# machine_tmpl is the config template machine name, often "native"
|
|
|
|
# machine is the actual machine name used in the dpdk make system
|
|
|
|
%ifarch x86_64
|
2017-02-07 17:16:41 +00:00
|
|
|
%define machine_arch x86_64
|
|
|
|
%define machine_tmpl native
|
2016-03-16 09:41:08 +00:00
|
|
|
%define machine default
|
|
|
|
%endif
|
|
|
|
%ifarch i686
|
2017-02-07 17:16:41 +00:00
|
|
|
%define machine_arch i686
|
|
|
|
%define machine_tmpl native
|
2017-08-10 18:14:13 +00:00
|
|
|
%define machine default
|
2016-03-16 09:41:08 +00:00
|
|
|
%endif
|
2017-02-07 17:16:41 +00:00
|
|
|
%ifarch aarch64
|
|
|
|
%define machine_arch arm64
|
|
|
|
%define machine_tmpl armv8a
|
|
|
|
%define machine armv8a
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64le
|
|
|
|
%define machine_arch ppc_64
|
|
|
|
%define machine_tmpl power8
|
|
|
|
%define machine power8
|
|
|
|
%endif
|
|
|
|
|
2014-06-06 21:00:32 +00:00
|
|
|
|
2016-03-16 09:41:08 +00:00
|
|
|
%define target %{machine_arch}-%{machine_tmpl}-linuxapp-gcc
|
2014-06-06 21:00:32 +00:00
|
|
|
|
2018-02-19 09:37:21 +00:00
|
|
|
BuildRequires: gcc
|
2018-11-28 21:02:24 +00:00
|
|
|
BuildRequires: kernel-headers, libpcap-devel, doxygen, python3-sphinx, zlib-devel, wdiff
|
2016-01-25 16:04:25 +00:00
|
|
|
BuildRequires: numactl-devel
|
2015-09-30 14:04:54 +00:00
|
|
|
%if %{with pdfdoc}
|
|
|
|
BuildRequires: texlive-dejavu inkscape texlive-latex-bin-bin
|
2015-08-27 14:22:53 +00:00
|
|
|
BuildRequires: texlive-kpathsea-bin texlive-metafont-bin texlive-cm
|
|
|
|
BuildRequires: texlive-cmap texlive-ec texlive-babel-english
|
|
|
|
BuildRequires: texlive-fancyhdr texlive-fancybox texlive-titlesec
|
|
|
|
BuildRequires: texlive-framed texlive-threeparttable texlive-mdwtools
|
|
|
|
BuildRequires: texlive-wrapfig texlive-parskip texlive-upquote texlive-multirow
|
|
|
|
BuildRequires: texlive-helvetic texlive-times texlive-dvips
|
2015-09-30 14:04:54 +00:00
|
|
|
%endif
|
2014-06-06 21:00:32 +00:00
|
|
|
|
|
|
|
%description
|
2015-01-27 09:06:53 +00:00
|
|
|
The Data Plane Development Kit is a set of libraries and drivers for
|
|
|
|
fast packet processing in the user space.
|
2014-06-06 21:00:32 +00:00
|
|
|
|
|
|
|
%package devel
|
2015-01-27 09:06:53 +00:00
|
|
|
Summary: Data Plane Development Kit development files
|
2018-04-10 09:25:07 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} python3
|
2015-01-28 09:28:50 +00:00
|
|
|
%if ! %{with shared}
|
2018-04-10 09:25:07 +00:00
|
|
|
Provides: %{name}-static = %{epoch}:%{version}-%{release}
|
2015-01-28 09:28:50 +00:00
|
|
|
%endif
|
2014-06-06 21:00:32 +00:00
|
|
|
|
|
|
|
%description devel
|
2015-01-27 09:06:53 +00:00
|
|
|
This package contains the headers and other files needed for developing
|
|
|
|
applications with the Data Plane Development Kit.
|
2014-06-06 21:00:32 +00:00
|
|
|
|
|
|
|
%package doc
|
2015-01-27 09:06:53 +00:00
|
|
|
Summary: Data Plane Development Kit API documentation
|
2014-06-06 21:00:32 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
2015-01-27 09:06:53 +00:00
|
|
|
API programming documentation for the Data Plane Development Kit.
|
2014-06-06 21:00:32 +00:00
|
|
|
|
2015-09-29 18:37:03 +00:00
|
|
|
%if %{with tools}
|
|
|
|
%package tools
|
|
|
|
Summary: Tools for setting up Data Plane Development Kit environment
|
2018-04-10 09:25:07 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2018-04-05 18:12:59 +00:00
|
|
|
Requires: kmod pciutils findutils iproute python3-pyelftools
|
2015-09-29 18:37:03 +00:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
%{summary}
|
|
|
|
%endif
|
|
|
|
|
2015-10-22 19:05:49 +00:00
|
|
|
%if %{with examples}
|
|
|
|
%package examples
|
|
|
|
Summary: Data Plane Development Kit example applications
|
|
|
|
BuildRequires: libvirt-devel
|
|
|
|
|
|
|
|
%description examples
|
|
|
|
Example applications utilizing the Data Plane Development Kit, such
|
|
|
|
as L2 and L3 forwarding.
|
|
|
|
%endif
|
|
|
|
|
2016-01-20 14:20:17 +00:00
|
|
|
%define sdkdir %{_datadir}/%{name}
|
|
|
|
%define docdir %{_docdir}/%{name}
|
|
|
|
%define incdir %{_includedir}/%{name}
|
2016-01-20 12:48:11 +00:00
|
|
|
%define pmddir %{_libdir}/%{name}-pmds
|
2014-06-06 21:00:32 +00:00
|
|
|
|
|
|
|
%prep
|
2019-06-25 12:52:40 +00:00
|
|
|
%setup -q -n dpdk-stable-%{version}
|
2018-09-27 18:47:46 +00:00
|
|
|
%patch0 -p1
|
2018-09-27 18:41:11 +00:00
|
|
|
%ifarch x86_64 i686
|
2018-09-27 18:47:46 +00:00
|
|
|
%patch1 -p1
|
2018-09-27 18:41:11 +00:00
|
|
|
%endif
|
2019-02-13 18:19:10 +00:00
|
|
|
%patch2 -p1
|
2015-01-28 09:28:50 +00:00
|
|
|
|
2014-06-06 21:00:32 +00:00
|
|
|
%build
|
2018-09-27 18:25:08 +00:00
|
|
|
%set_build_flags
|
2015-09-30 15:20:27 +00:00
|
|
|
# set up a method for modifying the resulting .config file
|
|
|
|
function setconf() {
|
2016-01-20 13:44:04 +00:00
|
|
|
if grep -q ^$1= %{target}/.config; then
|
2015-09-30 15:20:27 +00:00
|
|
|
sed -i "s:^$1=.*$:$1=$2:g" %{target}/.config
|
|
|
|
else
|
|
|
|
echo $1=$2 >> %{target}/.config
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2015-09-29 19:50:52 +00:00
|
|
|
# In case dpdk-devel is installed, we should ignore its hints about the SDK directories
|
|
|
|
unset RTE_SDK RTE_INCLUDE RTE_TARGET
|
|
|
|
|
2016-03-01 13:53:34 +00:00
|
|
|
# Avoid appending second -Wall to everything, it breaks upstream warning
|
2016-03-16 09:41:08 +00:00
|
|
|
# disablers in makefiles. Strip expclit -march= from optflags since they
|
|
|
|
# will only guarantee build failures, DPDK is picky with that.
|
2018-02-27 20:25:30 +00:00
|
|
|
# Note: _hardening_ldflags has to go on the extra cflags line because dpdk is
|
|
|
|
# astoundingly convoluted in how it processes its linker flags. Fixing it in
|
|
|
|
# dpdk is the preferred solution, but adjusting to allow a gcc option in the
|
|
|
|
# ldflags, even when gcc is used as the linker, requires large tree-wide changes
|
2018-09-27 18:25:08 +00:00
|
|
|
touch obj.o
|
|
|
|
gcc -### obj.o 2>&1 | awk '/.*collect2.*/ { print $0}' > ./noopts.txt
|
|
|
|
gcc -### $(rpm --eval '%{build_ldflags}') obj.o 2>&1 | awk '/.*collect2.*/ {print $0}' > ./opts.txt
|
|
|
|
EXTRA_RPM_LDFLAGS=$(wdiff -3 -n ./noopts.txt ./opts.txt | sed -e"/^=\+$/d" -e"/^.*\.res.*/d" -e"s/\[-//g" -e"s/\-\]//g" -e"s/{+//g" -e"s/+}//g" -e"s/\/.*\.o //g" -e"s/ \/.*\.o$//g" -e"s/-z .*//g" | tr '\n' ' ')
|
|
|
|
rm -f obj.o
|
|
|
|
|
2018-02-27 20:25:30 +00:00
|
|
|
export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC %{_hardening_ldflags}"
|
2018-09-27 20:13:07 +00:00
|
|
|
%ifarch x86_64 i686
|
2018-09-27 18:25:08 +00:00
|
|
|
export EXTRA_CFLAGS="$EXTRA_CFLAGS -fcf-protection=full"
|
2018-09-27 20:13:07 +00:00
|
|
|
%endif
|
2018-02-27 21:03:58 +00:00
|
|
|
export EXTRA_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-Wl,//g' -e's/-spec.*//')
|
2018-09-27 18:25:08 +00:00
|
|
|
export HOST_EXTRA_CFLAGS="$EXTRA_CFLAGS $EXTRA_RPM_LDFLAGS"
|
2018-04-05 18:12:59 +00:00
|
|
|
export EXTRA_HOST_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-spec.*//')
|
2014-07-21 14:02:31 +00:00
|
|
|
|
|
|
|
# DPDK defaults to using builder-specific compiler flags. However,
|
|
|
|
# the config has been changed by specifying CONFIG_RTE_MACHINE=default
|
|
|
|
# in order to build for a more generic host. NOTE: It is possible that
|
|
|
|
# the compiler flags used still won't work for all Fedora-supported
|
|
|
|
# machines, but runtime checks in DPDK will catch those situations.
|
2014-07-01 15:09:58 +00:00
|
|
|
|
2014-07-21 14:02:31 +00:00
|
|
|
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
|
2015-09-30 15:20:27 +00:00
|
|
|
|
2016-03-16 09:41:08 +00:00
|
|
|
setconf CONFIG_RTE_MACHINE '"%{machine}"'
|
2016-01-20 12:39:11 +00:00
|
|
|
# Disable experimental features
|
2015-09-30 15:20:27 +00:00
|
|
|
setconf CONFIG_RTE_NEXT_ABI n
|
2016-01-20 12:39:11 +00:00
|
|
|
setconf CONFIG_RTE_LIBRTE_MBUF_OFFLOAD n
|
2016-03-01 13:55:23 +00:00
|
|
|
# Disable unmaintained features
|
|
|
|
setconf CONFIG_RTE_LIBRTE_POWER n
|
2015-09-30 15:20:27 +00:00
|
|
|
|
2016-01-20 12:48:11 +00:00
|
|
|
# Enable automatic driver loading from this path
|
2016-01-26 12:45:14 +00:00
|
|
|
setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"'
|
2016-01-20 12:48:11 +00:00
|
|
|
|
2015-10-27 14:59:24 +00:00
|
|
|
setconf CONFIG_RTE_LIBRTE_BNX2X_PMD y
|
2015-09-30 15:20:27 +00:00
|
|
|
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y
|
2016-04-14 08:57:55 +00:00
|
|
|
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y
|
2015-09-30 15:20:27 +00:00
|
|
|
|
|
|
|
setconf CONFIG_RTE_EAL_IGB_UIO n
|
|
|
|
setconf CONFIG_RTE_LIBRTE_KNI n
|
|
|
|
setconf CONFIG_RTE_KNI_KMOD n
|
|
|
|
setconf CONFIG_RTE_KNI_PREEMPT_DEFAULT n
|
|
|
|
|
2017-08-10 18:14:13 +00:00
|
|
|
setconf CONFIG_RTE_APP_EVENTDEV n
|
|
|
|
|
2017-11-16 21:30:19 +00:00
|
|
|
setconf CONFIG_RTE_LIBRTE_NFP_PMD y
|
|
|
|
|
2018-02-26 19:00:08 +00:00
|
|
|
%ifarch aarch64
|
2018-04-06 19:40:10 +00:00
|
|
|
setconf CONFIG_RTE_LIBRTE_DPAA_BUS n
|
|
|
|
setconf CONFIG_RTE_LIBRTE_DPAA_MEMPOOL n
|
|
|
|
setconf CONFIG_RTE_LIBRTE_DPAA_PMD n
|
2018-02-26 19:00:08 +00:00
|
|
|
%endif
|
|
|
|
|
2015-09-30 15:20:27 +00:00
|
|
|
%if %{with shared}
|
|
|
|
setconf CONFIG_RTE_BUILD_SHARED_LIB y
|
|
|
|
%endif
|
|
|
|
|
2017-02-22 15:17:56 +00:00
|
|
|
make V=1 O=%{target} %{?_smp_mflags} -Wimplicit-fallthrough=0
|
2015-09-30 14:04:54 +00:00
|
|
|
make V=1 O=%{target} %{?_smp_mflags} doc-api-html doc-guides-html %{?with_pdfdoc: guides-pdf}
|
2014-06-06 21:00:32 +00:00
|
|
|
|
2015-10-22 19:05:49 +00:00
|
|
|
%if %{with examples}
|
|
|
|
make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
|
|
|
|
%endif
|
|
|
|
|
2014-06-06 21:00:32 +00:00
|
|
|
%install
|
2016-01-20 14:20:17 +00:00
|
|
|
# In case dpdk-devel is installed
|
|
|
|
unset RTE_SDK RTE_INCLUDE RTE_TARGET
|
2014-07-21 14:02:31 +00:00
|
|
|
|
2016-01-20 14:20:17 +00:00
|
|
|
%make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
|
2015-09-30 14:17:57 +00:00
|
|
|
|
2016-01-20 14:20:17 +00:00
|
|
|
%if ! %{with tools}
|
2017-11-30 17:37:28 +00:00
|
|
|
rm -rf %{buildroot}%{sdkdir}/usertools
|
2016-01-20 14:20:17 +00:00
|
|
|
rm -rf %{buildroot}%{_sbindir}/dpdk_nic_bind
|
2017-02-22 15:17:56 +00:00
|
|
|
rm -rf %{buildroot}%{_bindir}/dpdk-test-crypto-perf
|
2019-02-28 13:14:35 +00:00
|
|
|
rm -rf %{buildroot}%{_bindir}/testbbdev
|
|
|
|
%else
|
|
|
|
mv %{buildroot}%{_bindir}/testbbdev %{buildroot}%{_bindir}/dpdk-test-bbdev
|
2015-09-29 18:37:03 +00:00
|
|
|
%endif
|
2017-11-30 17:37:28 +00:00
|
|
|
rm -f %{buildroot}%{sdkdir}/usertools/dpdk-setup.sh
|
2019-02-28 13:14:35 +00:00
|
|
|
rm -f %{buildroot}%{sdkdir}/usertools/meson.build
|
2015-09-29 18:37:03 +00:00
|
|
|
|
2015-10-22 19:05:49 +00:00
|
|
|
%if %{with examples}
|
|
|
|
find %{target}/examples/ -name "*.map" | xargs rm -f
|
|
|
|
for f in %{target}/examples/*/%{target}/app/*; do
|
|
|
|
bn=`basename ${f}`
|
|
|
|
cp -p ${f} %{buildroot}%{_bindir}/dpdk_example_${bn}
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2018-04-06 09:00:06 +00:00
|
|
|
# Replace /usr/bin/env python with /usr/bin/python3
|
|
|
|
find %{buildroot}%{sdkdir}/ -name "*.py" -exec \
|
|
|
|
sed -i -e 's|#!\s*/usr/bin/env python|#!/usr/bin/python3|' {} +
|
|
|
|
|
2016-01-20 12:48:11 +00:00
|
|
|
# Create a driver directory with symlinks to all pmds
|
|
|
|
mkdir -p %{buildroot}/%{pmddir}
|
2017-11-30 17:37:28 +00:00
|
|
|
for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
|
2016-01-20 12:48:11 +00:00
|
|
|
bn=$(basename ${f})
|
|
|
|
ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
|
|
|
|
done
|
|
|
|
|
2015-01-27 10:54:14 +00:00
|
|
|
# Setup RTE_SDK environment as expected by apps etc
|
|
|
|
mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
|
|
|
|
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.sh
|
2015-01-28 07:41:45 +00:00
|
|
|
if [ -z "\${RTE_SDK}" ]; then
|
2015-01-27 10:54:14 +00:00
|
|
|
export RTE_SDK="%{sdkdir}"
|
|
|
|
export RTE_TARGET="%{target}"
|
2016-01-20 14:01:10 +00:00
|
|
|
export RTE_INCLUDE="%{incdir}"
|
2015-01-27 10:54:14 +00:00
|
|
|
fi
|
|
|
|
EOF
|
|
|
|
|
|
|
|
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.csh
|
2019-02-16 18:14:11 +00:00
|
|
|
if ( ! \$?RTE_SDK ) then
|
2015-01-27 10:54:14 +00:00
|
|
|
setenv RTE_SDK "%{sdkdir}"
|
|
|
|
setenv RTE_TARGET "%{target}"
|
2016-01-20 14:01:10 +00:00
|
|
|
setenv RTE_INCLUDE "%{incdir}"
|
2015-01-27 10:54:14 +00:00
|
|
|
endif
|
|
|
|
EOF
|
|
|
|
|
2016-01-20 14:20:17 +00:00
|
|
|
# Fixup target machine mismatch
|
2016-03-16 09:41:08 +00:00
|
|
|
sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk*
|
2015-01-27 08:35:59 +00:00
|
|
|
|
2014-06-06 21:00:32 +00:00
|
|
|
%files
|
|
|
|
# BSD
|
2016-01-20 14:20:17 +00:00
|
|
|
%{_bindir}/testpmd
|
2016-08-02 19:05:13 +00:00
|
|
|
%{_bindir}/dpdk-procinfo
|
2015-01-28 09:28:50 +00:00
|
|
|
%if %{with shared}
|
2015-09-30 14:17:57 +00:00
|
|
|
%{_libdir}/*.so.*
|
2016-01-20 12:48:11 +00:00
|
|
|
%{pmddir}/
|
2015-01-28 09:28:50 +00:00
|
|
|
%endif
|
2014-06-06 21:00:32 +00:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
#BSD
|
|
|
|
%{docdir}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
#BSD
|
2016-01-20 14:01:10 +00:00
|
|
|
%{incdir}/
|
2015-01-27 10:54:14 +00:00
|
|
|
%{sdkdir}
|
2016-01-20 14:20:17 +00:00
|
|
|
%if %{with tools}
|
2017-11-30 17:37:28 +00:00
|
|
|
%exclude %{sdkdir}/usertools/
|
2016-01-20 14:20:17 +00:00
|
|
|
%endif
|
|
|
|
%if %{with examples}
|
|
|
|
%exclude %{sdkdir}/examples/
|
|
|
|
%endif
|
2015-01-27 10:54:14 +00:00
|
|
|
%{_sysconfdir}/profile.d/dpdk-sdk-*.*
|
2015-01-28 09:28:50 +00:00
|
|
|
%if ! %{with shared}
|
2015-09-30 14:17:57 +00:00
|
|
|
%{_libdir}/*.a
|
2015-04-08 17:06:44 +00:00
|
|
|
%else
|
2015-09-30 14:17:57 +00:00
|
|
|
%{_libdir}/*.so
|
2015-01-28 09:28:50 +00:00
|
|
|
%endif
|
2014-06-06 21:00:32 +00:00
|
|
|
|
2015-09-29 18:37:03 +00:00
|
|
|
%if %{with tools}
|
|
|
|
%files tools
|
2017-11-30 17:37:28 +00:00
|
|
|
%{sdkdir}/usertools/
|
2016-08-02 19:05:13 +00:00
|
|
|
%{_sbindir}/dpdk-devbind
|
|
|
|
%{_bindir}/dpdk-pdump
|
|
|
|
%{_bindir}/dpdk-pmdinfo
|
2019-02-28 13:14:35 +00:00
|
|
|
%{_bindir}/dpdk-test-bbdev
|
2017-02-22 15:17:56 +00:00
|
|
|
%{_bindir}/dpdk-test-crypto-perf
|
2015-09-29 18:37:03 +00:00
|
|
|
%endif
|
|
|
|
|
2015-10-22 19:05:49 +00:00
|
|
|
%if %{with examples}
|
|
|
|
%files examples
|
|
|
|
%{_bindir}/dpdk_example_*
|
2016-01-20 14:20:17 +00:00
|
|
|
%doc %{sdkdir}/examples
|
2015-10-22 19:05:49 +00:00
|
|
|
%endif
|
|
|
|
|
2014-06-06 21:00:32 +00:00
|
|
|
%changelog
|
2019-06-25 12:52:40 +00:00
|
|
|
* Tue Jun 25 2019 Timothy Redaelli <tredaelli@redhat.com> - 2:18.11.2-1
|
|
|
|
- Update to latest 18.11 LTS (bz1721056)
|
|
|
|
|
2019-02-28 13:14:35 +00:00
|
|
|
* Thu Feb 28 2019 Timothy Redaelli <tredaelli@redhat.com> - 2:18.11.0-1
|
|
|
|
- Update to latest LTS release (bz1684107)
|
|
|
|
|
2019-02-13 18:19:10 +00:00
|
|
|
* Wed Feb 13 2019 Neil Horman <nhorman@redhat.com> - 2:17.11.2-6
|
|
|
|
- Fix some FTBFS errors (1674825)
|
|
|
|
|
2019-01-31 17:33:02 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:17.11.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-02-28 13:18:52 +00:00
|
|
|
* Tue Nov 27 2018 Neil Horman <nhorman@redhat.com> - 2:17.11.2-4
|
2018-11-28 21:02:24 +00:00
|
|
|
- Add wdiff to BuildRequires
|
|
|
|
|
2018-09-27 18:25:08 +00:00
|
|
|
* Thu Sep 27 2018 Neil Horman <nhorman@tuxdriver.com> - 2:17.11.2-3
|
|
|
|
- quiet annocheck complaints (bz1548404)
|
|
|
|
|
2018-07-12 23:06:32 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:17.11.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-24 17:15:37 +00:00
|
|
|
* Tue Apr 24 2018 Neil Horman <nhorman@redhat.com> 2:17.11.2-1
|
|
|
|
- Update to latest 17.11 LTS (fixes bz 1571361)
|
|
|
|
|
2018-04-10 09:25:07 +00:00
|
|
|
* Tue Apr 10 2018 Timothy Redaelli <tredaelli@redhat.com> - 2:17.11.1-3
|
|
|
|
- Fix Requires dpdk by adding epoch
|
|
|
|
|
2018-04-06 19:40:10 +00:00
|
|
|
* Fri Apr 06 2018 Neil Horman <nhorman@redhat.com> 2:17.11.1-2
|
|
|
|
- Fix aarch64 build issue
|
|
|
|
|
|
|
|
* Fri Apr 06 2018 Neil Horman <nhorman@redhat.com> 2:17.11.1-1
|
|
|
|
- Update to latest LTS release for OVS
|
|
|
|
|
2018-04-06 09:00:06 +00:00
|
|
|
* Fri Apr 06 2018 Timothy Redaelli <tredaelli@redhat.com> - 18.02 -6
|
|
|
|
- Replace "/usr/bin/env python" with "/usr/bin/python3" (bz 1564215)
|
|
|
|
|
2018-04-05 18:12:59 +00:00
|
|
|
* Thu Apr 05 2018 Neil Horman <nhorman@redhat.com> - 18.02-5
|
|
|
|
- Fix compiler flag error (bz 1548404)
|
|
|
|
- Update spec file to switch to python3
|
|
|
|
|
2018-03-14 11:29:05 +00:00
|
|
|
* Wed Mar 14 2018 Neil Horman <nhorman@redhat.com>< -18.02-4
|
|
|
|
- Fixing date in changelog below
|
|
|
|
|
|
|
|
* Thu Mar 08 2018 Neil Horman <nhorman@redhat.com> - 18.02-3
|
2018-03-08 18:46:04 +00:00
|
|
|
- Fixing missing c/ldflags for pmdinfogen (bz 1548404)
|
|
|
|
|
2018-02-27 20:25:30 +00:00
|
|
|
* Tue Feb 27 2018 Neil Horman <nhorman@redhat.com> - 18.02-2
|
|
|
|
- Fix rpm ldflags usage (bz 1548404)
|
|
|
|
|
2018-02-26 19:00:08 +00:00
|
|
|
* Mon Feb 19 2018 Neil Horman <nhorman@redhat.com> - 18.02-1
|
|
|
|
- update to latest upstream
|
|
|
|
|
2018-02-07 07:15:11 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.11-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-03 11:41:46 +00:00
|
|
|
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 17.11-3
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2017-11-30 17:37:28 +00:00
|
|
|
* Thu Nov 30 2017 Neil Horman <nhorman@redhat.com> - 17.11-2
|
|
|
|
- Fix dangling symlinks (bz 1519322)
|
|
|
|
- Fix devtools->usertools conversion (bz 1519332)
|
|
|
|
- Fix python-pyelftools requirement (bz 1519336)
|
|
|
|
|
2017-11-16 21:30:19 +00:00
|
|
|
* Thu Nov 16 2017 Neil Horman <nhorman@redhat.com> - 17.11-1
|
|
|
|
- Update to latest upstream
|
|
|
|
|
2017-08-10 18:14:13 +00:00
|
|
|
* Wed Aug 09 2017 Neil Horman <nhorman@redhat.com> - 17.08-1
|
|
|
|
- Update to latest upstream
|
|
|
|
|
2017-07-31 15:47:20 +00:00
|
|
|
* Mon Jul 31 2017 Neil Horman <nhorman@redhat.com> - 17.05-2
|
|
|
|
- backport rte_eth_tx_done_cleanup map fix (#1476341)
|
|
|
|
|
2017-07-26 06:31:14 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.05-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-15 19:21:20 +00:00
|
|
|
* Mon May 15 2017 Neil Horman <nhorman@redhat.com> - 17.05-1
|
|
|
|
- Update to latest upstream
|
|
|
|
|
2017-02-24 18:40:34 +00:00
|
|
|
* Fri Feb 24 2017 Neil Horman <nhorman@redhat.com> - 17-02-2
|
|
|
|
- Add python dependency (#1426561)
|
|
|
|
|
2017-02-22 15:17:56 +00:00
|
|
|
* Wed Feb 15 2017 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 17.02-1
|
|
|
|
- Update to 17.02 (#1422285)
|
|
|
|
|
2017-02-07 17:16:41 +00:00
|
|
|
* Mon Feb 06 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 16.11-2
|
|
|
|
- Enable aarch64, ppc64le (#1419731)
|
|
|
|
|
2016-11-15 20:05:06 +00:00
|
|
|
* Tue Nov 15 2016 Neil Horman <nhorman@redhat.com> - 16.11-1
|
|
|
|
- Update to 16.11
|
|
|
|
|
2016-08-02 19:05:13 +00:00
|
|
|
* Tue Aug 02 2016 Neil Horman <nhorman@redhat.com> - 16.07-1
|
|
|
|
* Update to 16.07
|
|
|
|
|
2016-04-14 08:57:55 +00:00
|
|
|
* Thu Apr 14 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04-1
|
|
|
|
- Update to 16.04
|
|
|
|
- Drop all patches, they're not needed anymore
|
|
|
|
- Drop linker script generation, its upstream now
|
|
|
|
- Enable vhost numa support again
|
|
|
|
|
2016-03-16 09:42:44 +00:00
|
|
|
* Wed Mar 16 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-7
|
|
|
|
- vhost numa code causes crashes, disable until upstream fixes
|
2016-03-16 09:41:08 +00:00
|
|
|
- Generalize target/machine/etc macros to enable i686 builds
|
2016-03-16 09:42:44 +00:00
|
|
|
|
2016-03-01 13:11:07 +00:00
|
|
|
* Tue Mar 01 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-6
|
|
|
|
- Drop no longer needed bnx2x patch, the gcc false positive has been fixed
|
2016-03-01 13:43:29 +00:00
|
|
|
- Drop no longer needed -Wno-error=array-bounds from CFLAGS
|
2016-03-01 13:53:34 +00:00
|
|
|
- Eliminate the need for the enic patch by eliminating second -Wall from CFLAGS
|
2016-03-01 13:55:23 +00:00
|
|
|
- Disable unmaintained librte_power as per upstream recommendation
|
2016-03-01 13:11:07 +00:00
|
|
|
|
2016-02-16 16:52:18 +00:00
|
|
|
* Mon Feb 15 2016 Neil Horman <nhorman@redhat.com> 2.2.0-5
|
|
|
|
- Fix ftbfs isssue (1307431)
|
|
|
|
|
2016-02-03 18:58:08 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-26 12:45:14 +00:00
|
|
|
* Tue Jan 26 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-3
|
|
|
|
- Use a different quoting method to avoid messing up vim syntax highlighting
|
|
|
|
- A string is expected as CONFIG_RTE_MACHINE value, quote it too
|
|
|
|
|
2016-01-25 16:04:25 +00:00
|
|
|
* Mon Jan 25 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-2
|
|
|
|
- Enable librte_vhost NUMA-awareness
|
|
|
|
|
2016-01-20 12:39:11 +00:00
|
|
|
* Wed Jan 20 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-1
|
|
|
|
- Update to 2.2.0
|
2016-01-20 12:48:11 +00:00
|
|
|
- Establish a driver directory for automatic driver loading
|
|
|
|
- Move the unversioned pmd symlinks from libdir -devel
|
2016-01-20 13:44:04 +00:00
|
|
|
- Make option matching stricter in spec setconf
|
2016-01-20 14:01:10 +00:00
|
|
|
- Spec cleanups
|
2016-01-20 14:20:17 +00:00
|
|
|
- Adopt upstream standard installation layout
|
2016-01-20 12:39:11 +00:00
|
|
|
|
2015-10-22 19:05:49 +00:00
|
|
|
* Thu Oct 22 2015 Aaron Conole <aconole@redhat.com> - 2.1.0-3
|
|
|
|
- Include examples binaries
|
|
|
|
- Enable the Broadcom NetXtreme II 10Gb PMD
|
|
|
|
- Fix up linkages for the dpdk-devel package
|
|
|
|
|
2015-09-30 15:32:59 +00:00
|
|
|
* Wed Sep 30 2015 Aaron Conole <aconole@redhat.com> - 2.1.0-2
|
|
|
|
- Re-enable the IGB, IXGBE, I40E PMDs
|
|
|
|
- Bring the Fedora and RHEL packages more in-line.
|
|
|
|
|
2015-08-27 14:22:53 +00:00
|
|
|
* Wed Aug 26 2015 Neil Horman <nhorman@redhat.com> - 2.1.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2015-06-17 04:21:54 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-08 17:06:44 +00:00
|
|
|
* Mon Apr 06 2015 Neil Horman <nhorman@redhat.com> - 2.0.0-1
|
|
|
|
- Update to dpdk 2.0
|
|
|
|
- converted --with shared option to --without shared option
|
|
|
|
|
2015-01-28 12:13:27 +00:00
|
|
|
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-8
|
|
|
|
- Always build with -fPIC
|
|
|
|
|
2015-01-28 09:33:44 +00:00
|
|
|
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-7
|
2015-01-28 09:18:01 +00:00
|
|
|
- Policy compliance: move static libraries to -devel, provide dpdk-static
|
2015-01-28 09:28:50 +00:00
|
|
|
- Add a spec option to build as shared libraries
|
2015-01-28 09:18:01 +00:00
|
|
|
|
2015-01-28 09:33:44 +00:00
|
|
|
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-6
|
2015-01-28 07:41:45 +00:00
|
|
|
- Avoid variable expansion in the spec here-documents during build
|
2015-01-28 07:49:40 +00:00
|
|
|
- Drop now unnecessary debug flags patch
|
2015-01-28 07:58:09 +00:00
|
|
|
- Add a spec option to build a combined library
|
2015-01-28 07:41:45 +00:00
|
|
|
|
2015-01-27 09:39:48 +00:00
|
|
|
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-5
|
|
|
|
- Avoid unnecessary use of %%global, lazy expansion is normally better
|
|
|
|
- Drop unused destdir macro while at it
|
2015-01-27 10:54:14 +00:00
|
|
|
- Arrange for RTE_SDK environment + directory layout expected by DPDK apps
|
|
|
|
- Drop config from main package, it shouldn't be needed at runtime
|
2015-01-27 09:39:48 +00:00
|
|
|
|
2015-01-27 08:35:41 +00:00
|
|
|
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-4
|
|
|
|
- Copy the headers instead of broken symlinks into -devel package
|
2015-01-27 08:35:59 +00:00
|
|
|
- Force sane mode on the headers
|
2015-01-27 08:43:00 +00:00
|
|
|
- Avoid unnecessary %%exclude by not copying unpackaged content to buildroot
|
2015-01-27 09:06:53 +00:00
|
|
|
- Clean up summaries and descriptions
|
2015-01-27 09:10:36 +00:00
|
|
|
- Drop unnecessary kernel-devel BR, we are not building kernel modules
|
2015-01-27 08:35:41 +00:00
|
|
|
|
2014-08-16 09:40:50 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-21 14:02:31 +00:00
|
|
|
* Thu Jul 17 2014 - John W. Linville <linville@redhat.com> - 1.7.0-2
|
|
|
|
- Use EXTRA_CFLAGS to include standard Fedora compiler flags in build
|
|
|
|
- Set CONFIG_RTE_MACHINE=default to build for least-common-denominator machines
|
|
|
|
- Turn-off build of librte_acl, since it does not build on default machines
|
|
|
|
- Turn-off build of physical device PMDs that require kernel support
|
|
|
|
- Clean-up the install rules to match current packaging
|
|
|
|
- Correct changelog versions 1.0.7 -> 1.7.0
|
|
|
|
- Remove ix86 from ExclusiveArch -- it does not build with above changes
|
|
|
|
|
|
|
|
* Thu Jul 10 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-1.0
|
2014-07-10 19:52:18 +00:00
|
|
|
- Update source to official 1.7.0 release
|
|
|
|
|
|
|
|
* Thu Jul 03 2014 - Neil Horman <nhorman@tuxdriver.com>
|
2014-07-03 11:45:28 +00:00
|
|
|
- Fixing up release numbering
|
|
|
|
|
2014-07-21 14:02:31 +00:00
|
|
|
* Tue Jul 01 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.1.20140603git5ebbb1728
|
2014-07-01 15:09:58 +00:00
|
|
|
- Fixed some build errors (empty debuginfo, bad 32 bit build)
|
|
|
|
|
2014-07-21 14:02:31 +00:00
|
|
|
* Wed Jun 11 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.20140603git5ebbb1728
|
2014-06-11 11:01:39 +00:00
|
|
|
- Fix another build dependency
|
|
|
|
|
2014-07-21 14:02:31 +00:00
|
|
|
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.8.20140603git5ebbb1728
|
2014-06-09 16:50:30 +00:00
|
|
|
- Fixed doc arch versioning issue
|
|
|
|
|
2014-07-21 14:02:31 +00:00
|
|
|
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.7.20140603git5ebbb1728
|
2014-06-09 16:07:22 +00:00
|
|
|
- Added verbose output to build
|
|
|
|
|
2014-07-21 14:02:31 +00:00
|
|
|
* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.6.20140603git5ebbb1728
|
2014-06-06 21:00:32 +00:00
|
|
|
- Initial Build
|
|
|
|
|