SHA256
1
0
forked from pool/dpdk

Accepting request 511155 from home:ndas:branches:network

- Switch to pci_enable_msix_range() for kernel > 4.8
  [+0006-kni-fix-ethtool-build-with-kernel-4.11.patch]

- Switch to pci_enable_msix_range() for kernel > 4.8
  [+0006-kni-fix-ethtool-build-with-kernel-4.11.patch]

OBS-URL: https://build.opensuse.org/request/show/511155
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=53
This commit is contained in:
Markos Chandras
2017-07-18 09:39:57 +00:00
committed by Git OBS Bridge
parent 97a5b5dfba
commit b2c344dce4
5 changed files with 84 additions and 0 deletions

View File

@@ -61,6 +61,8 @@ 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-gcc-7.1.patch bsc#1042372
Patch5: 0005-kni-fix-build-with-gcc-7.1.patch
#PATCH-FIX-UPSTREAM 0006-kni-fix-ethtool-build-with-kernel-4.11.patch
Patch6: 0006-kni-fix-ethtool-build-with-kernel-4.11.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: libnuma-devel
@@ -150,6 +152,7 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the
%patch3 -p1 -z .kni2
%patch4 -p1 -z .thunderx
%patch5 -p1 -z .kni3
%patch6 -p1 -z .kni4
# This fixes CROSS compilation (broken) in the mk file for ThunderX
sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk