
3-4
AOC-STG-i2T Add-on Card User's Guide
3-6 Building the Driver Manually
Follow the instructions below to build the driver manually.
1. Move the base driver tar le to the directory of your choice. For example,
/home/username/ixgbe
or
/usr/local/src/ixgbe.
2. Untar/unzip archive:
tar zxf ixgbe-x.x.x.tar.gz
3. Change to the driver src directory:
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
le included in the driver tar.
Note: IXGBE_NO_LRO is a compile time ag. The user can enable it at
compile time to remove support for LRO from the driver. The ag is used
by adding CFLAGS_EXTRA=-”DIXGBE_NO_LRO” to the make le 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 specied. For example:
insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/net/ixgbe/ixgbe.ko
Comentarios a estos manuales