mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
dummynet: move these exessive logging messages under debug output
This commit is contained in:
parent
714aab4197
commit
8684f75c42
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue