User`s guide

Chapter V. WD-UDP
Chelsio T5/T4 Unified Wire For Linux Page 87
egress, if the destination IP address will not route out via the T5/T4 device, then it too will
not be accelerated.
4.1.2. Using libcxgb4_sock
The libcxgb4_sock library utilizes the Linux RDMA Verbs subsystem, and thus requires the
RDMA modules be loaded. Ensure that your systems load the iw_cxgb4 and rdma_ucm
modules:
[root@host]# modprobe iw_cxgb4
[root@host]# modprobe rdma_ucm
To preload libcxgb4_sock, use one of the commands mentioned below when starting your
application:
[root@host]# LD_PRELOAD=libcxgb4_sock.so <pathto>/your_application
OR
[root@host]# wdload <pathto>/your_application
If you want to use libcxgb4_sock’s debug capabilities, make the following entry in the
/etc/syslog.conf file:
*.debug /var/log/cxgb4.log
then, restart the service:
[root@host]# /etc/init.d/syslog restart
If you encounter error while using wdload on kernels built on RHEL 5.x
distribution, then run the above command as :
[root@host]# NUMA=0 wdload <pathto>/your_application
Note