Forum Discussion

RBrac5's avatar
RBrac5
Icon for New Contributor rankNew Contributor
6 years ago

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