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:
committed by
Git OBS Bridge
parent
b62efd3af8
commit
012aa9aad9
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user