rss_mbuf_software_hash_v4() accepts a card's address hash for a TCP or
UDP packet only when that protocol's ports are not hashed. Fragments
are hashed on their addresses alone, in software and by cards such as
the I226, the first fragment included, so that is the right hash for a
fragment. It was rejected all the same for every fragment of a TCP
segment, and of a UDP datagram when UDP ports are hashed, and with
options RSS netisr computed the same hash again in software. IPv6 is
not affected: there a fragment is a protocol of its own.
Accept the address hash for a fragment. The value does not change, so
no packet moves to another CPU.
With UDP ports hashed, DTrace on an I226 showed all 72 IPv4 fragments
of 24 datagrams hashed again to the value they arrived with, while the
IPv6 fragments were accepted.
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")