Messages in this thread | | | Date | Thu, 2 Nov 2023 13:39:00 +0100 | From | Andrew Lunn <> | Subject | Re: [PATCH net-next v2 8/9] microchip: lan865x: add driver support for Microchip's LAN865X MACPHY |
| |
> spe1: ethernet@1{ > compatible = "microchip,lan865x"; > reg = <1>; > interrupt-parent = <&gpio5>; > interrupts = <0 IRQ_TYPE_EDGE_FALLING>; > spi-max-frequency = <50000000>;
That is a pretty high frequency. It is actually running at that speed?
Have you tried lower speed?
> oa-tc6{ > #address-cells = <1>; > #size-cells = <0>; > oa-cps = <32>; > oa-prote; > oa-dprac; > }; > }; > }; > > With this setup I'm getting a maximum throughput of about 90kB/s. > If I increase the chunk size / oa-cps to 64 I get a might higher > throughput ~900kB/s, but after 0-2s I get dump below (or similar).
Is this tcp traffic? Lost packets will have a big impact. You might want to look at the link peer with tcpdump and look for retries. Also, look if there are frames with bad checksums.
Andrew
| |