FEC linux driver and RAM memory consumption

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FEC linux driver and RAM memory consumption

902件の閲覧回数
ludoviclaboureu
Contributor I

Hello community,

We are working on NXP confidential Soc similar to imX7: Dual-Cortex A7/Cortex-M4. Our board has only 128 MiB of DDR.

We are using the FEC (Ethernet BroadR-Reach) on Cortex-A7 under Linux.

We are using linux4.9.y from mainstream with support for this chip.

Your current  version is linux 4.9.165.

The FEC driver (drivers/net/ethernet/freescale/fec_main.c,fec.h,fec_ptp.c) is taken from this version mainstream with only very simple modifications in dtb tables to support our chip (+3 lines).

“.driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_HAS_BUFDESC_EX | FEC_QUIRK_HAS_GBIT,”

 

We encounter memory issue with this driver. It uses 2 MiB at startup (acceptable) but the consuming of DDR (MemAvailable in /proc/meminfo)  increases continusly only when ethernet interface is loaded (RTP audio streaming ...) . It depends on the use case selected  but we can reach out of memory on DDR, so reset.

 

What are the consumers of RAM in this driver ?

How to monitore the RAM consumers (IP stack ..) of FEC driver ?

Is it possible to reduce or limit memory usage ?

Thank you  in advance for advices

Ludovic

CC : @didier.leymarie@continental-corporation.com

タグ(1)
0 件の賞賛
返信
2 返答(返信)

741件の閲覧回数
dgriffin65
Contributor I

Has this issue been resolved? I am having a very similar problem with the iMX1050.

Thanks,

Doug

0 件の賞賛
返信

741件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ludovic,

My apologies for the delay. I would need to ask you to please contact for FAE who will be able to provide better and more expedited support on this regard.

Please let me know if you have any problems contacting your FAE.

Regards,

0 件の賞賛
返信