Home
last modified time | relevance | path

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

/net/sched/
Dsch_cake.c653 u16 reduced_hash, srchost_idx, dsthost_idx; in cake_hash() local
738 reduced_hash = flow_hash % CAKE_QUEUES; in cake_hash()
742 if (likely(q->tags[reduced_hash] == flow_hash && in cake_hash()
743 q->flows[reduced_hash].set)) { in cake_hash()
746 u32 inner_hash = reduced_hash % CAKE_SET_WAYS; in cake_hash()
747 u32 outer_hash = reduced_hash - inner_hash; in cake_hash()
789 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--; in cake_hash()
790 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--; in cake_hash()
796 reduced_hash = outer_hash + k; in cake_hash()
797 q->tags[reduced_hash] = flow_hash; in cake_hash()
[all …]