Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/cxgbe/
H A Dt4_sched.c124 if (p->rateunit == SCHED_CLASS_RATEUNIT_BITS) { in set_sched_class_params()
143 } else if (p->rateunit == SCHED_CLASS_RATEUNIT_PKTS) { in set_sched_class_params()
190 tc->rateunit = fw_rateunit; in set_sched_class_params()
259 FW_SCHED_PARAMS_LEVEL_CL_RL, tc->mode, tc->rateunit, in update_tx_sched()
443 tc->rateunit = FW_SCHED_PARAMS_UNIT_BITRATE; in t4_init_tx_sched()
510 tc->rateunit == FW_SCHED_PARAMS_UNIT_BITRATE && in t4_reserve_cl_rl_kbps()
529 tc->rateunit = FW_SCHED_PARAMS_UNIT_BITRATE; in t4_reserve_cl_rl_kbps()
617 switch (tc.rateunit) { in sysctl_tc_params()
H A Dt4_ioctl.h257 int8_t rateunit; /* bit or packet rate */ member
H A Dadapter.h255 enum fw_sched_params_unit rateunit; /* kbps or pps (when ABS) */ member
/freebsd-12.1/usr.sbin/cxgbetool/
H A Dcxgbetool.c2794 op.u.params.level = op.u.params.mode = op.u.params.rateunit = in sched_class()
2865 op.u.params.rateunit = SCHED_CLASS_RATEUNIT_BITS; in sched_class()
2867 op.u.params.rateunit = SCHED_CLASS_RATEUNIT_PKTS; in sched_class()
2928 if (op.u.params.rateunit < 0 && in sched_class()
/freebsd-12.1/sys/dev/cxgbe/common/
H A Dcommon.h820 int rateunit, int ratemode, int channel, int cl,
H A Dt4_hw.c10604 int rateunit, int ratemode, int channel, int cl, in t4_sched_params() argument
10622 cmd.u.params.unit = rateunit; in t4_sched_params()