Searched refs:max_th (Results 1 – 7 of 7) sorted by relevance
| /freebsd/sbin/ipfw/ |
| H A D | dummynet.c | 500 "\n\t %cRED w_q %f min_th %d max_th %d max_p %f", in print_flowset_parms() 504 fs->max_th, in print_flowset_parms() 1619 NEED1("red/gred needs w_q/min_th/max_th/max_p\n"); in ipfw_config_pipe() 1624 * the format for parameters is w_q/min_th/max_th/max_p in ipfw_config_pipe() 1638 fs->max_th = strtoul(end, &end, 0); in ipfw_config_pipe() 1640 fs->max_th *= 1024; in ipfw_config_pipe() 1806 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th)) in ipfw_config_pipe() 1807 errx(EX_DATAERR, "min_th %d must be < than max_th %d", in ipfw_config_pipe() 1808 fs->min_th, fs->max_th); in ipfw_config_pipe() 1809 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th)) in ipfw_config_pipe() [all...] |
| /freebsd/sys/netinet/ |
| H A D | ip_dummynet.h | 167 int max_th ; /* maximum threshold for queue (scaled) */ member
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | ip_dn_private.h | 222 int max_th ; /* maximum threshold for queue (scaled) */ member
|
| H A D | ip_dummynet.c | 1234 fs->max_th = SCALE(fs->fs.max_th); in config_red() 1236 if (fs->fs.max_th == fs->fs.min_th) in config_red() 1239 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th); in config_red() 1243 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th; in config_red()
|
| H A D | ip_dn_io.c | 338 if (q->avg >= fs->max_th) { /* average queue >= max threshold */ in red_drops()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
| H A D | mcu.c | 4296 u8 max_th = 82, non_srg_max_th = 62; in mt7996_mcu_set_obss_spr_pd() local 4318 .obss_pd_min = cpu_to_le16(max_th), in mt7996_mcu_set_obss_spr_pd() 4319 .obss_pd_min_srg = cpu_to_le16(max_th), in mt7996_mcu_set_obss_spr_pd() 4332 req.pd_th_non_srg = max_th; in mt7996_mcu_set_obss_spr_pd() 4334 req.pd_th_non_srg = max_th - he_obss_pd->non_srg_max_offset; in mt7996_mcu_set_obss_spr_pd() 4339 req.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7996_mcu_set_obss_spr_pd()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
| H A D | mcu.c | 3721 u8 max_th = 82, non_srg_max_th = 62; in mt7915_mcu_set_obss_spr_pd() local 3730 req.param.pd_th_non_srg = max_th; in mt7915_mcu_set_obss_spr_pd() 3732 req.param.pd_th_non_srg = max_th - he_obss_pd->non_srg_max_offset; in mt7915_mcu_set_obss_spr_pd() 3737 req.param.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7915_mcu_set_obss_spr_pd()
|