Searched refs:rtab (Results 1 – 1 of 1) sorted by relevance
1240 static inline u32 qdisc_l2t(struct qdisc_rate_table* rtab, unsigned int pktlen) in qdisc_l2t() argument1242 int slot = pktlen + rtab->rate.cell_align + rtab->rate.overhead; in qdisc_l2t()1245 slot >>= rtab->rate.cell_log; in qdisc_l2t()1247 return rtab->data[255]*(slot >> 8) + rtab->data[slot & 0xFF]; in qdisc_l2t()1248 return rtab->data[slot]; in qdisc_l2t()