From 8684f75c42574af3aece82ed16adfbef3d3a97f0 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 20 Nov 2025 10:05:42 -0500 Subject: [PATCH] dummynet: move these exessive logging messages under debug output --- sys/netpfil/ipfw/dn_sched_fq_codel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/netpfil/ipfw/dn_sched_fq_codel.c b/sys/netpfil/ipfw/dn_sched_fq_codel.c index da108491365..932145b8a4c 100644 --- a/sys/netpfil/ipfw/dn_sched_fq_codel.c +++ b/sys/netpfil/ipfw/dn_sched_fq_codel.c @@ -325,7 +325,8 @@ fq_codel_enqueue(struct dn_sch_inst *_si, struct dn_queue *_q, /* check the limit for all queues and remove a packet from the * largest one */ - if (mainq->ni.length > schk->cfg.limit) { D("over limit"); + if (mainq->ni.length > schk->cfg.limit) { + DX(1, "over limit"); /* find first active flow */ for (maxidx = 0; maxidx < schk->cfg.flows_cnt; maxidx++) if (si->flows[maxidx].active) @@ -337,7 +338,7 @@ fq_codel_enqueue(struct dn_sch_inst *_si, struct dn_queue *_q, si->flows[maxidx].stats.length) maxidx = i; codel_drop_head(&si->flows[maxidx], si); - D("maxidx = %d",maxidx); + DX(1, "maxidx = %d", maxidx); drop = 1; } }