SHA256
1
0
forked from pool/dpdk

Accepting request 484048 from home:ndas:branches:network

- Enable HAVE_VF_VLAN_PROTO for SLE12SP3(bsc#1031705).
  [+0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch]

- Enable HAVE_VF_VLAN_PROTO for SLE12SP3(bsc#1031705).
  [+0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch]

OBS-URL: https://build.opensuse.org/request/show/484048
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=42
This commit is contained in:
2017-04-05 11:45:54 +00:00
committed by Git OBS Bridge
parent 7e5f136cc7
commit bd246ac340
5 changed files with 49 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ Source1: preamble
# However, the problem still exists and the fix has to find its way to the
# upstream code.
Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
Patch2: 0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc6
@@ -143,6 +144,7 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the
%prep
%setup -q -n dpdk-stable-16.11.1
%patch1 -p1 -z .enic
%patch2 -p1 -z .kni
# This fixes CROSS compilation (broken) in the mk file for ThunderX
sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk