Lines Matching refs:rxhash

160 	u32 rxhash;  member
352 static inline u32 tun_hashfn(u32 rxhash) in tun_hashfn() argument
354 return rxhash & TUN_MASK_FLOW_ENTRIES; in tun_hashfn()
357 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find() argument
362 if (e->rxhash == rxhash) in tun_flow_find()
370 u32 rxhash, u16 queue_index) in tun_flow_create() argument
377 rxhash, queue_index); in tun_flow_create()
379 e->rxhash = rxhash; in tun_flow_create()
392 e->rxhash, e->queue_index); in tun_flow_delete()
462 static void tun_flow_update(struct tun_struct *tun, u32 rxhash, in tun_flow_update() argument
470 head = &tun->flows[tun_hashfn(rxhash)]; in tun_flow_update()
474 e = tun_flow_find(head, rxhash); in tun_flow_update()
484 if (!tun_flow_find(head, rxhash) && in tun_flow_update()
486 tun_flow_create(tun, head, rxhash, queue_index); in tun_flow_update()
986 __u32 rxhash; in tun_automq_xmit() local
988 rxhash = __skb_get_hash_symmetric(skb); in tun_automq_xmit()
989 e = tun_flow_find(&tun->flows[tun_hashfn(rxhash)], rxhash); in tun_automq_xmit()
991 tun_flow_save_rps_rxhash(e, rxhash); in tun_automq_xmit()
1661 u32 rxhash = 0; in tun_get_user() local
1863 rxhash = __skb_get_hash_symmetric(skb); in tun_get_user()
1917 if (rxhash) in tun_get_user()
1918 tun_flow_update(tun, rxhash, tfile); in tun_get_user()
2340 u32 rxhash = 0, act; in tun_xdp_one() local
2414 rxhash = __skb_get_hash_symmetric(skb); in tun_xdp_one()
2423 if (rxhash) in tun_xdp_one()
2424 tun_flow_update(tun, rxhash, tfile); in tun_xdp_one()