Lines Matching refs:rxhash

160 	u32 rxhash;  member
363 static inline u32 tun_hashfn(u32 rxhash) in tun_hashfn() argument
365 return rxhash & TUN_MASK_FLOW_ENTRIES; in tun_hashfn()
368 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find() argument
373 if (e->rxhash == rxhash) in tun_flow_find()
381 u32 rxhash, u16 queue_index) in tun_flow_create() argument
388 rxhash, queue_index); in tun_flow_create()
390 e->rxhash = rxhash; in tun_flow_create()
403 e->rxhash, e->queue_index); in tun_flow_delete()
473 static void tun_flow_update(struct tun_struct *tun, u32 rxhash, in tun_flow_update() argument
481 head = &tun->flows[tun_hashfn(rxhash)]; in tun_flow_update()
485 e = tun_flow_find(head, rxhash); in tun_flow_update()
495 if (!tun_flow_find(head, rxhash) && in tun_flow_update()
497 tun_flow_create(tun, head, rxhash, queue_index); in tun_flow_update()
1048 __u32 rxhash; in tun_automq_xmit() local
1050 rxhash = __skb_get_hash_symmetric(skb); in tun_automq_xmit()
1051 e = tun_flow_find(&tun->flows[tun_hashfn(rxhash)], rxhash); in tun_automq_xmit()
1053 tun_flow_save_rps_rxhash(e, rxhash); in tun_automq_xmit()
1763 u32 rxhash = 0; in tun_get_user() local
1948 rxhash = __skb_get_hash_symmetric(skb); in tun_get_user()
2019 if (rxhash) in tun_get_user()
2020 tun_flow_update(tun, rxhash, tfile); in tun_get_user()
2456 u32 rxhash = 0, act; in tun_xdp_one() local
2532 rxhash = __skb_get_hash_symmetric(skb); in tun_xdp_one()
2557 if (rxhash) in tun_xdp_one()
2558 tun_flow_update(tun, rxhash, tfile); in tun_xdp_one()