Forum Discussion
We have run into an Ethernet issue on the stratix10sx-socdk board. Under heavy traffic conditions, Ethernet Rx DMA is hanging because the current Rx descriptor gets stuck in the RUNCLOSE state.
This is using the INTEGRITY OS. I have tried updating all of our EMAC DMA settings to exactly match the settings used in the latest Linux stmmac/dwmac1000 driver, but we still see the same issue.
I also found one KDB article (Why does the ethernet hang when running Linux on my Arria 10 HPS system: https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/embedded/2017/why-does-the-ethernet-hang-when-running-linux-on-my-arria-10-hps.html) for the Arria 10 SX that describes this exact issue. The fix in that article is to set axi_bus_mode rd_osr_lmt and wr_osr_lmt registers to 0xF. I tried this and it does delay the RUNCLOSE hang for a couple of minutes, but we eventually end up in the same state.
4 Replies
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
May I know which kernel version you are using?
- RBrac5
New Contributor
We are not using Linux. This is the INTEGRITY RTOS. However, our EMAC DMA settings exactly match the DMA settings used in the latest Linux stmmac/dwmac1000 driver from https://github.com/altera-opensource/linux-socfpga/tree/master.
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
It seems that this case has been filed in IPS, I will set this case close.
Regards.
- RolfRichter
New Contributor
Hi could you please send the IPS-Case number, a customer of mine run into the same issue.