Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_sched.c126 /* ratemode could be relative (%) or absolute. */ in set_sched_class_params()
127 if (p->ratemode == SCHED_CLASS_RATEMODE_REL) { in set_sched_class_params()
134 } else if (p->ratemode == SCHED_CLASS_RATEMODE_ABS) { in set_sched_class_params()
192 tc->ratemode = fw_ratemode; in set_sched_class_params()
237 "params: mode %d, rateunit %d, ratemode %d, " in set_sched_class_params()
275 tc->ratemode, pi->tx_chan, j, 0, tc->maxrate, 0, in update_tx_sched()
291 "params: mode %d, rateunit %d, ratemode %d, " in update_tx_sched()
294 tc->ratemode, pi->tx_chan, 0, tc->maxrate, in update_tx_sched()
521 tc->ratemode == FW_SCHED_PARAMS_RATE_ABS && in t4_reserve_cl_rl_kbps()
558 tc->ratemode in t4_reserve_cl_rl_kbps()
[all...]
H A Dt4_ioctl.h259 int8_t ratemode; /* %port relative or kbps absolute */ member
H A Dadapter.h258 enum fw_sched_params_rate ratemode; /* %port (REL) or kbps (ABS) */ member
280 enum fw_sched_params_rate ratemode; /* %port REL or ABS value */ member
/freebsd/usr.sbin/cxgbetool/
H A Dcxgbetool.c2774 op.u.params.ratemode = op.u.params.channel = in sched_class()
2854 op.u.params.ratemode = SCHED_CLASS_RATEMODE_REL; in sched_class()
2856 op.u.params.ratemode = SCHED_CLASS_RATEMODE_ABS; in sched_class()
2913 if (op.u.params.ratemode < 0 && in sched_class()
2949 op.u.params.ratemode != SCHED_CLASS_RATEMODE_ABS) { in sched_class()
2953 if (op.u.params.ratemode == SCHED_CLASS_RATEMODE_REL && in sched_class()
2959 if (op.u.params.ratemode == SCHED_CLASS_RATEMODE_ABS && in sched_class()
/freebsd/sys/dev/cxgbe/common/
H A Dcommon.h893 int rateunit, int ratemode, int channel, int cl,
896 int t4_sched_params_ch_rl(struct adapter *adapter, int channel, int ratemode,
H A Dt4_hw.c11128 int rateunit, int ratemode, int channel, int cl, in t4_sched_params() argument
11147 cmd.u.params.rate = ratemode; in t4_sched_params()
11158 int t4_sched_params_ch_rl(struct adapter *adapter, int channel, int ratemode, in t4_sched_params_ch_rl() argument
11173 cmd.u.params.rate = ratemode; /* REL or ABS */ in t4_sched_params_ch_rl()