Intel Ethernet X520 10GbE Dual Port KX4 Mezz User Manual page 84

Table of Contents

Advertisement

Building and Installation
There are two methods for installing the igbvf driver:
Install from Source Code
l
Install Using KMP RPM
l
Install from Source Code
To build a binary RPM* package of this driver, run 'rpmbuild -tb <filename.tar.gz>'. Replace <filename.tar.gz> with the
specific filename of the driver.
NOTE: 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.
1. Copy the base driver tar file from 'Linux/Source/base_driver/igbvf-<x.x.x>tar.gz' on the driver CD,
where <x.x.x> is the version number for the driver tar file, to the directory of your choice. For example, use
'/home/username/igbvf' or '/usr/local/src/igbvf'.
2. Untar/unzip the archive, where <x.x.x> is the version number for the driver tar:
tar zxf igbvf-<x.x.x>.tar.gz
3. Change to the driver src directory, where <x.x.x> is the version number for the driver tar:
cd igbvf-<x.x.x>/src/
4. Compile the driver module:
# make install
The binary will be installed as:
/lib/modules/<KERNEL VERSION>/kernel/drivers/net/igbvf/igbvf.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:
modprobe igbvf
For 2.6 based kernels, make sure that the older igbvf drivers are removed from the kernel, before loading the
new module:
rmmod igbvf.ko; modprobe igbvf
6. Assign an IP address to and activate the Ethernet interface by entering the following, where <x> is the interface
number:
ifconfig eth<x> <IP_address> up
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 <IP_address>
NOTE: Some systems have trouble supporting MSI and/or MSI-X interrupts. If your system needs to disable this
type of interrupt, the driver can be built and installed with the command:
#make CFLAGS_EXTRA=-DDISABLE_PCI_MSI install
Normally, the driver generates an interrupt every two seconds. If interrupts are not received in cat /proc/interrupts
for the ethX e1000e device, then this workaround may be necessary.
To build igbvf driver with DCA
If your kernel supports DCA, the driver will build by default with DCA enabled.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents