Option lxmit_hash_policy
The option xmit_hash_policy is used to select the transmit hash policy
for slave selection. There are three possible values:
- Layer 2
- Uses XOR of hardware MAC addresses to generate the hash. This algorithm will place all traffic to a particular network peer on the same slave.
- Layer 2+3
- Uses a combination of layer2 and layer3 protocol information to generate the hash. Traffic for different remote hosts is mapped to different slaves; one remote host is always mapped to the same slave.
- Layer 3+4
- Uses upper-layer protocol information, when available, to generate the hash. Traffic for different connections to the same remote host is mapped to different slaves; each individual connection is always mapped to the same slave. Each connection is identified by IP address plus port number.