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

Alvin Šipraga
2022-01-11T18:17:07Z

Frank Wunderlich <frank-w@public-files.de> writes:

> Hi,
>
> i have 2 devices here i currently try this series.
>
> 1x Bananapi R64 v0.1 (mt7622 SOC) with rtl8367s (sgmii+rgmii) - configured to use extport 2 in rgmii mode
> 1x Bananapi R2 Pro v0 (rk3568 SOC) with rtl8367RB (rgmii+rgmii) - configured to use extport 1 in rgmii mode
>
> on both devices i get mdio running after additional reset in probe and ports are
> recognizing link up (got the real port-reg-mapping)
>
> on r64 i get pings working but tcp (ssh, http) seems not working.
> on r2pro i cannot get even ping working (but rk3568 gmac seems to come
> up).

Luiz, any comments regarding this? I suppose if the chip ID/revision is
the same for both 67S and 67RB, they should work pretty much the same,
right?

>
> but i'm not deep enough in driver coding to find out whats wrong not having technical documents for checking registers to values needed.

Ping working but TCP not working is a bit strange. You could check the
output of ethtool -S and see if that meets your expectations. If you
have a relatively modern ethtool you can also append --all-groups to the
comment to get a more standard output.

You can also try adjusting the RGMII TX/RX delay and pause settings -
that might help for the R2 where you aren't getting any packets
through.