Home
last modified time | relevance | path

Searched refs:flow_hash (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/sched/
Dsch_cake.c653 u32 flow_hash = 0, srchost_hash = 0, dsthost_hash = 0; in cake_hash() local
719 flow_hash = flow_hash_from_keys(&keys); in cake_hash()
723 flow_hash = flow_override - 1; in cake_hash()
725 flow_hash = skb->hash; in cake_hash()
733 flow_hash ^= srchost_hash; in cake_hash()
736 flow_hash ^= dsthost_hash; in cake_hash()
739 reduced_hash = flow_hash % CAKE_QUEUES; in cake_hash()
743 if (likely(q->tags[reduced_hash] == flow_hash && in cake_hash()
758 if (q->tags[outer_hash + k] == flow_hash) { in cake_hash()
798 q->tags[reduced_hash] = flow_hash; in cake_hash()
/linux-6.6.21/net/openvswitch/
Dflow_table.c648 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash() function
712 hash = flow_hash(&masked_key, &mask->range); in masked_flow_lookup()
1043 flow->flow_table.hash = flow_hash(&flow->key, &flow->mask->range); in flow_key_insert()