Lines Matching refs:dp
170 u16 dp = tc_index_to_dp(skb); in gred_enqueue() local
172 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue()
173 dp = t->def; in gred_enqueue()
175 q = t->tab[dp]; in gred_enqueue()
190 skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp; in gred_enqueue()
269 u16 dp = tc_index_to_dp(skb); in gred_dequeue() local
271 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_dequeue()
474 static inline int gred_change_vq(struct Qdisc *sch, int dp, in gred_change_vq() argument
481 struct gred_sched_data *q = table->tab[dp]; in gred_change_vq()
489 table->tab[dp] = q = *prealloc; in gred_change_vq()
496 q->DP = dp; in gred_change_vq()
534 u32 dp; in gred_vq_apply() local
539 dp = nla_get_u32(tb[TCA_GRED_VQ_DP]); in gred_vq_apply()
542 table->tab[dp]->red_flags = nla_get_u32(tb[TCA_GRED_VQ_FLAGS]); in gred_vq_apply()
565 u32 dp; in gred_vq_validate() local
576 dp = nla_get_u32(tb[TCA_GRED_VQ_DP]); in gred_vq_validate()
577 if (dp >= table->DPs) { in gred_vq_validate()
581 if (dp != cdp && !table->tab[dp]) { in gred_vq_validate()