Lines Matching refs:rxhash
171 u32 rxhash;
375 static inline u32 tun_hashfn(u32 rxhash)
377 return rxhash & TUN_MASK_FLOW_ENTRIES;
380 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash)
385 if (e->rxhash == rxhash)
393 u32 rxhash, u16 queue_index)
400 rxhash, queue_index);
402 e->rxhash = rxhash;
415 e->rxhash, e->queue_index);
485 static void tun_flow_update(struct tun_struct *tun, u32 rxhash,
493 head = &tun->flows[tun_hashfn(rxhash)];
497 e = tun_flow_find(head, rxhash);
507 if (!tun_flow_find(head, rxhash) &&
509 tun_flow_create(tun, head, rxhash, queue_index);
529 /* We try to identify a flow through its rxhash. The reason that
1059 __u32 rxhash;
1061 rxhash = __skb_get_hash_symmetric(skb);
1062 e = tun_flow_find(&tun->flows[tun_hashfn(rxhash)], rxhash);
1064 tun_flow_save_rps_rxhash(e, rxhash);
1769 u32 rxhash = 0;
1973 rxhash = __skb_get_hash_symmetric(skb);
2038 if (rxhash)
2039 tun_flow_update(tun, rxhash, tfile);
2468 u32 rxhash = 0, act;
2545 rxhash = __skb_get_hash_symmetric(skb);
2558 if (rxhash)
2559 tun_flow_update(tun, rxhash, tfile);