SHA256
1
0
forked from pool/dpdk
dpdk/dpdk.spec

417 lines
12 KiB
RPMSpec
Raw Normal View History

#
# spec file for package dpdk
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# needssslcertforbuild
%define flavor @BUILD_FLAVOR@%{nil}
%define aarch64_machine2 armv8a
%define exclusive_arch aarch64 x86_64 ppc64le
%define name_tag %{nil}
%define summary_tag %{nil}
%if "%flavor" == "thunderx"
%define name_tag -thunderx
%define summary_tag (thunderx)
%define aarch64_machine2 thunderx
%define exclusive_arch aarch64
%endif
%define machine native
%define machine2 default
%ifarch x86_64
%define machine native
%define target x86_64-%{machine}-linuxapp-gcc
%endif
%ifarch aarch64
%define machine2 %aarch64_machine2
%define target arm64-%{machine2}-linuxapp-gcc
%endif
%ifarch ppc64le
%define machine2 power8
%define target ppc_64-%{machine2}-linuxapp-gcc
%endif
# This is in sync with <src>/ABI_VERSION
# TODO: automate this sync
%define maj 20
%define min 0
%define lname libdpdk-%{maj}_%{min}
%bcond_without shared
Accepting request 433598 from home:ndas:branches:network - Drop code for generating our own linker script. * Commit 948fd64befc3 (" mk: replace the combined library with a linker script") added upstream support for building and installing a linker script so we drop our code from the spec file which generated a much larger and possibly broken linker script resulting to linking issues (boo#1002534) - Update to version 16.07. Some of the new features are listed below: * Removed the mempool cache memory if caching is not being used. * Added mempool external cache for non-EAL thread. * Changed the memory allocation scheme in the mempool library. * Added a new driver for Broadcom NetXtreme-C devices. * Added a new driver for ThunderX nicvf devices. * Added mailbox interrupt support for ixgbe and igb VFs. * Updated the ixgbe base driver. * Updated the i40e base driver. * Updated the enic driver. * Updated the mlx5 driver. * Added support for virtio on IBM POWER8. * Added support for Virtio in containers. * Added vhost-user client mode. * Added NSH packet recognition in i40e. * Added AES-CTR support to AESNI MB PMD. * Added AES counter mode support for Intel QuickAssist devices. * Added KASUMI SW PMD. * Added multi-writer support for RTE Hash with Intel TSX. * Improved IP Pipeline Application. * Added keepalive enhancements. * Added packet capture framework. OBS-URL: https://build.opensuse.org/request/show/433598 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=15
2016-10-06 16:10:19 +02:00
# Add option to build without examples
%bcond_without examples
# Add option to build without tools
%bcond_without tools
Name: dpdk%{name_tag}
Accepting request 927313 from home:suntorytimed:branches:network Rebased as requested - - Update LTS version to maintenance release 19.11.10 * app/crypto-perf: fix out-of-place mempool allocation * app/test: fix IPv6 header initialization * app/testpmd: change port link speed without stopping all * app/testpmd: fix help string for port reset * app/testpmd: fix IPv4 checksum * app/testpmd: fix MAC address after port reset * app/testpmd: fix offloads for newly attached port * app/testpmd: fix Tx checksum calculation for tunnel * bitmap: fix buffer overrun in bitmap init * bus: clarify log for non-NUMA-aware devices * bus/dpaa: fix freeing in FMAN interface destructor * common/mlx5: fix compatibility with OFED port query API * common/mlx5: fix Netlink port name padding in probing * common/mlx5: use new port query API if available * cryptodev: fix freeing after device release * crypto/mvsam: fix AES-GCM session parameters * crypto/mvsam: fix capabilities * crypto/mvsam: fix options parsing * crypto/mvsam: fix session data reset * crypto/octeontx: fix freeing after device release * crypto/qat: fix Arm build with special memcpy * devtools: fix file listing in maintainers check * distributor: fix 128-bit write alignment * doc: add limitation for ConnectX-4 with L2 in mlx5 guide * doc: announce common prefix for ethdev * doc: fix default burst size in testpmd * doc: fix spelling * drivers/net: fix memzone allocations for DMA memory * ethdev: fix doc of flow action * eventdev: fix event port setup in tx adapter * flow_classify: fix leaking rules on delete * (github-cpaelzer-stable/19.11) telemetry: fix race in telemetry control thread creation * ipc: stop mp control thread on cleanup * kni: fix crash on userspace VA for segmented packets * kni: fix mbuf allocation for kernel side use * mempool/octeontx2: fix shift calculation * net/bnxt: check access to possible null pointer * net/bnxt: cleanup code * net/bnxt: clear cached statistics * net/bnxt: detect bad opaque in Rx completion * net/bnxt: fix auto-negotiation on Whitney+ * net/bnxt: fix check for PTP support in FW * net/bnxt: fix error handling in VNIC prepare * net/bnxt: fix error messages in VNIC prepare * net/bnxt: fix missing barriers in completion handling * net/bnxt: fix nested lock during bonding * net/bnxt: fix ring and context memory allocation * net/bnxt: fix Rx burst size constraint * net/bnxt: fix Rx interrupt setting * net/bnxt: fix scalar Tx completion handling * net/bnxt: fix Tx descriptor status implementation * net/bnxt: fix typo in log message * net/bnxt: improve probing log message * net/bnxt: invoke device removal event on recovery failure * net/bnxt: remove unnecessary code * net/bnxt: remove unnecessary comment * net/bnxt: set flow error after tunnel redirection free * net/bnxt: set flow error when free filter not available * net/bnxt: use common function to free VNIC resource * net/bnxt: workaround spurious zero stats in Thor * net/bonding: check flow setting * net/bonding: fix error message on flow verify * net/ena: enable multi-segment in Tx offload flags * net/ena: trigger reset on Tx prepare failure * net/hinic/base: fix LRO * net/hinic: increase protection of the VLAN * net/hns3: fix delay for waiting to stop Rx/Tx * net/hns3: fix filter parsing comment * net/hns3: fix Tx prepare after stop * net/hns3: fix VLAN strip log * net/hns3: increase VF reset retry maximum * net/i40e: fix descriptor scan on Arm * net/i40e: fix multi-process shared data * net/iavf: fix RSS key access out of bound * net/iavf: fix Tx threshold check * net/ice/base: fix first profile mask * net/ice/base: revert change of first profile mask * net/ice: fix default RSS key generation * net/ice: fix memzone leak when firmware is missing * net/ixgbe: fix flow entry access after freeing * net/mlx5: fix incorrect r/w lock usage in DMA unmap * net/mlx5: fix IPIP multi-tunnel validation * net/mlx5: fix match MPLS over GRE with key * net/mlx5: fix MPLS RSS expansion * net/mlx5: fix overflow in mempool argument * net/mlx5: fix representor interrupt handler * net/mlx5: fix RoCE LAG bond device probing * net/mlx5: fix RSS flow item expansion for GRE key * net/mlx5: fix Rx/Tx queue checks * net/mlx5: fix switchdev mode recognition * net/mlx5: fix typo in vectorized Rx comments * net/mlx5: limit implicit MPLS RSS expansion over GRE * net/mlx5: limit inner RSS expansion for MPLS * net/mlx5: remove redundant operations in NEON Rx * net/mlx5: remove unsupported flow item MPLS over IP * net/mlx5: workaround drop action with old kernel * net/mvpp2: fix configured state dependency * net/mvpp2: fix port speed overflow * net/octeontx2: fix default MCAM allocation size * net/octeontx2: fix flow creation limit on CN98xx * net/octeontx2: use runtime LSO format indices * net/octeontx/base: fix debug build with clang * net/pfe: remove unnecessary null check * net/sfc: fix MAC stats lock in xstats query by ID * net/sfc: fix MAC stats update for stopped device * net/sfc: fix reading adapter state without locking * net/sfc: fix xstats query by ID according to ethdev * net/sfc: fix xstats query by unsorted list of IDs * net/softnic: fix connection memory leak * net/softnic: fix memory leak as profile is freed * net/virtio: fix aarch32 build * net/virtio: fix refill order in packed ring datapath * net/virtio: report maximum MTU in device info * power: fix namespace for internal struct * rib: fix max depth IPv6 lookup * test/crypto: fix mbuf reset after null check * test/crypto: fix mempool size for session-less * test/crypto: fix typo in AES case * test/crypto: fix typo in ESN case * test/mbuf: fix virtual address conversion * tests/eal: fix memory leak * vhost/crypto: check request pointer before dereference * vhost: fix crash on reconnect * vhost: fix missing guest pages table NUMA realloc * vhost: fix missing memory table NUMA realloc * vhost: utilize dynamic memory allocator * Changes from 19.11.9: https://doc.dpdk.org/guides-19.11/rel_notes/release_19_11.html#id25 - rename 0001-SLE15-SP3-compatibility-patch-for-kni.patch to 0002-SLE15-SP3-compatibility-patch-for-kni.patch - rename dpdk-fallthrough-comment-fixes.patch to 0003-dpdk-fallthrough-comment-fixes.patch OBS-URL: https://build.opensuse.org/request/show/927313 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=130
2021-11-21 12:10:03 +01:00
Version: 19.11.10
Release: 0
Summary: Set of libraries and drivers for fast packet processing
License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only
Group: System/Libraries
URL: http://dpdk.org
Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
Source1: preamble
Patch1: 0001-fix-cpu-compatibility.patch
Accepting request 927313 from home:suntorytimed:branches:network Rebased as requested - - Update LTS version to maintenance release 19.11.10 * app/crypto-perf: fix out-of-place mempool allocation * app/test: fix IPv6 header initialization * app/testpmd: change port link speed without stopping all * app/testpmd: fix help string for port reset * app/testpmd: fix IPv4 checksum * app/testpmd: fix MAC address after port reset * app/testpmd: fix offloads for newly attached port * app/testpmd: fix Tx checksum calculation for tunnel * bitmap: fix buffer overrun in bitmap init * bus: clarify log for non-NUMA-aware devices * bus/dpaa: fix freeing in FMAN interface destructor * common/mlx5: fix compatibility with OFED port query API * common/mlx5: fix Netlink port name padding in probing * common/mlx5: use new port query API if available * cryptodev: fix freeing after device release * crypto/mvsam: fix AES-GCM session parameters * crypto/mvsam: fix capabilities * crypto/mvsam: fix options parsing * crypto/mvsam: fix session data reset * crypto/octeontx: fix freeing after device release * crypto/qat: fix Arm build with special memcpy * devtools: fix file listing in maintainers check * distributor: fix 128-bit write alignment * doc: add limitation for ConnectX-4 with L2 in mlx5 guide * doc: announce common prefix for ethdev * doc: fix default burst size in testpmd * doc: fix spelling * drivers/net: fix memzone allocations for DMA memory * ethdev: fix doc of flow action * eventdev: fix event port setup in tx adapter * flow_classify: fix leaking rules on delete * (github-cpaelzer-stable/19.11) telemetry: fix race in telemetry control thread creation * ipc: stop mp control thread on cleanup * kni: fix crash on userspace VA for segmented packets * kni: fix mbuf allocation for kernel side use * mempool/octeontx2: fix shift calculation * net/bnxt: check access to possible null pointer * net/bnxt: cleanup code * net/bnxt: clear cached statistics * net/bnxt: detect bad opaque in Rx completion * net/bnxt: fix auto-negotiation on Whitney+ * net/bnxt: fix check for PTP support in FW * net/bnxt: fix error handling in VNIC prepare * net/bnxt: fix error messages in VNIC prepare * net/bnxt: fix missing barriers in completion handling * net/bnxt: fix nested lock during bonding * net/bnxt: fix ring and context memory allocation * net/bnxt: fix Rx burst size constraint * net/bnxt: fix Rx interrupt setting * net/bnxt: fix scalar Tx completion handling * net/bnxt: fix Tx descriptor status implementation * net/bnxt: fix typo in log message * net/bnxt: improve probing log message * net/bnxt: invoke device removal event on recovery failure * net/bnxt: remove unnecessary code * net/bnxt: remove unnecessary comment * net/bnxt: set flow error after tunnel redirection free * net/bnxt: set flow error when free filter not available * net/bnxt: use common function to free VNIC resource * net/bnxt: workaround spurious zero stats in Thor * net/bonding: check flow setting * net/bonding: fix error message on flow verify * net/ena: enable multi-segment in Tx offload flags * net/ena: trigger reset on Tx prepare failure * net/hinic/base: fix LRO * net/hinic: increase protection of the VLAN * net/hns3: fix delay for waiting to stop Rx/Tx * net/hns3: fix filter parsing comment * net/hns3: fix Tx prepare after stop * net/hns3: fix VLAN strip log * net/hns3: increase VF reset retry maximum * net/i40e: fix descriptor scan on Arm * net/i40e: fix multi-process shared data * net/iavf: fix RSS key access out of bound * net/iavf: fix Tx threshold check * net/ice/base: fix first profile mask * net/ice/base: revert change of first profile mask * net/ice: fix default RSS key generation * net/ice: fix memzone leak when firmware is missing * net/ixgbe: fix flow entry access after freeing * net/mlx5: fix incorrect r/w lock usage in DMA unmap * net/mlx5: fix IPIP multi-tunnel validation * net/mlx5: fix match MPLS over GRE with key * net/mlx5: fix MPLS RSS expansion * net/mlx5: fix overflow in mempool argument * net/mlx5: fix representor interrupt handler * net/mlx5: fix RoCE LAG bond device probing * net/mlx5: fix RSS flow item expansion for GRE key * net/mlx5: fix Rx/Tx queue checks * net/mlx5: fix switchdev mode recognition * net/mlx5: fix typo in vectorized Rx comments * net/mlx5: limit implicit MPLS RSS expansion over GRE * net/mlx5: limit inner RSS expansion for MPLS * net/mlx5: remove redundant operations in NEON Rx * net/mlx5: remove unsupported flow item MPLS over IP * net/mlx5: workaround drop action with old kernel * net/mvpp2: fix configured state dependency * net/mvpp2: fix port speed overflow * net/octeontx2: fix default MCAM allocation size * net/octeontx2: fix flow creation limit on CN98xx * net/octeontx2: use runtime LSO format indices * net/octeontx/base: fix debug build with clang * net/pfe: remove unnecessary null check * net/sfc: fix MAC stats lock in xstats query by ID * net/sfc: fix MAC stats update for stopped device * net/sfc: fix reading adapter state without locking * net/sfc: fix xstats query by ID according to ethdev * net/sfc: fix xstats query by unsorted list of IDs * net/softnic: fix connection memory leak * net/softnic: fix memory leak as profile is freed * net/virtio: fix aarch32 build * net/virtio: fix refill order in packed ring datapath * net/virtio: report maximum MTU in device info * power: fix namespace for internal struct * rib: fix max depth IPv6 lookup * test/crypto: fix mbuf reset after null check * test/crypto: fix mempool size for session-less * test/crypto: fix typo in AES case * test/crypto: fix typo in ESN case * test/mbuf: fix virtual address conversion * tests/eal: fix memory leak * vhost/crypto: check request pointer before dereference * vhost: fix crash on reconnect * vhost: fix missing guest pages table NUMA realloc * vhost: fix missing memory table NUMA realloc * vhost: utilize dynamic memory allocator * Changes from 19.11.9: https://doc.dpdk.org/guides-19.11/rel_notes/release_19_11.html#id25 - rename 0001-SLE15-SP3-compatibility-patch-for-kni.patch to 0002-SLE15-SP3-compatibility-patch-for-kni.patch - rename dpdk-fallthrough-comment-fixes.patch to 0003-dpdk-fallthrough-comment-fixes.patch OBS-URL: https://build.opensuse.org/request/show/927313 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=130
2021-11-21 12:10:03 +01:00
Patch2: 0002-SLE15-SP3-compatibility-patch-for-kni.patch
Patch3: 0003-dpdk-fallthrough-comment-fixes.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: kernel-syms
BuildRequires: libelf-devel
BuildRequires: libmnl-devel
BuildRequires: libnuma-devel
BuildRequires: libpcap-devel
BuildRequires: modutils
BuildRequires: pesign-obs-integration
BuildRequires: zlib-devel
Conflicts: dpdk-any
Provides: dpdk-any = %{version}
Accepting request 927313 from home:suntorytimed:branches:network Rebased as requested - - Update LTS version to maintenance release 19.11.10 * app/crypto-perf: fix out-of-place mempool allocation * app/test: fix IPv6 header initialization * app/testpmd: change port link speed without stopping all * app/testpmd: fix help string for port reset * app/testpmd: fix IPv4 checksum * app/testpmd: fix MAC address after port reset * app/testpmd: fix offloads for newly attached port * app/testpmd: fix Tx checksum calculation for tunnel * bitmap: fix buffer overrun in bitmap init * bus: clarify log for non-NUMA-aware devices * bus/dpaa: fix freeing in FMAN interface destructor * common/mlx5: fix compatibility with OFED port query API * common/mlx5: fix Netlink port name padding in probing * common/mlx5: use new port query API if available * cryptodev: fix freeing after device release * crypto/mvsam: fix AES-GCM session parameters * crypto/mvsam: fix capabilities * crypto/mvsam: fix options parsing * crypto/mvsam: fix session data reset * crypto/octeontx: fix freeing after device release * crypto/qat: fix Arm build with special memcpy * devtools: fix file listing in maintainers check * distributor: fix 128-bit write alignment * doc: add limitation for ConnectX-4 with L2 in mlx5 guide * doc: announce common prefix for ethdev * doc: fix default burst size in testpmd * doc: fix spelling * drivers/net: fix memzone allocations for DMA memory * ethdev: fix doc of flow action * eventdev: fix event port setup in tx adapter * flow_classify: fix leaking rules on delete * (github-cpaelzer-stable/19.11) telemetry: fix race in telemetry control thread creation * ipc: stop mp control thread on cleanup * kni: fix crash on userspace VA for segmented packets * kni: fix mbuf allocation for kernel side use * mempool/octeontx2: fix shift calculation * net/bnxt: check access to possible null pointer * net/bnxt: cleanup code * net/bnxt: clear cached statistics * net/bnxt: detect bad opaque in Rx completion * net/bnxt: fix auto-negotiation on Whitney+ * net/bnxt: fix check for PTP support in FW * net/bnxt: fix error handling in VNIC prepare * net/bnxt: fix error messages in VNIC prepare * net/bnxt: fix missing barriers in completion handling * net/bnxt: fix nested lock during bonding * net/bnxt: fix ring and context memory allocation * net/bnxt: fix Rx burst size constraint * net/bnxt: fix Rx interrupt setting * net/bnxt: fix scalar Tx completion handling * net/bnxt: fix Tx descriptor status implementation * net/bnxt: fix typo in log message * net/bnxt: improve probing log message * net/bnxt: invoke device removal event on recovery failure * net/bnxt: remove unnecessary code * net/bnxt: remove unnecessary comment * net/bnxt: set flow error after tunnel redirection free * net/bnxt: set flow error when free filter not available * net/bnxt: use common function to free VNIC resource * net/bnxt: workaround spurious zero stats in Thor * net/bonding: check flow setting * net/bonding: fix error message on flow verify * net/ena: enable multi-segment in Tx offload flags * net/ena: trigger reset on Tx prepare failure * net/hinic/base: fix LRO * net/hinic: increase protection of the VLAN * net/hns3: fix delay for waiting to stop Rx/Tx * net/hns3: fix filter parsing comment * net/hns3: fix Tx prepare after stop * net/hns3: fix VLAN strip log * net/hns3: increase VF reset retry maximum * net/i40e: fix descriptor scan on Arm * net/i40e: fix multi-process shared data * net/iavf: fix RSS key access out of bound * net/iavf: fix Tx threshold check * net/ice/base: fix first profile mask * net/ice/base: revert change of first profile mask * net/ice: fix default RSS key generation * net/ice: fix memzone leak when firmware is missing * net/ixgbe: fix flow entry access after freeing * net/mlx5: fix incorrect r/w lock usage in DMA unmap * net/mlx5: fix IPIP multi-tunnel validation * net/mlx5: fix match MPLS over GRE with key * net/mlx5: fix MPLS RSS expansion * net/mlx5: fix overflow in mempool argument * net/mlx5: fix representor interrupt handler * net/mlx5: fix RoCE LAG bond device probing * net/mlx5: fix RSS flow item expansion for GRE key * net/mlx5: fix Rx/Tx queue checks * net/mlx5: fix switchdev mode recognition * net/mlx5: fix typo in vectorized Rx comments * net/mlx5: limit implicit MPLS RSS expansion over GRE * net/mlx5: limit inner RSS expansion for MPLS * net/mlx5: remove redundant operations in NEON Rx * net/mlx5: remove unsupported flow item MPLS over IP * net/mlx5: workaround drop action with old kernel * net/mvpp2: fix configured state dependency * net/mvpp2: fix port speed overflow * net/octeontx2: fix default MCAM allocation size * net/octeontx2: fix flow creation limit on CN98xx * net/octeontx2: use runtime LSO format indices * net/octeontx/base: fix debug build with clang * net/pfe: remove unnecessary null check * net/sfc: fix MAC stats lock in xstats query by ID * net/sfc: fix MAC stats update for stopped device * net/sfc: fix reading adapter state without locking * net/sfc: fix xstats query by ID according to ethdev * net/sfc: fix xstats query by unsorted list of IDs * net/softnic: fix connection memory leak * net/softnic: fix memory leak as profile is freed * net/virtio: fix aarch32 build * net/virtio: fix refill order in packed ring datapath * net/virtio: report maximum MTU in device info * power: fix namespace for internal struct * rib: fix max depth IPv6 lookup * test/crypto: fix mbuf reset after null check * test/crypto: fix mempool size for session-less * test/crypto: fix typo in AES case * test/crypto: fix typo in ESN case * test/mbuf: fix virtual address conversion * tests/eal: fix memory leak * vhost/crypto: check request pointer before dereference * vhost: fix crash on reconnect * vhost: fix missing guest pages table NUMA realloc * vhost: fix missing memory table NUMA realloc * vhost: utilize dynamic memory allocator * Changes from 19.11.9: https://doc.dpdk.org/guides-19.11/rel_notes/release_19_11.html#id25 - rename 0001-SLE15-SP3-compatibility-patch-for-kni.patch to 0002-SLE15-SP3-compatibility-patch-for-kni.patch - rename dpdk-fallthrough-comment-fixes.patch to 0003-dpdk-fallthrough-comment-fixes.patch OBS-URL: https://build.opensuse.org/request/show/927313 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=130
2021-11-21 12:10:03 +01:00
Obsoletes: dpdk-kmp-trace < %{version}
ExclusiveArch: %exclusive_arch
%if 0%{?sle_version} >= 120400
BuildRequires: rdma-core-devel
%endif
%description
The Data Plane Development Kit is a set of libraries and drivers for
fast packet processing in the user space.
%package devel
Summary: Data Plane Development Kit development files %{summary_tag}
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Conflicts: dpdk-any-devel
Provides: dpdk-any-devel = %{version}
%description devel
This package contains the headers and other files needed for developing
applications with the Data Plane Development Kit.
%package -n %{lname}
Summary: Data Plane Development Kit runtime libraries %{summary_tag}
Group: Development/Libraries/C and C++
Provides: %{lname}-any = %{version}
%description -n %{lname}
This package contains the runtime libraries needed for 3rd party application
to use the Data Plane Development Kit.
%package doc
Summary: Data Plane Development Kit API documentation %{summary_tag}
Group: System/Libraries
Conflicts: dpdk-any-doc
Provides: dpdk-any-doc = %{version}
BuildArch: noarch
%description doc
API programming documentation for the Data Plane Development Kit.
%if %{with tools}
%package tools
Summary: Tools for setting up Data Plane Development Kit environment %{summary_tag}
Group: System/Libraries
Requires: %{name} = %{version}
Requires: findutils
Requires: iproute
Requires: kmod
Requires: pciutils
Conflicts: dpdk-any-tools
Provides: dpdk-any-tools = %{version}
%description tools
This package contains tools for setting up Data Plane Development Kit environment
%endif
%if %{with examples}
%package examples
Summary: Data Plane Development Kit example applications %{summary_tag}
Group: System/Libraries
BuildRequires: libvirt-devel
Conflicts: dpdk-any-examples
Provides: dpdk-any-examples = %{version}
%description examples
Example applications utilizing the Data Plane Development Kit, such
as L2 and L3 forwarding.
%endif
%package kmp
Summary: DPDK KNI kernel module %{summary_tag}
Group: System/Kernel
BuildRequires: %{kernel_module_package_buildreqs}
Conflicts: dpdk-any-kmp
%suse_kernel_module_package -p %{_sourcedir}/preamble pae 64kb
%description kmp
The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the Linux* control plane.
%define sdkdir %{_datadir}/dpdk
%define docdir %{_docdir}/dpdk
%define incdir %{_includedir}/dpdk
%define pmddir %{_libdir}/dpdk-pmds-%{maj}.%{min}
%prep
# can't use %{name} because of dpdk-thunderx
%setup -q -n dpdk-stable-%{version}
%patch1 -p1 -z .init
%patch2 -p1 -z .init
%patch3 -p1
# This fixes CROSS compilation (broken) in the mk file for ThunderX
sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk
# Verify ABI
[ "$(cat ABI_VERSION)" = "%{maj}.%{min}" ] || exit 1
%build
cp mk/machine/armv8a/rte.vars.mk mk/machine/thunderx
# set up a method for modifying the resulting .config file
function setconf() {
if grep -q ^$1= $3/.config; then
sed -i "s:^$1=.*$:$1=$2:g" $3/.config
else
echo $1=$2 >> $3/.config
fi
}
function setdefaultconf()
{
Accepting request 583318 from home:mvarlese:branches:network - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] OBS-URL: https://build.opensuse.org/request/show/583318 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=77
2018-03-06 13:12:48 +01:00
# Remove the below once upstream fixes the DPAA for NXP ARM
setconf CONFIG_RTE_LIBRTE_DPAA_BUS n $1
setconf CONFIG_RTE_LIBRTE_DPAA_MEMPOOL n $1
setconf CONFIG_RTE_LIBRTE_DPAA_PMD n $1
setconf CONFIG_RTE_LIBRTE_PMD_CAAM_JR n $1
Accepting request 583318 from home:mvarlese:branches:network - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] OBS-URL: https://build.opensuse.org/request/show/583318 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=77
2018-03-06 13:12:48 +01:00
setconf CONFIG_RTE_LIBRTE_PMD_DPAA_SEC n $1
setconf CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV n $1
%ifarch aarch64
setconf CONFIG_RTE_LIBRTE_PFE_PMD n $1
%endif
Accepting request 583318 from home:mvarlese:branches:network - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] OBS-URL: https://build.opensuse.org/request/show/583318 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=77
2018-03-06 13:12:48 +01:00
setconf CONFIG_RTE_MACHINE '"%{machine2}"' $1
# Disable experimental features
setconf CONFIG_RTE_NEXT_ABI n $1
# Enable automatic driver loading from this path
setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"' $1
setconf CONFIG_RTE_LIBRTE_BNX2X_PMD y $1
setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y $1
%if 0%{?sle_version} >= 120400
setconf CONFIG_RTE_LIBRTE_MLX5_PMD y $1
setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1
%endif
setconf CONFIG_RTE_EAL_IGB_UIO n $1
setconf CONFIG_RTE_KNI_KMOD n $1
%if %{with shared}
setconf CONFIG_RTE_BUILD_SHARED_LIB y $1
%endif
%ifarch aarch64 ppc64le
setconf CONFIG_RTE_LIBRTE_DISTRIBUTOR n $1
%endif
%ifarch ppc64le
setconf CONFIG_RTE_LIBRTE_PMD_RING n $1
setconf CONFIG_RTE_LIBRTE_IXGBE_PMD n $1
setconf CONFIG_RTE_LIBRTE_POWER n $1
%endif
}
# In case dpdk-devel is installed, we should ignore its hints about the SDK directories
unset RTE_SDK RTE_INCLUDE RTE_TARGET
export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -U_FORTIFY_SOURCE"
# 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.
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
setdefaultconf %{target}
export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
for flavor in %{flavors_to_build}; do
export RTE_KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor
make V=1 O=%{target}-$flavor T=%{target} %{?_smp_mflags} config
setdefaultconf %{target}-$flavor
setconf CONFIG_RTE_EAL_IGB_UIO y %{target}-$flavor
setconf CONFIG_RTE_KNI_KMOD y %{target}-$flavor
cd %{target}-$flavor
make V=1 %{?_smp_mflags}
cd -
done
make V=1 O=%{target} %{?_smp_mflags}
make V=1 O=%{target} %{?_smp_mflags} doc-api-html
%if %{with examples}
make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
%endif
%install
# export needed for kmp package
export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR=updates
export BRP_PESIGN_FILES="*.ko"
for flavor in %{flavors_to_build}; do
cd %{target}-$flavor
export RTE_KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor
dir=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor
krel=$(make -s -C "$dir" kernelrelease)
mkdir -p %{buildroot}/lib/modules/$krel/extra/dpdk/
#make install expects same kernel for build and target, lets copy it manually
install -m644 ../%{target}-$flavor/kmod/*.ko %{buildroot}/lib/modules/$krel/extra/dpdk/
cd -
done
# In case dpdk-devel is installed
unset RTE_SDK RTE_INCLUDE RTE_TARGET
%make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
%if ! %{with tools}
rm -rf %{buildroot}%{sdkdir}/usertools/
rm -rf %{buildroot}%{_sbindir}/dpdk_nic_bind
%endif
rm -f %{buildroot}%{sdkdir}/usertools/setup.sh
Accepting request 433598 from home:ndas:branches:network - Drop code for generating our own linker script. * Commit 948fd64befc3 (" mk: replace the combined library with a linker script") added upstream support for building and installing a linker script so we drop our code from the spec file which generated a much larger and possibly broken linker script resulting to linking issues (boo#1002534) - Update to version 16.07. Some of the new features are listed below: * Removed the mempool cache memory if caching is not being used. * Added mempool external cache for non-EAL thread. * Changed the memory allocation scheme in the mempool library. * Added a new driver for Broadcom NetXtreme-C devices. * Added a new driver for ThunderX nicvf devices. * Added mailbox interrupt support for ixgbe and igb VFs. * Updated the ixgbe base driver. * Updated the i40e base driver. * Updated the enic driver. * Updated the mlx5 driver. * Added support for virtio on IBM POWER8. * Added support for Virtio in containers. * Added vhost-user client mode. * Added NSH packet recognition in i40e. * Added AES-CTR support to AESNI MB PMD. * Added AES counter mode support for Intel QuickAssist devices. * Added KASUMI SW PMD. * Added multi-writer support for RTE Hash with Intel TSX. * Improved IP Pipeline Application. * Added keepalive enhancements. * Added packet capture framework. OBS-URL: https://build.opensuse.org/request/show/433598 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=15
2016-10-06 16:10:19 +02:00
#TODO pip elftools has issues to fix
rm -rf %{buildroot}%{_bindir}/dpdk-pmdinfo
%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
# Create a driver directory with symlinks to all pmds
mkdir -p %{buildroot}/%{pmddir}
for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
bn=$(basename ${f})
ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
done
#mempool is a driver now from 16.07
mkdir -p %{buildroot}/%{pmddir}
for f in %{buildroot}/%{_libdir}/*_mempool_*.so.*; do
bn=$(basename ${f})
ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
done
# 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
if [ -z "\${RTE_SDK}" ]; then
export RTE_SDK="%{sdkdir}"
export RTE_TARGET="%{target}"
export RTE_INCLUDE="%{incdir}"
fi
EOF
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.csh
if ( ! \${?RTE_SDK} ) then
setenv RTE_SDK "%{sdkdir}"
setenv RTE_TARGET "%{target}"
setenv RTE_INCLUDE "%{incdir}"
endif
EOF
# Fixup target machine mismatch
sed -i -e 's:-%{machine}-:-%{machine2}-:g' %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk*
#doc
mkdir %{buildroot}%{_docdir}/
mv %{buildroot}%{_datadir}/doc/dpdk %{buildroot}%{_docdir}/
Accepting request 433598 from home:ndas:branches:network - Drop code for generating our own linker script. * Commit 948fd64befc3 (" mk: replace the combined library with a linker script") added upstream support for building and installing a linker script so we drop our code from the spec file which generated a much larger and possibly broken linker script resulting to linking issues (boo#1002534) - Update to version 16.07. Some of the new features are listed below: * Removed the mempool cache memory if caching is not being used. * Added mempool external cache for non-EAL thread. * Changed the memory allocation scheme in the mempool library. * Added a new driver for Broadcom NetXtreme-C devices. * Added a new driver for ThunderX nicvf devices. * Added mailbox interrupt support for ixgbe and igb VFs. * Updated the ixgbe base driver. * Updated the i40e base driver. * Updated the enic driver. * Updated the mlx5 driver. * Added support for virtio on IBM POWER8. * Added support for Virtio in containers. * Added vhost-user client mode. * Added NSH packet recognition in i40e. * Added AES-CTR support to AESNI MB PMD. * Added AES counter mode support for Intel QuickAssist devices. * Added KASUMI SW PMD. * Added multi-writer support for RTE Hash with Intel TSX. * Improved IP Pipeline Application. * Added keepalive enhancements. * Added packet capture framework. OBS-URL: https://build.opensuse.org/request/show/433598 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=15
2016-10-06 16:10:19 +02:00
ln -s %{_bindir}/dpdk-procinfo %{buildroot}%{_bindir}/dpdk_proc_info
ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind
# Fix interpreter
find %{buildroot} -name "*.py" -exec sed -i 's|python$|python3|' \{\} +
find %{buildroot} -name "*.py" -exec sed -i 's|env python|python|' \{\} +
# Remove duplicates
%fdupes %{buildroot}/%{_prefix}
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
# BSD
%{_bindir}/testpmd
Accepting request 583318 from home:mvarlese:branches:network - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] OBS-URL: https://build.opensuse.org/request/show/583318 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=77
2018-03-06 13:12:48 +01:00
%{_bindir}/testbbdev
%{_bindir}/testsad
Accepting request 433598 from home:ndas:branches:network - Drop code for generating our own linker script. * Commit 948fd64befc3 (" mk: replace the combined library with a linker script") added upstream support for building and installing a linker script so we drop our code from the spec file which generated a much larger and possibly broken linker script resulting to linking issues (boo#1002534) - Update to version 16.07. Some of the new features are listed below: * Removed the mempool cache memory if caching is not being used. * Added mempool external cache for non-EAL thread. * Changed the memory allocation scheme in the mempool library. * Added a new driver for Broadcom NetXtreme-C devices. * Added a new driver for ThunderX nicvf devices. * Added mailbox interrupt support for ixgbe and igb VFs. * Updated the ixgbe base driver. * Updated the i40e base driver. * Updated the enic driver. * Updated the mlx5 driver. * Added support for virtio on IBM POWER8. * Added support for Virtio in containers. * Added vhost-user client mode. * Added NSH packet recognition in i40e. * Added AES-CTR support to AESNI MB PMD. * Added AES counter mode support for Intel QuickAssist devices. * Added KASUMI SW PMD. * Added multi-writer support for RTE Hash with Intel TSX. * Improved IP Pipeline Application. * Added keepalive enhancements. * Added packet capture framework. OBS-URL: https://build.opensuse.org/request/show/433598 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=15
2016-10-06 16:10:19 +02:00
%{_bindir}/dpdk-procinfo
%{_bindir}/dpdk_proc_info
Accepting request 433598 from home:ndas:branches:network - Drop code for generating our own linker script. * Commit 948fd64befc3 (" mk: replace the combined library with a linker script") added upstream support for building and installing a linker script so we drop our code from the spec file which generated a much larger and possibly broken linker script resulting to linking issues (boo#1002534) - Update to version 16.07. Some of the new features are listed below: * Removed the mempool cache memory if caching is not being used. * Added mempool external cache for non-EAL thread. * Changed the memory allocation scheme in the mempool library. * Added a new driver for Broadcom NetXtreme-C devices. * Added a new driver for ThunderX nicvf devices. * Added mailbox interrupt support for ixgbe and igb VFs. * Updated the ixgbe base driver. * Updated the i40e base driver. * Updated the enic driver. * Updated the mlx5 driver. * Added support for virtio on IBM POWER8. * Added support for Virtio in containers. * Added vhost-user client mode. * Added NSH packet recognition in i40e. * Added AES-CTR support to AESNI MB PMD. * Added AES counter mode support for Intel QuickAssist devices. * Added KASUMI SW PMD. * Added multi-writer support for RTE Hash with Intel TSX. * Improved IP Pipeline Application. * Added keepalive enhancements. * Added packet capture framework. OBS-URL: https://build.opensuse.org/request/show/433598 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=15
2016-10-06 16:10:19 +02:00
%{_bindir}/dpdk-pdump
%files -n %{lname}
%defattr(-,root,root)
%if %{with shared}
%{_libdir}/*.so.*
%{pmddir}
%endif
%files doc
%defattr(-,root,root)
#BSD
%docdir
Accepting request 583318 from home:mvarlese:branches:network - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] - Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files - Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 - Updated to version 18.02; some of the changes include: * Added function to allow releasing internal EAL resources on exit * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API * Updated i40e driver to support PPPoE/PPPoL2TP * Added MAC loopback support for i40e * Added support of run time determination of number of queues per i40e VF * Updated mlx5 driver * Updated mlx4 driver * Added NVGRE and UDP tunnels support in Solarflare network PMD * Added AVF (Adaptive Virtual Function) net PMD * Added feature supports for live migration from vhost-net to vhost-user * Updated the AESNI-MB PMD * Updated the DPAA_SEC crypto driver to support rte_security * Added Wireless Base Band Device (bbdev) abstraction * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD * Added new pipeline use case for dpdk-test-eventdev application * Updated Eventdev sample application to support event devices based on capability * Added Rawdev, a generic device support library * Added new multi-process communication channel * Added GRO support for VxLAN-tunneled packets * Increased default Rx and Tx ring size in sample applications * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] OBS-URL: https://build.opensuse.org/request/show/583318 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=77
2018-03-06 13:12:48 +01:00
%doc license/gpl-2.0.txt license/lgpl-2.1.txt
%files devel
%defattr(-,root,root)
#BSD
%{incdir}/
%{sdkdir}
%if %{with tools}
%exclude %{sdkdir}/usertools/
%endif
%if %{with examples}
%exclude %{sdkdir}/examples/
%endif
%{_sysconfdir}/profile.d/dpdk-sdk-*.*
%if ! %{with shared}
%{_libdir}/*.a
%else
%{_libdir}/*.so
%endif
%if %{with tools}
%files tools
%defattr(-,root,root)
%{sdkdir}/usertools/
Accepting request 433598 from home:ndas:branches:network - Drop code for generating our own linker script. * Commit 948fd64befc3 (" mk: replace the combined library with a linker script") added upstream support for building and installing a linker script so we drop our code from the spec file which generated a much larger and possibly broken linker script resulting to linking issues (boo#1002534) - Update to version 16.07. Some of the new features are listed below: * Removed the mempool cache memory if caching is not being used. * Added mempool external cache for non-EAL thread. * Changed the memory allocation scheme in the mempool library. * Added a new driver for Broadcom NetXtreme-C devices. * Added a new driver for ThunderX nicvf devices. * Added mailbox interrupt support for ixgbe and igb VFs. * Updated the ixgbe base driver. * Updated the i40e base driver. * Updated the enic driver. * Updated the mlx5 driver. * Added support for virtio on IBM POWER8. * Added support for Virtio in containers. * Added vhost-user client mode. * Added NSH packet recognition in i40e. * Added AES-CTR support to AESNI MB PMD. * Added AES counter mode support for Intel QuickAssist devices. * Added KASUMI SW PMD. * Added multi-writer support for RTE Hash with Intel TSX. * Improved IP Pipeline Application. * Added keepalive enhancements. * Added packet capture framework. OBS-URL: https://build.opensuse.org/request/show/433598 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=15
2016-10-06 16:10:19 +02:00
%{_sbindir}/dpdk-devbind
%{_sbindir}/dpdk_nic_bind
%{_bindir}/dpdk-test-eventdev
%{_bindir}/dpdk-test-compress-perf
%{_bindir}/dpdk-test-crypto-perf
%endif
%if %{with examples}
%files examples
%defattr(-,root,root)
%{_bindir}/dpdk_example_*
%doc %{sdkdir}/examples
%endif
%changelog