Lines Matching refs:rxhash
160 u32 rxhash;
363 static inline u32 tun_hashfn(u32 rxhash)
365 return rxhash & TUN_MASK_FLOW_ENTRIES;
368 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash)
373 if (e->rxhash == rxhash)
381 u32 rxhash, u16 queue_index)
388 rxhash, queue_index);
390 e->rxhash = rxhash;
403 e->rxhash, e->queue_index);
473 static void tun_flow_update(struct tun_struct *tun, u32 rxhash,
481 head = &tun->flows[tun_hashfn(rxhash)];
485 e = tun_flow_find(head, rxhash);
495 if (!tun_flow_find(head, rxhash) &&
497 tun_flow_create(tun, head, rxhash, queue_index);
517 /* We try to identify a flow through its rxhash. The reason that
1048 __u32 rxhash;
1050 rxhash = __skb_get_hash_symmetric(skb);
1051 e = tun_flow_find(&tun->flows[tun_hashfn(rxhash)], rxhash);
1053 tun_flow_save_rps_rxhash(e, rxhash);
1763 u32 rxhash = 0;
1948 rxhash = __skb_get_hash_symmetric(skb);
2019 if (rxhash)
2020 tun_flow_update(tun, rxhash, tfile);
2454 u32 rxhash = 0, act;
2530 rxhash = __skb_get_hash_symmetric(skb);
2555 if (rxhash)
2556 tun_flow_update(tun, rxhash, tfile);