Hi,
We are using a variscite iMX8MQ board attached to a custom PCB, it's been running well with linux 4.14.98. Recently we tried tried to upgrade the linux kernel from 4.14.98 to 5.4.24 and yocto build system from sumo to zeus so we could use newer versions of some executables.
However after some testing we found that one of our applications had issues uploading data to the iMX8. Running ethtool -S eth0 showed that there were a lot of rx_crc_errors occurring. In the table below you can find a comparison between the software versions. We're running exactly the same test, on the same hardware with exactly the same source code for the application doing the data exchange.
| Linux 4.14.98 | Linux 5.4.24 |
rx_packets: 55659 rx_broadcast: 96 rx_multicast: 176 rx_crc_errors: 0 | rx_packets: 5227 rx_broadcast: 52 rx_multicast: 59 rx_crc_errors: 3434 |
It clearly shows that some kind of problem has been introduced. I had a look at the changes in the source code of the ethernet driver fec_main.c, but nothing stood out that would explain this.
Do you know what the could have caused this regression? And is there some way to fix this.
Thanks,
Twan