Lines Matching refs:dp
157 u16 dp = tc_index_to_dp(skb); in gred_enqueue() local
159 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue()
160 dp = t->def; in gred_enqueue()
162 q = t->tab[dp]; in gred_enqueue()
177 skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp; in gred_enqueue()
256 u16 dp = tc_index_to_dp(skb); in gred_dequeue() local
258 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_dequeue()
288 u16 dp = tc_index_to_dp(skb); in gred_drop() local
290 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_drop()
384 static inline int gred_change_vq(struct Qdisc *sch, int dp, in gred_change_vq() argument
390 struct gred_sched_data *q = table->tab[dp]; in gred_change_vq()
393 table->tab[dp] = q = *prealloc; in gred_change_vq()
399 q->DP = dp; in gred_change_vq()