Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_ppe.c75 u32 hv1, hv2, hv3; in mtk_ppe_hash_entry() local
82 hv2 = e->bridge.src_mac_hi >> 16; in mtk_ppe_hash_entry()
83 hv2 ^= e->bridge.dest_mac_lo; in mtk_ppe_hash_entry()
89 hv2 = e->ipv4.orig.dest_ip; in mtk_ppe_hash_entry()
97 hv2 = e->ipv6.src_ip[2] ^ e->ipv6.dest_ip[2]; in mtk_ppe_hash_entry()
98 hv2 ^= e->ipv6.dest_ip[0]; in mtk_ppe_hash_entry()
110 hash = (hv1 & hv2) | ((~hv1) & hv3); in mtk_ppe_hash_entry()
112 hash ^= hv1 ^ hv2 ^ hv3; in mtk_ppe_hash_entry()