Home
last modified time | relevance | path

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

/openbmc/linux/net/sched/
H A Dsch_hhf.c251 u32 xorsum, filter_pos[HHF_ARRAYS_CNT], flow_pos; in hhf_classify() local
282 filter_pos[i] = tmp_hash & HHF_BIT_MASK; in hhf_classify()
283 xorsum ^= filter_pos[i]; in hhf_classify()
287 filter_pos[HHF_ARRAYS_CNT - 1] = xorsum ^ tmp_hash; in hhf_classify()
294 if (!test_bit(filter_pos[i], q->hhf_valid_bits[i])) { in hhf_classify()
295 q->hhf_arrays[i][filter_pos[i]] = 0; in hhf_classify()
296 __set_bit(filter_pos[i], q->hhf_valid_bits[i]); in hhf_classify()
299 val = q->hhf_arrays[i][filter_pos[i]] + pkt_len; in hhf_classify()
322 if (q->hhf_arrays[i][filter_pos[i]] < min_hhf_val) in hhf_classify()
323 q->hhf_arrays[i][filter_pos[i]] = min_hhf_val; in hhf_classify()