From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>,
jiri@resnulli.us, cake@lists.bufferbloat.net,
j.koeppeler@tu-berlin.de, willemb@google.com,
xiyou.wangcong@gmail.com, horms@kernel.org, pabeni@redhat.com,
jhs@mojatatu.com, davem@davemloft.net, netdev@vger.kernel.org,
edumazet@google.com, victor@mojatatu.com
Subject: Re: [net-next,v7,4/6] net/sched: sch_cake: Share config across cake_mq sub-qdiscs
Date: Fri, 09 Jan 2026 11:38:00 +0100 [thread overview]
Message-ID: <87bjj32hrr.fsf@toke.dk> (raw)
In-Reply-To: <20260109041214.2918115-1-kuba@kernel.org>
Jakub Kicinski <kuba@kernel.org> writes:
> This is an AI-generated review of your patch.
>
> For local reproduction steps see https://netdev-ai.bots.linux.dev/ai-local.html
> ---
> net/sched: sch_cake: Share config across cake_mq sub-qdiscs
>
> This commit adds support for configuring the cake_mq instance directly,
> sharing the config across the cake sub-qdiscs.
>
>> diff --git a/net/sched/sch_cake.c b/net/sched/sch_cake.c
>> index deb9f411db98..4dbfee3e6207 100644
>> --- a/net/sched/sch_cake.c
>> +++ b/net/sched/sch_cake.c
>
> [ ... ]
>
>> + if (tb[TCA_CAKE_AUTORATE]) {
>> + if (!!nla_get_u32(tb[TCA_CAKE_AUTORATE])) {
>> + if (q->is_shared) {
>> + NL_SET_ERR_MSG_ATTR(extack, tb[TCA_CAKE_NAT],
> ^^^^^^^^^^^^^^
> Should this be tb[TCA_CAKE_AUTORATE] instead of tb[TCA_CAKE_NAT]? The
> check here is for TCA_CAKE_AUTORATE, but the error message attribute
> points to TCA_CAKE_NAT. This appears to be a copy-paste from the NAT
> handling code just above. When a user enables autorate-ingress on
> cake_mq, the error will reference the wrong netlink attribute.
Argh, the spicy autocomplete is right! This was indeed a copy-paste
error, sorry about that. Will fix and respin...
-Toke
next prev parent reply other threads:[~2026-01-09 10:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-08 16:56 [PATCH net-next v7 0/6] Multi-queue aware sch_cake Toke Høiland-Jørgensen
2026-01-08 16:56 ` [PATCH net-next v7 1/6] net/sched: Export mq functions for reuse Toke Høiland-Jørgensen
2026-01-08 16:56 ` [PATCH net-next v7 2/6] net/sched: sch_cake: Factor out config variables into separate struct Toke Høiland-Jørgensen
2026-01-08 16:56 ` [PATCH net-next v7 3/6] net/sched: sch_cake: Add cake_mq qdisc for using cake on mq devices Toke Høiland-Jørgensen
2026-01-08 16:56 ` [PATCH net-next v7 4/6] net/sched: sch_cake: Share config across cake_mq sub-qdiscs Toke Høiland-Jørgensen
2026-01-09 4:12 ` [net-next,v7,4/6] " Jakub Kicinski
2026-01-09 10:38 ` Toke Høiland-Jørgensen [this message]
2026-01-08 16:56 ` [PATCH net-next v7 5/6] net/sched: sch_cake: share shaper state across sub-instances of cake_mq Toke Høiland-Jørgensen
2026-01-08 16:56 ` [PATCH net-next v7 6/6] selftests/tc-testing: add selftests for cake_mq qdisc Toke Høiland-Jørgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bjj32hrr.fsf@toke.dk \
--to=toke@toke.dk \
--cc=cake@lists.bufferbloat.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=j.koeppeler@tu-berlin.de \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=victor@mojatatu.com \
--cc=willemb@google.com \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.