net: sched: sch_qfq: Use non-work-conserving warning handler
authorLiu Jian <liujian56@huawei.com>
Mon, 23 Oct 2023 06:47:29 +0000 (14:47 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Oct 2023 11:15:09 +0000 (13:15 +0200)
commit6d25d1dc76bf5943a5c1f4bb74d66d5eac58eb77
tree81701bb47f08633ce942dc45b10a85fa72c0c5bd
parentf30a51a41828986687997a5aa95b9f8085228cff
net: sched: sch_qfq: Use non-work-conserving warning handler

A helper function for printing non-work-conserving alarms is added in
commit b00355db3f88 ("pkt_sched: sch_hfsc: sch_htb: Add non-work-conserving
 warning handler."). In this commit, use qdisc_warn_nonwc() instead of
WARN_ONCE() to handle the non-work-conserving warning in qfq Qdisc.

Signed-off-by: Liu Jian <liujian56@huawei.com>
Link: https://lore.kernel.org/r/20231023064729.370649-1-liujian56@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sched/sch_qfq.c