Re: [LEDE-DEV] [PATCH v2] ar8327: Add workarounds for AR8337 switch.

2017-03-29 Thread Vittorio G (VittGam)
Hello, On 29/03/2017 10:44:36 CEST, John Crispin wrote: > On 26/03/17 10:08, Vittorio Gambaletta (VittGam) wrote: >> -.phy_fixup = ar8327_phy_fixup, >> +//.phy_fixup = ar8337_phy_fixup, // not needed at the moment >> .set_mirror_regs = ar8327_set_mirror_regs, >> .get_arl_entry =

Re: [LEDE-DEV] [PATCH v2] ar8327: Add workarounds for AR8337 switch.

2017-03-29 Thread John Crispin
On 26/03/17 10:08, Vittorio Gambaletta (VittGam) wrote: - .phy_fixup = ar8327_phy_fixup, + //.phy_fixup = ar8337_phy_fixup, // not needed at the moment .set_mirror_regs = ar8327_set_mirror_regs, .get_arl_entry = ar8327_get_arl_entry, .sw_hw_apply = ar8327_sw_

[LEDE-DEV] [PATCH v2] ar8327: Add workarounds for AR8337 switch.

2017-03-26 Thread Vittorio Gambaletta (VittGam)
RGMII RX delay setting needs to be always specified for AR8337 to avoid port 5 RX hang on high traffic / flood conditions. Also, the HOL registers that set per-port and per-packet-priority buffer sizes are updated with the reduced values suggested by the QCA switch team. Finally, AR8327 reserved