summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2026-06-06 11:29:26 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-10 05:35:41 +0300
commit36c572fd60d6bf2f9631088833c162203907c9ca (patch)
treeb67ae5e5cf7ac6353b3f04e90f93bc52b760f47f /include/linux/debugobjects.h
parenta543687227d86b1f4401f395abaf7f3f710fe964 (diff)
downloadlinux-36c572fd60d6bf2f9631088833c162203907c9ca.tar.xz
net: dsa: realtek: rtl8365mb: reject unsupported topologies
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. Reviewed-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Link: https://patch.msgid.link/20260606-realtek_forward-v13-2-b9e409687cbe@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions