5   © 2014 Cisco and/or its affiliates. All rights reserved.
Boot-Time Configuration
Example commands for setting fnic_max_qdepth to 128:
RHEL 6.x / SLES11 / XS
1.  In /etc/grub.conf, append fnic.fnic_max_qdepth=<value> to the kernel line:
   kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/vg_craigsrh-lv_root rd_NO_LUKS LANG=en_US.UTF-8 
rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_craigsrh/lv_swap rd_LVM_LV=vg_craigsrh/
lv_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet fnic.fnic_max_qdepth=128
2.  Reboot for the new fnic_max_qdepth to take effect.
RHEL 5.x
1.  In /etc/modprobe.conf, add an “options fnic” line to set fnic_max_qdepth at boot time:
  options fnic fnic_log_level=4 fnic_trace_max_pages=128 fnic_max_qdepth=128
2.  Rebuild initrd:
  mkinitrd -v -f /boot/initrd-`uname -r`.img `uname –r`
3.  Reboot for the new fnic_max_qdepth to take effect.
ESX 5.x
1.  Set fnic_max_qdepth by running the following command in ESX 5 CLI:
  # esxcli system module parameters set –p fnic_max_qdepth=128 –m fnic
2.  Reboot for the new fnic_max_qdepth to take effect.
Load-Time Configuration
RHEL / SLES11 / XS
1.  Run one of the following commands at the CLI:
  # modprobe fnic fnic_max_qdepth=128
 or
  # insmod fnic.ko fnic_max_qdepth=128
Run-Time Configuration
RHEL / SLES11 / XS
1.  Configure fnic_max_qdepth with sysfs entry with the following command at the CLI:
  # echo 128 > /sys/module/fnic/parameters/fnic_max_qdepth