Open majicjq opened 5 years ago
Look into the MIB counters to see if there are CRC errors. For the switch side go to /sys/bus/spi/devices/spi0.0 and use the command "cat sw5/5_mib." For the MAC side use the command "ethtool -S eth0" to dump the MIB counters if the MAC driver supports that. The command "echo 0 > sw/mib" can be used to clear all MIB counters. There is no such command in ethtool. The MAC driver can clear the MIB counters by stopping the device and restarting, but this is discouraged by kernel developers and so may not work. A more drastic way is to unload the MAC driver.
hi , I use ksz9477 switch , my controller connect port6 through rgmii interface. I ping my controller through port 1, this happend :“2291 packets transmitted, 128 packets received, 94% packet loss”