Lines Matching refs:reduced_hash
637 u16 reduced_hash, srchost_idx, dsthost_idx; in cake_hash() local
722 reduced_hash = flow_hash % CAKE_QUEUES; in cake_hash()
726 if (likely(q->tags[reduced_hash] == flow_hash && in cake_hash()
727 q->flows[reduced_hash].set)) { in cake_hash()
730 u32 inner_hash = reduced_hash % CAKE_SET_WAYS; in cake_hash()
731 u32 outer_hash = reduced_hash - inner_hash; in cake_hash()
777 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--; in cake_hash()
779 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--; in cake_hash()
783 reduced_hash = outer_hash + k; in cake_hash()
784 q->tags[reduced_hash] = flow_hash; in cake_hash()
804 if (q->flows[reduced_hash].set == CAKE_SET_BULK) in cake_hash()
806 q->flows[reduced_hash].srchost = srchost_idx; in cake_hash()
827 if (q->flows[reduced_hash].set == CAKE_SET_BULK) in cake_hash()
829 q->flows[reduced_hash].dsthost = dsthost_idx; in cake_hash()
833 return reduced_hash; in cake_hash()