FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5931 Discussions

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.

RBrac5
Beginner
764 Views

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.

 

0 Kudos
4 Replies
EBERLAZARE_I_Intel
491 Views

Hi,

 

May I know which kernel version you are using?

0 Kudos
RBrac5
Beginner
491 Views

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.

0 Kudos
EBERLAZARE_I_Intel
491 Views

Hi,

 

It seems that this case has been filed in IPS, I will set this case close.

 

Regards.

 

 

0 Kudos
RolfRichter
Employee
402 Views

Hi could you please send the IPS-Case number, a customer of mine run into the same issue. 

0 Kudos
Reply