Re: [PATCH net-next v4 11/11] net: dsa: realtek: rtl8365mb: multiple cpu ports, non cpu extint

Luiz Angelo Daros de Luca
2022-01-21T03:14:15Z

> :) device tree properties are not the fix for everything!

I'm still getting used to it ;-)

In this thread, Alvin suggested adding a new property to define which
port will be used as trap_port instead of using the last CPU port.
Should I try something different?

switch1 {
compatible = "realtek,rtl8367s";
reg = <29>;

realtek,trap-port = <&port7>;

ports {
....
port7: port@7 {
...
};
};

Should I do something differently?

> I think I know what the problem is. But I'd need to know what the driver
> for the DSA master is, to confirm. To be precise, what I'd like to check
> is the value of master->vlan_features.

Here it is 0x1099513266227 (I hope). Oh, this DSA driver still does
not implement vlan nor bridge offload. Maybe it would matter.

Regards,

Luiz