Thread (13 messages) 13 messages, 3 authors, 22d ago

Re: [net-next PATCH v10 2/9] net: dsa: realtek: rtl8365mb: reject unsupported topologies

From: Linus Walleij <linusw@kernel.org>
Date: 2026-06-01 08:15:12
Also in: lkml

On Sat, May 30, 2026 at 12:51 PM Luiz Angelo Daros de Luca
[off-list ref] wrote:
Explicitly enforce the presence of a CPU port (-EINVAL) and reject DSA
cascade links (-EOPNOTSUPP) during setup to prevent silent failures.

These topologies were already non-functional. Without a CPU port, the
driver does not activate CPU tagging. Additionally, the switch hardware
was not designed to be cascaded, and DSA links never worked because
CPU tagging is not enabled for them.

Signed-off-by: Luiz Angelo Daros de Luca <redacted>
Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help