Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe.c146 u32 hv1, hv2, hv3; in mtk_ppe_hash_entry() local
152 hv1 = e->ipv4.orig.ports; in mtk_ppe_hash_entry()
158 hv1 = e->ipv6.src_ip[3] ^ e->ipv6.dest_ip[3]; in mtk_ppe_hash_entry()
159 hv1 ^= e->ipv6.ports; in mtk_ppe_hash_entry()
174 hash = (hv1 & hv2) | ((~hv1) & hv3); in mtk_ppe_hash_entry()
176 hash ^= hv1 ^ hv2 ^ hv3; in mtk_ppe_hash_entry()
/linux-6.12.1/include/uapi/linux/
Dif_packet.h180 struct tpacket_hdr_variant1 hv1; member
/linux-6.12.1/tools/testing/selftests/net/
Dtoeplitz.c208 if (hdr->hv1.tp_rxhash) in recv_frame()
209 verify_rxhash(frame + hdr->tp_net, hdr->hv1.tp_rxhash, in recv_frame()
/linux-6.12.1/net/packet/
Daf_packet.c1053 ppd->hv1.tp_rxhash = skb_get_hash(pkc->skb); in prb_fill_rxhash()
1059 ppd->hv1.tp_rxhash = 0; in prb_clear_rxhash()
1068 ppd->hv1.tp_vlan_tci = skb_vlan_tag_get(pkc->skb); in prb_fill_vlan_info()
1069 ppd->hv1.tp_vlan_tpid = ntohs(pkc->skb->vlan_proto); in prb_fill_vlan_info()
1072 ppd->hv1.tp_vlan_tci = vlan_get_tci(pkc->skb, pkc->skb->dev); in prb_fill_vlan_info()
1073 ppd->hv1.tp_vlan_tpid = ntohs(pkc->skb->protocol); in prb_fill_vlan_info()
1076 ppd->hv1.tp_vlan_tci = 0; in prb_fill_vlan_info()
1077 ppd->hv1.tp_vlan_tpid = 0; in prb_fill_vlan_info()
1085 ppd->hv1.tp_padding = 0; in prb_run_all_ft_ops()
/linux-6.12.1/Documentation/networking/
Dpacket_mmap.rst915 printf("rxhash: 0x%x\n", ppd->hv1.tp_rxhash);