From: Oleksij Rempel <o.rempel@pengutronix.de>
To: netdev-bot+sashiko@kernel.org
Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org, linusw@kernel.org,
luizluca@gmail.com, alvin.sipraga@analog.com, andrew@lunn.ch,
olteanv@gmail.com, netdev@vger.kernel.org, kernel@pengutronix.de
Subject: Re: [PATCH net-next 2/2] net: dsa: realtek: rtl8365mb: offload ETS strict priority scheduling
Date: Wed, 25 Nov 2026 13:38:46 +0100 [thread overview]
Message-ID: <awbW1qIMt-Oeik10@pengutronix.de> (raw)
In-Reply-To: <179560221157.3135.10940899213423821559@kernel.org>
On Wed, Nov 25, 2026 at 10:23:31AM +0000, netdev-bot+sashiko@kernel.org wrote:
> Should these prints be ratelimited?
Ack, I'll address it in v2.
> Can this report offload for configurations the hardware does not
> implement?
Ack. The qdisc should not be reported as offloaded. I'll address it in
v2.
> The only priomap it actually implements is prio i -> band nq - 1 -
> tc(i).
Here i is the internal priority, and it holds the 802.1Q traffic type.
The priomap index is skb->priority. Read as a traffic type,
TC_PRIO_BESTEFFORT (0) would become Background and get the last band.
The commit message says that the switch maps traffic types, not
skb->priority values. I'll try to make this clearer in v2.
> Is the comment "The switch does not use the priomap." accurate? The
> backend has a programmable internal-priority to qid table.
Yes. That table is indexed by the traffic type, so a priomap does not
fit into it.
> Does this justification only hold for future work?
Ack, I'll drop that sentence in v2.
> What state is the port left in if qos_set_port_sched() fails here?
After an MDIO error the state of the chip is unknown. The driver
returns the error at once and does not retry.
> Can a stale ets_handle[port] mark a qdisc as offloaded that the driver
> never validated?
Ack, I'll address it in v2.
pw-bot: cr
prev parent reply other threads:[~2026-11-25 12:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 10:20 [PATCH net-next 0/2] net: dsa: realtek: rtl8365mb: offload ETS strict priority Oleksij Rempel
2026-11-24 10:20 ` [PATCH net-next 1/2] net: dsa: realtek: rtl8365mb: default the egress scheduler to WFQ Oleksij Rempel
2026-11-24 10:20 ` [PATCH net-next 2/2] net: dsa: realtek: rtl8365mb: offload ETS strict priority scheduling Oleksij Rempel
2026-11-25 10:23 ` netdev-bot+sashiko
2026-11-25 12:38 ` Oleksij Rempel [this message]
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=awbW1qIMt-Oeik10@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=alvin.sipraga@analog.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kernel@pengutronix.de \
--cc=kuba@kernel.org \
--cc=linusw@kernel.org \
--cc=luizluca@gmail.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox