3-4
AOC-STGN-i1S/-i2S Add-on Card User's Guide
Follow the instructions below to build the driver manually.
1.
Move the base driver tar file to the directory of your choice. For example
/home/username/ixgbe
or
/usr/local/src/ixgbe
2.
Untar/unzip archive, where <x.x.x> is the version number for the driver tar file:
tar zxf ixgbe-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 ixgbe-x.x.x/src/
4. Compile the driver module:
make install
The binary will be installed as:
/lib/modules/[KERNEL_VERSION]/kernel/drivers/net/ixgbe/ixgbe.[k]o
The install locations listed above are the default locations. They might not be
correct for certain Linux distributions. For more information, see the ldistrib.txt
file included in the driver tar.
Note:
IXGBE_NO_LRO is a compile time flag. The user can enable it at
compile time to remove support for LRO from the driver. The flag is used
by adding CFLAGS_EXTRA=-”DIXGBE_NO_LRO” to the make file when
it’s being compiled.
make CFLAGS_EXTRA=”-DIXGBE_NO_LRO” install
5. Load the module:
For kernel 2.6.x, use the modprobe command:
modprobe ixgbe <parameter>=<value>
For 2.6 kernels, the
insmod
command can be used if the full path to the driver
module is specified. For example:
insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/net/
ixgbe/ixgbe.ko