6–Configuring NIC Functionality in the Converged Network Adapter
Configuring the NIC in a Linux Environment
FE0254601-00 A 6-47
2. Load the Linux bonding driver module and specify parameters to be
changed. One or more parameters can be specified separated by a space.
The following command sets MII link monitoring frequency to 100ms and
enables the round-robin policy mode:
# modprobe -v miimon=100 mode=0
3. Verify that the values for these parameters have changed by issuing the
following command:
# cat /sys/class/net/bond0/bonding/miimon
# cat /sys/class/net/bond0/bonding/mode
Making Persistent Changes to the Bonding Driver (recommended)
To make changes to driver parameters that persist across reboots, edit the file
/etc/modprobe.conf, add the QLogic FCoE driver parameters and values,
build a new RAMDISK image and reboot. For example:
1. Open the file /etc/modprobe.conf with an editor in read/write mode by
issuing the following command:
# vi /etc/modprobe.conf
2. Add the driver parameters, save the file, and then exit the editor by issuing
the following commands:
alias bond0 bonding
options bonding miimon=100 mode=0
3. Create a new RAMDISK (initrd image) by issuing the following command:
a. Change directory to the location containing the RAMDISK images by
issuing the following command:
# cd /boot
b. Create a backup copy of the RAMDISK (initrd) image by issuing the
following command:
# cp initrd-[kernel version].img initrd-[kernel
version].img.bak
c. Generate a new RAMDISK image containing the updated QLogic
FCoE driver by issuing the following command:
# mkinitrd -f initrd-[kernel version].img `uname -r`