Searched refs:rateunit (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/sys/dev/cxgbe/ |
| H A D | t4_sched.c | 124 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 D | t4_ioctl.h | 257 int8_t rateunit; /* bit or packet rate */ member
|
| H A D | adapter.h | 255 enum fw_sched_params_unit rateunit; /* kbps or pps (when ABS) */ member
|
| /freebsd-12.1/usr.sbin/cxgbetool/ |
| H A D | cxgbetool.c | 2794 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 D | common.h | 820 int rateunit, int ratemode, int channel, int cl,
|
| H A D | t4_hw.c | 10604 int rateunit, int ratemode, int channel, int cl, in t4_sched_params() argument 10622 cmd.u.params.unit = rateunit; in t4_sched_params()
|