Lines Matching defs:rxhash
163 u32 rxhash;
303 static inline u32 tun_hashfn(u32 rxhash)
305 return rxhash & TUN_MASK_FLOW_ENTRIES;
308 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash)
313 if (e->rxhash == rxhash)
321 u32 rxhash, u16 queue_index)
328 rxhash, queue_index);
330 e->rxhash = rxhash;
343 e->rxhash, e->queue_index);
413 static void tun_flow_update(struct tun_struct *tun, u32 rxhash,
421 head = &tun->flows[tun_hashfn(rxhash)];
425 e = tun_flow_find(head, rxhash);
435 if (!tun_flow_find(head, rxhash) &&
437 tun_flow_create(tun, head, rxhash, queue_index);
457 /* We try to identify a flow through its rxhash. The reason that
990 __u32 rxhash;
992 rxhash = __skb_get_hash_symmetric(skb);
993 e = tun_flow_find(&tun->flows[tun_hashfn(rxhash)], rxhash);
995 tun_flow_save_rps_rxhash(e, rxhash);
1741 u32 rxhash = 0;
1925 rxhash = __skb_get_hash_symmetric(skb);
1996 if (rxhash)
1997 tun_flow_update(tun, rxhash, tfile);
2455 u32 rxhash = 0, act;
2547 rxhash = __skb_get_hash_symmetric(skb);
2572 if (rxhash)
2573 tun_flow_update(tun, rxhash, tfile);