Lines Matching refs:rate
15 * occur at the actual qdisc (which is not used for rate limiting).
103 new_credit = credit + CREDIT_PER_NS(delta, qdp->rate);
114 // Check if we should update rate
115 if (qsp != NULL && (qsp->rate * 128) != qdp->rate) {
116 qdp->rate = qsp->rate * 128;
117 bpf_printk("Updating rate: %d (1sec:%llu bits)\n",
118 (int)qdp->rate,
119 CREDIT_PER_NS(1000000000, qdp->rate) * 8);