Home
last modified time | relevance | path

Searched refs:max_th (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Dip_dn_glue.c116 int max_th ; /* maximum threshold for queue (scaled) */ member
431 fs->max_th = f->max_th; in dn_compat_config_queue()
656 fs->max_th = f->max_th; in dn_c_copy_pipe()
712 fs->max_th = f->max_th; in dn_c_copy_fs()
H A Dip_dn_private.h222 int max_th ; /* maximum threshold for queue (scaled) */ member
H A Dip_dummynet.c1234 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 Dip_dn_io.c362 if (q->avg >= fs->max_th) { /* average queue >= max threshold */ in red_drops()
/freebsd/sbin/ipfw/
H A Ddummynet.c500 "\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()
1616 NEED1("red/gred needs w_q/min_th/max_th/max_p\n"); in ipfw_config_pipe()
1621 * the format for parameters is w_q/min_th/max_th/max_p in ipfw_config_pipe()
1635 fs->max_th = strtoul(end, &end, 0); in ipfw_config_pipe()
1637 fs->max_th *= 1024; in ipfw_config_pipe()
1803 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th)) in ipfw_config_pipe()
1804 errx(EX_DATAERR, "min_th %d must be < than max_th %d", in ipfw_config_pipe()
1805 fs->min_th, fs->max_th); in ipfw_config_pipe()
1806 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th)) in ipfw_config_pipe()
[all...]
/freebsd/sys/netinet/
H A Dip_dummynet.h167 int max_th ; /* maximum threshold for queue (scaled) */ member
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c3370 u8 max_th = 82, non_srg_max_th = 62; in mt7996_mcu_set_obss_spr_pd() local
3392 .obss_pd_min = cpu_to_le16(max_th), in mt7996_mcu_set_obss_spr_pd()
3393 .obss_pd_min_srg = cpu_to_le16(max_th), in mt7996_mcu_set_obss_spr_pd()
3406 req.pd_th_non_srg = max_th; in mt7996_mcu_set_obss_spr_pd()
3408 req.pd_th_non_srg = max_th - he_obss_pd->non_srg_max_offset; in mt7996_mcu_set_obss_spr_pd()
3413 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 Dmcu.c3467 u8 max_th = 82, non_srg_max_th = 62; in mt7915_mcu_set_obss_spr_pd() local
3476 req.param.pd_th_non_srg = max_th; in mt7915_mcu_set_obss_spr_pd()
3478 req.param.pd_th_non_srg = max_th - he_obss_pd->non_srg_max_offset; in mt7915_mcu_set_obss_spr_pd()
3483 req.param.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7915_mcu_set_obss_spr_pd()