Lines Matching refs:rxhash

171 	u32 rxhash;  member
375 static inline u32 tun_hashfn(u32 rxhash) in tun_hashfn() argument
377 return rxhash & TUN_MASK_FLOW_ENTRIES; in tun_hashfn()
380 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find() argument
385 if (e->rxhash == rxhash) in tun_flow_find()
393 u32 rxhash, u16 queue_index) in tun_flow_create() argument
400 rxhash, queue_index); in tun_flow_create()
402 e->rxhash = rxhash; in tun_flow_create()
415 e->rxhash, e->queue_index); in tun_flow_delete()
485 static void tun_flow_update(struct tun_struct *tun, u32 rxhash, in tun_flow_update() argument
493 head = &tun->flows[tun_hashfn(rxhash)]; in tun_flow_update()
497 e = tun_flow_find(head, rxhash); in tun_flow_update()
507 if (!tun_flow_find(head, rxhash) && in tun_flow_update()
509 tun_flow_create(tun, head, rxhash, queue_index); in tun_flow_update()
1059 __u32 rxhash; in tun_automq_xmit() local
1061 rxhash = __skb_get_hash_symmetric(skb); in tun_automq_xmit()
1062 e = tun_flow_find(&tun->flows[tun_hashfn(rxhash)], rxhash); in tun_automq_xmit()
1064 tun_flow_save_rps_rxhash(e, rxhash); in tun_automq_xmit()
1769 u32 rxhash = 0; in tun_get_user() local
1973 rxhash = __skb_get_hash_symmetric(skb); in tun_get_user()
2038 if (rxhash) in tun_get_user()
2039 tun_flow_update(tun, rxhash, tfile); in tun_get_user()
2466 u32 rxhash = 0, act; in tun_xdp_one() local
2540 rxhash = __skb_get_hash_symmetric(skb); in tun_xdp_one()
2553 if (rxhash) in tun_xdp_one()
2554 tun_flow_update(tun, rxhash, tfile); in tun_xdp_one()