Searched refs:hv1 (Results 1 – 5 of 5) sorted by relevance
93 u32 hv1, hv2, hv3; in mtk_ppe_hash_entry() local99 hv1 = e->ipv4.orig.ports; in mtk_ppe_hash_entry()105 hv1 = e->ipv6.src_ip[3] ^ e->ipv6.dest_ip[3]; in mtk_ppe_hash_entry()106 hv1 ^= e->ipv6.ports; in mtk_ppe_hash_entry()121 hash = (hv1 & hv2) | ((~hv1) & hv3); in mtk_ppe_hash_entry()123 hash ^= hv1 ^ hv2 ^ hv3; in mtk_ppe_hash_entry()
179 struct tpacket_hdr_variant1 hv1; member
208 if (hdr->hv1.tp_rxhash) in recv_frame()209 verify_rxhash(frame + hdr->tp_net, hdr->hv1.tp_rxhash, in recv_frame()
996 ppd->hv1.tp_rxhash = skb_get_hash(pkc->skb); in prb_fill_rxhash()1002 ppd->hv1.tp_rxhash = 0; in prb_clear_rxhash()1009 ppd->hv1.tp_vlan_tci = skb_vlan_tag_get(pkc->skb); in prb_fill_vlan_info()1010 ppd->hv1.tp_vlan_tpid = ntohs(pkc->skb->vlan_proto); in prb_fill_vlan_info()1013 ppd->hv1.tp_vlan_tci = 0; in prb_fill_vlan_info()1014 ppd->hv1.tp_vlan_tpid = 0; in prb_fill_vlan_info()1022 ppd->hv1.tp_padding = 0; in prb_run_all_ft_ops()
914 printf("rxhash: 0x%x\n", ppd->hv1.tp_rxhash);
Completed in 15 milliseconds