Lines Matching defs:hash
1702 uint32_t hash, slice;
1708 * in the NIC, so as to generate the same hash value
1712 /* hash on IPv4 src/dst address */
1715 hash = table[(256 * 0) + ((daddr >> 24) & 0xff)];
1716 hash ^= table[(256 * 1) + ((daddr >> 16) & 0xff)];
1717 hash ^= table[(256 * 2) + ((daddr >> 8) & 0xff)];
1718 hash ^= table[(256 * 3) + ((daddr) & 0xff)];
1719 hash ^= table[(256 * 4) + ((saddr >> 24) & 0xff)];
1720 hash ^= table[(256 * 5) + ((saddr >> 16) & 0xff)];
1721 hash ^= table[(256 * 6) + ((saddr >> 8) & 0xff)];
1722 hash ^= table[(256 * 7) + ((saddr) & 0xff)];
1723 /* hash on TCP port, if required */
1731 hash ^= table[(256 * 8) + ((dst >> 8) & 0xff)];
1732 hash ^= table[(256 * 9) + ((dst) & 0xff)];
1733 hash ^= table[(256 * 10) + ((src >> 8) & 0xff)];
1734 hash ^= table[(256 * 11) + ((src) & 0xff)];
1736 slice = (mgp->num_slices - 1) & hash;
2112 "toeplitz tx hash table", mgp->name);
4752 cmn_err(CE_WARN, "myri10ge: Illegal rssh hash type %d\n",