lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <PASP264MB5297F50F5E2118BBFEA191CAFC292@PASP264MB5297.FRAP264.PROD.OUTLOOK.COM>
Date: Thu, 28 Nov 2024 14:01:23 +0000
From: Jesse Van Gavere <jesse.vangavere@...oteq.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
 "woojung.huh@...rochip.com" <woojung.huh@...rochip.com>,
 "UNGLinuxDriver@...rochip.com" <UNGLinuxDriver@...rochip.com>
CC: "andrew@...n.ch" <andrew@...n.ch>, "olteanv@...il.com" <olteanv@...il.com>
Subject: DSA to switchdev (TI CPSW) ethernet ports

Hello,

I have a question in regards to connecting switchdev ports (TI AM62 CPSW in my case) to a switch configured in the DSA framework.
My setup is two KSZ9896Cs connected, one to each port of the AM62x.
Using something like cpsw_port1/2 as the ethernet for the conduit port fails I presume in of_find_net_device_by_node(ethernet) as both eth seem to be under cpsw3g which is the actual ethernet.

So when changing the ethernet for the conduit port to cpsw3g I can actually get switch working, and I see it registers under eth0 of the ethernet, however when the second switch tries to come up it fails because it tries to register a dsa folder under eth0 again.

I'm kind of at a loss what the correct solution here would be, or if this is currently even supported to connect e.g. a cpsw port to a conduit port, if that would not be the case, what is the suggested work I'd best be doing to actually get this working?

Kind regards,
Jesse Van Gavere

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ