User`s guide

Chapter V. WD-UDP
Chelsio T5/T4 Unified Wire For Linux Page 89
If you have eth2 and eth3 configured for example, you can define certain endpoints to eth2 and
others to eth3:
endpoint {interface=eth2 port=9999}
endpoint {interface=eth3 port=8888}
For VLAN support, create your VLANs using the normal OS service (like vconfig, for example),
then add entries to define the VLAN and priority for each endpoint to be accelerated:
endpoint {interface = eth2.5 port=10000}
endpoint {interface = eth2.7 priority=3 port=9000}
The maximum MTU supported for a 4K host page size is 4032. If the MTU is > 4032, follow the
steps mentioned below:
[root@host]# echo 1024 > /proc/sys/vm/nr_hugepages
[root@host]# CXGB4_SOCK_HUGE_PAGES=1 wdload <pathto>/your_application
4.1.3. Using per process config file
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
For individual interfaces, create a config file for “accelerate all” configuration on both nodes:
[root@host]# cat /root/config1
endpoint {interface=eth1 port=0}
In order to offload IPv6 UDP sockets, please select “low latency networking” as
T5/T4 configuration tuning option during installation.
Note