Chapter XV. Offload Bonding
Software/Driver Configuration and Fine-tuning
4.1.
Offloading TCP traffic over a bonded interface
The Chelsio Offload Bonding driver supports all the bonding modes in NIC Mode. In offload mode
(t4_tom loaded) however, only the balance-rr (mode=0), active-backup (mode=1), balance-
xor (mode=2) and 802.3ad (mode=4) modes are supported.
To offload TCP traffic over a bonded interface, use the following method:
i.
Load the network driver with TOE support:
[root@host~]# modprobe t4_tom
ii. Create a bonded interface:
[root@host~]# modprobe bonding mode=1 miimon=100
iii. Bring up the bonded interface and enslave the interfaces to the bond:
[root@host~]# ifconfig bond0 up
[root@host~]# ifenslave bond0 ethX ethY
ethX and ethY are interfaces of the same adapter.
Note
iv. Assign IPv4/IPv6 address to the bonded interface:
[root@host~]# ifconfig bond0 X.X.X.X/Y
[root@host~]# ifconfig bond0 inet6 add <128-bit IPv6 Address> up
v. Disable FRTO on the PEER:
[root@host~]# sysctl -w net.ipv4.tcp_frto=0
All TCP traffic will be offloaded over the bonded interface now.
Chelsio Unified Wire for Linux
240
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers