Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c219 unsigned int drain_bits_per_1024ns; /* drain rate */ member
306 p->drain_bits_per_1024ns = (unsigned int) drain; in t1_sched_update_parms()
309 p->drain_bits_per_1024ns = in t1_sched_update_parms()
310 90 * p->drain_bits_per_1024ns / 100; in t1_sched_update_parms()
314 p->drain_bits_per_1024ns -= 16; in t1_sched_update_parms()
325 p->drain_bits_per_1024ns); in t1_sched_update_parms()
355 p->drain_bits_per_1024ns = val * 1024 / 1000;
408 delta_avail = (p->drain_bits_per_1024ns * delta_time_ns) >> 13; in sched_update_avail()