Home
last modified time | relevance | path

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

/freebsd-14.2/sys/netpfil/ipfw/
H A Dip_dn_glue.c116 int max_th ; /* maximum threshold for queue (scaled) */ member
428 fs->max_th = f->max_th; in dn_compat_config_queue()
650 fs->max_th = f->max_th; in dn_c_copy_pipe()
703 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-14.2/sbin/ipfw/
H A Ddummynet.c496 fs->max_th, in print_flowset_parms()
1613 fs->max_th = strtoul(end, &end, 0); in ipfw_config_pipe()
1615 fs->max_th *= 1024; in ipfw_config_pipe()
1781 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th)) in ipfw_config_pipe()
1783 fs->min_th, fs->max_th); in ipfw_config_pipe()
1784 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th)) in ipfw_config_pipe()
1786 fs->min_th, fs->max_th); in ipfw_config_pipe()
1788 if (fs->max_th == 0) in ipfw_config_pipe()
/freebsd-14.2/sys/netinet/
H A Dip_dummynet.h167 int max_th ; /* maximum threshold for queue (scaled) */ member
/freebsd-14.2/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-14.2/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()