Lines Matching refs:rxhash
162 u32 rxhash;
365 static inline u32 tun_hashfn(u32 rxhash)
367 return rxhash & TUN_MASK_FLOW_ENTRIES;
370 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash)
375 if (e->rxhash == rxhash)
383 u32 rxhash, u16 queue_index)
390 rxhash, queue_index);
392 e->rxhash = rxhash;
405 e->rxhash, e->queue_index);
475 static void tun_flow_update(struct tun_struct *tun, u32 rxhash,
483 head = &tun->flows[tun_hashfn(rxhash)];
487 e = tun_flow_find(head, rxhash);
497 if (!tun_flow_find(head, rxhash) &&
499 tun_flow_create(tun, head, rxhash, queue_index);
519 /* We try to identify a flow through its rxhash. The reason that
1042 __u32 rxhash;
1044 rxhash = __skb_get_hash_symmetric(skb);
1045 e = tun_flow_find(&tun->flows[tun_hashfn(rxhash)], rxhash);
1047 tun_flow_save_rps_rxhash(e, rxhash);
1756 u32 rxhash = 0;
1941 rxhash = __skb_get_hash_symmetric(skb);
2012 if (rxhash)
2013 tun_flow_update(tun, rxhash, tfile);
2448 u32 rxhash = 0, act;
2524 rxhash = __skb_get_hash_symmetric(skb);
2549 if (rxhash)
2550 tun_flow_update(tun, rxhash, tfile);