Hash key data
Hash key type 5 is a 2-tuple where the hash key data is the contents of these packet header fields:
- 32-bit IPv4 / 128-bit IPv6 source address
- 32-bit IPv4 / 128-bit IPv6 destination address
For hash key type 5, the source and destination IP addresses are XORed together. The XORed value is stored in hash key data word 0 / 0 – 3 whereas 4 / 4 – 7 are zeroed. This means that frames sent from IP address A to IP address B will generate the same hash value as frames sent from IP address B to IP address A.
For IPv4 packets, hash key data words 1 – 3 and 5 – 9 are all zeros for hash key type 5. For IPv6 packets, hash key data words 8 and 9 are all zeros for hash key type 5.
Hash key type 5 is valid for frames containing an IPv4 packet or an IPv6 packet.