Searched refs:rateunit (Results 1 - 6 of 6) sorted by last modified time

/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_hw.c10602 int rateunit, int ratemode, int channel, int cl,
10620 cmd.u.params.unit = rateunit;
10601 t4_sched_params(struct adapter *adapter, int type, int level, int mode, int rateunit, int ratemode, int channel, int cl, int minrate, int maxrate, int weight, int pktsize, int burstsize, int sleep_ok) argument
H A Dcommon.h818 int rateunit, int ratemode, int channel, int cl,
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_sched.c123 if (p->rateunit == SCHED_CLASS_RATEUNIT_BITS) {
142 } else if (p->rateunit == SCHED_CLASS_RATEUNIT_PKTS) {
189 tc->rateunit = fw_rateunit;
258 FW_SCHED_PARAMS_LEVEL_CL_RL, tc->mode, tc->rateunit,
442 tc->rateunit = FW_SCHED_PARAMS_UNIT_BITRATE;
509 tc->rateunit == FW_SCHED_PARAMS_UNIT_BITRATE &&
528 tc->rateunit = FW_SCHED_PARAMS_UNIT_BITRATE;
616 switch (tc.rateunit) {
H A Dt4_ioctl.h255 int8_t rateunit; /* bit or packet rate */ member in struct:t4_sched_class_params
H A Dadapter.h252 enum fw_sched_params_unit rateunit; /* kbps or pps (when ABS) */ member in struct:tx_cl_rl_params
/freebsd-11-stable/usr.sbin/cxgbetool/
H A Dcxgbetool.c2648 op.u.params.level = op.u.params.mode = op.u.params.rateunit =
2719 op.u.params.rateunit = SCHED_CLASS_RATEUNIT_BITS;
2721 op.u.params.rateunit = SCHED_CLASS_RATEUNIT_PKTS;
2781 if (op.u.params.rateunit < 0) {

Completed in 203 milliseconds