[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202602061245.hvInrQwP-lkp@intel.com>
Date: Fri, 6 Feb 2026 12:50:42 +0800
From: kernel test robot <lkp@...el.com>
To: Jesper Dangaard Brouer <hawk@...nel.org>, netdev@...r.kernel.org,
Eric Dumazet <eric.dumazet@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Paolo Abeni <pabeni@...hat.com>,
Toke Høiland-Jørgensen <toke@...e.dk>
Cc: oe-kbuild-all@...ts.linux.dev, Jesper Dangaard Brouer <hawk@...nel.org>,
bpf@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
horms@...nel.org, jiri@...nulli.us, edumazet@...gle.com,
xiyou.wangcong@...il.com, jhs@...atatu.com, atenart@...hat.com,
carges@...udflare.com, kernel-team@...udflare.com
Subject: Re: [PATCH net-next v2 6/6] net: sched: sch_dualpi2: use
qdisc_dequeue_drop() for dequeue drops
Hi Jesper,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Jesper-Dangaard-Brouer/net-sched-introduce-qdisc-specific-drop-reason-tracing/20260206-052816
base: net-next/main
patch link: https://lore.kernel.org/r/177032652354.1975497.2269771162710918590.stgit%40firesoul
patch subject: [PATCH net-next v2 6/6] net: sched: sch_dualpi2: use qdisc_dequeue_drop() for dequeue drops
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260206/202602061245.hvInrQwP-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260206/202602061245.hvInrQwP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602061245.hvInrQwP-lkp@intel.com/
All errors (new ones prefixed by >>):
net/sched/sch_dualpi2.c: In function 'dualpi2_qdisc_dequeue':
>> net/sched/sch_dualpi2.c:600:53: error: 'QDISC_DROP_STEP_DROP' undeclared (first use in this function); did you mean 'QDISC_DROP_GENERIC'?
600 | drop_and_retry(q, skb, sch, QDISC_DROP_STEP_DROP);
| ^~~~~~~~~~~~~~~~~~~~
| QDISC_DROP_GENERIC
net/sched/sch_dualpi2.c:600:53: note: each undeclared identifier is reported only once for each function it appears in
vim +600 net/sched/sch_dualpi2.c
581
582 static struct sk_buff *dualpi2_qdisc_dequeue(struct Qdisc *sch)
583 {
584 struct dualpi2_sched_data *q = qdisc_priv(sch);
585 struct sk_buff *skb;
586 int credit_change;
587 u64 now;
588
589 now = ktime_get_ns();
590
591 while ((skb = dequeue_packet(sch, q, &credit_change, now))) {
592 if (!q->drop_early && must_drop(sch, q, skb)) {
593 drop_and_retry(q, skb, sch,
594 QDISC_DROP_CONGESTED);
595 continue;
596 }
597
598 if (skb_in_l_queue(skb) && do_step_aqm(q, skb, now)) {
599 qdisc_qstats_drop(q->l_queue);
> 600 drop_and_retry(q, skb, sch, QDISC_DROP_STEP_DROP);
601 continue;
602 }
603
604 q->c_protection_credit += credit_change;
605 qdisc_bstats_update(sch, skb);
606 break;
607 }
608
609 if (q->deferred_drops_cnt) {
610 qdisc_tree_reduce_backlog(sch, q->deferred_drops_cnt,
611 q->deferred_drops_len);
612 q->deferred_drops_cnt = 0;
613 q->deferred_drops_len = 0;
614 }
615 return skb;
616 }
617
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists