Home
last modified time | relevance | path

Searched refs:hv2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c143 u32 hv1, hv2, hv3; in mtk_ppe_hash_entry() local
150 hv2 = e->ipv4.orig.dest_ip; in mtk_ppe_hash_entry()
158 hv2 = e->ipv6.src_ip[2] ^ e->ipv6.dest_ip[2]; in mtk_ppe_hash_entry()
159 hv2 ^= e->ipv6.dest_ip[0]; in mtk_ppe_hash_entry()
171 hash = (hv1 & hv2) | ((~hv1) & hv3); in mtk_ppe_hash_entry()
173 hash ^= hv1 ^ hv2 ^ hv3; in mtk_ppe_hash_entry()