SHA256
1
0
forked from pool/dpdk

Accepting request 497858 from home:markoschandras:network

- Add upstream patch to fix building against linux kernel 4.11
  [+0005-kni-fix-build-with-kernel-4.11.patch]

- Add upstream patch to fix building against linux kernel 4.11
  [+0005-kni-fix-build-with-kernel-4.11.patch]

OBS-URL: https://build.opensuse.org/request/show/497858
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=49
This commit is contained in:
Nirmoy Das
2017-05-24 07:37:09 +00:00
committed by Git OBS Bridge
parent b62efd3af8
commit 012aa9aad9
5 changed files with 98 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
Patch2: 0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch
Patch3: 0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch
Patch4: 0004-net-thunderx-sync-mailbox-definitions-with-Linux-PF-.patch
# PATCH-FIX-UPSTREAM 0005-kni-fix-build-with-kernel-4.11.patch
# This patch fixes the kni build against linux kernel 4.11
Patch5: 0005-kni-fix-build-with-kernel-4.11.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc6
@@ -147,6 +150,8 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the
%patch2 -p1 -z .kni1
%patch3 -p1 -z .kni2
%patch4 -p1 -z .thunderx
%patch5 -p1 -z .kni3
# This fixes CROSS compilation (broken) in the mk file for ThunderX
sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk