beautypg.com

Install from source code, Install from a dkms rpm – Dell Intel PRO Family of Adapters User Manual

Page 105

background image

l

Using Intel® Ehternet and the PCISIG Single Root I/O Virtualization (SR-IOV) and Sharing Specification on Red
Hat Enterprise Linux

l

How to Configure Intel® X520 Ethernet Server Adapter Based Virtual Functions on Citrix XenServer 6.0

NOTE: For VLANs, there is a limit of a total of 32 shared VLANs to 1 or more virtual functions.

There are three methods for installing the Linux driver:

l

Install from Source Code

l

Install from a DKMS RPM

l

Install Using KMP RPM

Install from Source Code

To build a binary RPM* package of this driver, run 'rpmbuild -tb '. Replace with the
specific filename of the driver.

NOTES:

l

For the build to work properly it is important that the currently running kernel MATCH the version and con-
figuration of the installed kernel source. If you have just recompiled your kernel, reboot the system.

l

RPM functionality has only been tested in Red Hat distributions.

1. Copy the base driver tar file from 'Linux/Source/base_driver/ixgbevf-tar.gz' on the driver CD,

where is the version number for the driver tar file, to the directory of your choice. For example, use
'/home/username/ixgbevf' or '/usr/local/src/ixgbevf'.

2. Untar/unzip the archive, where is the version n umber for the driver tar:

tar zxf ixgbevf-.tar.gz

3. Change to the driver src directory, where is the version number for the driver tar:

cd ixgbevf-/src/

4. Compile the driver module:

make install

The binary will be installed as: /lib/modules//ker-

nel/drivers/net/ixgbevf/ixgbevf.ko

The install locations listed above are the default locations. This might differ for various Linux distributions. For
more information, see the ldistrib.txt file included in the driver tar.

5. Install the module using the modprobe command for kernel 2.6.x:

modprobe ixgbevf =

For 2.6 based kernels, make sure that the older ixgbevf drivers are removed from the kernel, before loading the
new module:

rmmod ixgbevf; modprobe ixgbevf

6. Assign an IP address to and activate the Ethernet interface by entering the following, where is the interface

number:

ifconfig eth netmask

7. Verify that the interface works. Enter the following, where is the IP address for another machine

on the same subnet as the interface that is being tested:

ping

Install from a DKMS RPM

On the installation CD, the DKMS RPM is located at: /Linux/DKMS/base_driver/. Otherwise, navigate to the directory
containing the RPM that you wish to install. To install or uninstall the RPMs, follow the instructions below.

NOTE: The DKMS (2.0 or higher) framework must be installed before attempting to install a DKMS RPM. DKMS
can be acquired at:

http://linux.dell.com/dkms/