User Manual

Rev 2.0-3.0.0
Mellanox Technologies
215
Step 11. In case of interoperability issues between iSCSI and Large Receive Offload (LRO), change the
last command above as follows to disable LRO:
Step 12. Now you can assign an IP address to your IB device by adding a call to ifconfig or to the
DHCP client
in the init file after loading the modules. If you wish to use the DHCP client, then
you need to add a call to the DHCP client in the
init file after loading the IB modules. For
example:
Step 13. Save the init file.
Step 14. Close initrd.
Step 15. At this stage, the modified initrd (including the IB driver) is ready and located at
/tmp/new_init_ib.img.gz. Copy it to the original initrd location and rename it prop-
erly.
A.9.2 Case II: Ethernet Ports
The Ethernet driver requires loading the following modules in the specified order – see the exam-
ple below:
•mlx4_core.ko
•mlx4_en.ko
/sbin/insmod /lib/modules/ib/ib_core.ko
/sbin/insmod /lib/modules/ib/ib_mad.ko
/sbin/insmod /lib/modules/ib/ib_sa.ko
/sbin/insmod /lib/modules/ib/ib_cm.ko
/sbin/insmod /lib/modules/ib/ib_uverbs.ko
/sbin/insmod /lib/modules/ib/ib_ucm.ko
/sbin/insmod /lib/modules/ib/ib_umad.ko
/sbin/insmod /lib/modules/ib/iw_cm.ko
/sbin/insmod /lib/modules/ib/rdma_cm.ko
/sbin/insmod /lib/modules/ib/rdma_ucm.ko
/sbin/insmod /lib/modules/ib/mlx4_core.ko
/sbin/insmod /lib/modules/ib/mlx4_ib.ko
/sbin/insmod /lib/modules/ib/ib_mthca.ko
The following command (loading ipoib_helper.ko) is not required for all OS kernels.
Please check the release notes.
/sbin/insmod /lib/modules/ib/ipoib_helper.ko
/sbin/insmod /lib/modules/ib/ib_ipoib.ko
/sbin/insmod /lib/modules/ib/ib_ipoib.ko lro=0
/sbin/dhclient -cf /sbin/dhclient.conf ib1
host1$ cd /tmp/initrd_ib
host1$ find ./ | cpio -H newc -o > /tmp/new_initrd_ib.img
host1$ gzip /tmp/new_init_ib.img