From: Dmitry Teselkin Date: Mon, 24 Oct 2016 12:55:07 +0000 (+0300) Subject: Update i40e-dkms to 1.5.19 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fheads%2F7.0;p=packages%2Ftrusty%2Fi40e-dkms.git Update i40e-dkms to 1.5.19 This commit copies content of 9.0 from commit 07c23327fb7dbcf8d517173cff64e357dd673d63 Includes the following commits 07c2332 Fix for automatically built when booting a new kernel, LP #1619632 8140778 Update i40e-dkms to the latest 1.5.19 stable version for Ubuntu bd220a5 Update i40e-dkms kernel module to 1.5.18 version for Ubuntu f337253 Cleanup, removing unnecessary version from the i40e-dkms folder name 8b5eba2 Update i40e-dkms kernel module up to the ver 1.3.47 for Ubuntu Change-Id: I3fb379f37b260f3575f2bb009587c806b6ffeca8 Related-bug: #1581096 --- diff --git a/debian/changelog b/debian/changelog index 7087515..9f4c76e 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,36 @@ +i40e-dkms (1.5.19-1~u14.04+mos1) MOS; urgency=low + + Bump version to 1.5.19 (from 9.0). This includes the following: + + [07c2332] + * LP 1619632 bug fix. i40e-dkms is not built after kernel update + + [8140778] + * Update the driver i40e version up to 1.5.19 + + [bd220a5] + * Update the driver i40e version up to 1.5.18 + * There are two changes in dkms.conf file: + * 1)the KSRC variable now is used for pointing to correst kernel path + * 2)make was taken in quotes ('') to suppress passing KERNELRELEASE + * variable by DKMS otherwise the building fails. + * Like: MAKE[0]="'make' -C src/ KSRC=/lib/modules/{kernelver}/build" + + [f337253] + * Cleanup, removing unnecessary version from the i40e-dkms folder name + + [8b5eba2] + * Update the driver i40e version up to 1.3.47 + + -- Dmitry Teselkin Mon, 24 Oct 2016 15:52:47 +0300 + i40e-dkms (1.2.48-1~u14.04+mos2) MOS 7.0 Divergent package; urgency=low * Fix dkms.conf to be able build the package in Ubuntu chroot from CentOS -- Mirantis Openstack Linux Team Tue, 18 August 2015 18:55:19 +0000 - * Update the driver i40e version to 1.2.48 + * Update the driver i40e version to 1.2.48 . -- Mirantis Openstack Linux Team Thu, 30 July 2015 16:45:27 +0000 -- The sources were taken from http://sourceforge.net/projects/e1000/files/i40e%20stable/1.2.48/ diff --git a/debian/copyright b/debian/copyright index 92fcd2d..2621bb7 100755 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: i40e-dkms -Source: http://sourceforge.net/projects/e1000/files/i40e%20stable/1.2.48/ +Source: http://sourceforge.net/projects/e1000/files/i40e%20stable/1.5.19/ Files: * Copyright: Copyright(c) 2013 - 2015 Intel Corporation. diff --git a/debian/postinst b/debian/postinst index 80bb73d..c70881a 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,12 +4,20 @@ # Copyright (C) 2007 Mario Limonciello # Copyright (C) 2009 Alberto Milone +# MOS packages has a suffix in its name +# separated by the '~', which is actually +# recognized as a part of the package version. +# That's wrong and follows to DKMS fall during +# the installation the package. +# To fix it the CVERSION was extended with +# the string "| cut -d\~ -f1" cutting the suffix + set -e NAME=i40e PACKAGE_NAME=$NAME-dkms DEB_NAME=$(echo $PACKAGE_NAME | sed 's,_,-,') -CVERSION=`dpkg-query -W -f='${Version}' $DEB_NAME | awk -F "-" '{print $1}' | cut -d\: -f2` +CVERSION=`dpkg-query -W -f='${Version}' $DEB_NAME | awk -F "-" '{print $1}' | cut -d\: -f2 | cut -d\~ -f1` ARCH=`dpkg --print-architecture` dkms_configure () { diff --git a/debian/prerm b/debian/prerm index e398edb..b130c79 100755 --- a/debian/prerm +++ b/debian/prerm @@ -1,7 +1,7 @@ #!/bin/sh NAME=i40e -VERSION=1.2.48 +VERSION=1.5.19 set -e diff --git a/debian/rules b/debian/rules index 293ecf4..179c96a 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ DEB_NAME=i40e NAME=i40e -VERSION=1.2.48 +VERSION=1.5.19 configure: configure-stamp configure-stamp: diff --git a/i40e-dkms-1.2.48/i40e-1.2.48/README b/i40e-dkms-1.2.48/i40e-1.2.48/README deleted file mode 100755 index 8ae616a..0000000 --- a/i40e-dkms-1.2.48/i40e-1.2.48/README +++ /dev/null @@ -1,785 +0,0 @@ -i40e Linux* Base Driver for the Intel(R) XL710 Ethernet Controller Family -=============================================================================== - - -=============================================================================== - -June 12, 2015 - -=============================================================================== - - -Contents --------- - -- Overview -- Identifying Your Adapter -- Building and Installation -- Command Line Parameters -- Intel(R) i40e Ethernet Flow Director -- Additional Features & Configurations -- Known Issues - - -=============================================================================== - - -Overview --------- - -This document describes the i40e Linux* Base Driver for the XL710 Ethernet -Controller Family of Adapters. The Linux base driver supports the 2.6.32 and -newer kernels and includes support for Linux supported x86_64 systems. - -The following features are available in supported kernels: - -- Native VLANs -- Channel Bonding (teaming) -- SNMP -- Generic Receive Offload - -Adapter teaming is implemented using the native Linux Channel bonding -module. This is included in supported Linux kernels. Channel Bonding -documentation can be found in the Linux kernel source: -/Documentation/networking/bonding.txt - -Driver information can be obtained using the ethtool, lspci, or iproute2 -ip command. Instructions on updating ethtool can be found in the -Additional Features & Configurations section later on this page. - - -Identifying Your Adapter ------------------------- - -The driver in this release is compatible with XL710 and X710-based Intel -Ethernet Network Connections. - -For more information on how to identify your adapter, go to the Adapter & -Driver ID Guide at: -http://support.intel.com/support/go/network/adapter/proidguide.htm - -For the best performance, make sure the latest NVM/FW is installed on -your device and that you are using the newest drivers. For the latest -NVM/FW images and Intel network drivers for Linux, refer to the following -website. Select the link for your adapter. -http://support.intel.com/support/go/network/adapter/home.htm - - -SFP+ Devices with Pluggable Optics ----------------------------------- - -SR Modules ----------- - Intel DUAL RATE 1G/10G SFP+ SR (bailed) E10GSFPSR - -LR Modules ----------- - Intel DUAL RATE 1G/10G SFP+ LR (bailed) E10GSFPLR - -1G SFP Modules ----------- -The following is a list of 3rd party 1G SFP modules that have received some -testing. Not all modules are applicable to all devices. - -Supplier Type Part Numbers - Finisar 1000BASE-T SFP FCLF-8251-3 - Kinnex A 1000BASE-T SFP XSFP-T-RJ12-0101-DLL - Avago 1000BASE-T SFP ABCU-5710RZ - -QSFP+ Modules -------------- - Intel TRIPLE RATE 1G/10G/40G QSFP+ SR (bailed) E40GQSFPSR - QSFP+ 1G speed is not supported on XL710 based devices. - -X710/XL710 Based SFP+ adapters support passive QSFP+ Direct Attach cables. -Intel recommends using Intel optics and cables. Other modules may function -but are not validated by Intel. Contact Intel for supported media types. - - -=============================================================================== - - -Building and Installation -------------------------- - -To build a binary RPM* package of this driver, run 'rpmbuild -tb i40e*.tar.gz'. - -NOTES: - - For the build to work properly, the currently running kernel MUST match - the version and configuration of the installed kernel sources. If you have - just recompiled the kernel, reboot the system before building. - - RPM functionality has only been tested in Red Hat distributions. - -1. Move the base driver tar file to the directory of your choice. For - example, use '/home/username/i40e' or '/usr/local/src/i40e'. - -2. Untar/unzip the archive, where is the version number for the - driver tar file: - - tar zxf i40e-.tar.gz - -3. Change to the driver src directory, where is the version number - for the driver tar: - - cd i40e-/src/ - -4. Compile the driver module: - - # make install - - The binary will be installed as: - - /lib/modules/`uname -r`/kernel/drivers/net/i40e/i40e.ko - - The install location listed above is the default location. This may differ - for various Linux distributions. - -5. Load the module using the modprobe command: - - modprobe i40e = - - Make sure that any older i40e drivers are removed from the kernel before - loading the new module: - - rmmod i40e; modprobe i40e - -6. Assign an IP address to the interface by entering the following, where ethX - is the interface name that was shown in dmesg after modprobe: - - ip address add / dev ethX - -7. Verify that the interface works. Enter the following, where IP_address - is the IP address for another machine on the same subnet as the interface - that is being tested: - - ping - -NOTE: - For certain distributions like (but not limited to) RedHat Enterprise - Linux 7 and Ubuntu, once the driver is installed the initrd/initramfs - file may need to be updated to prevent the OS loading old versions - of the i40e driver. The dracut utility may be used on RedHat - distributions: - # dracut --force - For Ubuntu: - # update-initramfs -u - - -============================================================================== - - -Command Line Parameters ------------------------ - -In general, ethtool and other OS specific commands are used to configure user -changeable parameters after the driver is loaded. The i40e driver only supports -the max_vfs kernel parameter on older kernels that do not have the standard -sysfs interface. The only other module parameter supported is the debug -parameter that can control the default logging verbosity of the driver. - -If the driver is built as a module, the following optional parameters are used -by entering them on the command line with the modprobe command using this -syntax: - - modprobe i40e [