Merge "upgrade ixgbevf driver to 4.5.1 for CentOS 7.6" into f/centos76

This commit is contained in:
Zuul 2019-01-23 17:25:20 +00:00 committed by Gerrit Code Review
commit 452ad6a170
3 changed files with 3 additions and 32 deletions

View File

@ -1,4 +1,4 @@
COPY_LIST=" \
$PKG_BASE/files/* \
$STX_BASE/downloads/ixgbevf-4.3.5.tar.gz"
TIS_PATCH_VER=2
$STX_BASE/downloads/ixgbevf-4.5.1.tar.gz"
TIS_PATCH_VER=1

View File

@ -8,7 +8,7 @@
%define kmod_name ixgbevf
Name: %{kmod_name}-kmod%{?bt_ext}
Version: 4.3.5
Version: 4.5.1
Release: 0%{?_tis_dist}.%{tis_patch_ver}
Group: System Environment/Kernel
License: GPLv2
@ -23,8 +23,6 @@ Source0: %{kmod_name}-%{version}.tar.gz
Source5: GPL-v2.0.txt
Source11: modules-load.conf
Patch01: 0001-i40evf-Fix-compile-issue.patch
%define kversion %(rpm -q kernel%{?bt_ext}-devel | sort --version-sort | tail -1 | sed 's/kernel%{?bt_ext}-devel-//')
%package -n kmod-ixgbevf%{?bt_ext}

View File

@ -1,27 +0,0 @@
From af5c220050e90b388fdff4b3730cde150988daec Mon Sep 17 00:00:00 2001
From: Dahir Osman <dahir.osman@windriver.com>
Date: Fri, 23 Sep 2016 11:17:54 -0400
Subject: [PATCH] i40evf: Fix compile issue.
The Makefile was using the wrong CONFIG to compile the driver sources.
The driver was not being built at all without this fix.
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index b50a61d..610c5f9 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -28,7 +28,7 @@ ifneq ($(KERNELRELEASE),)
# Makefile for the Intel(R) 10GbE PCI Express Virtual Function Driver
#
-obj-$(CONFIG_IXGBE) += ixgbevf.o
+obj-$(CONFIG_IXGBEVF) += ixgbevf.o
define ixgbevf-y
ixgbevf_main.o
--
1.9.1