Ethernet Buffers 18k?

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

Ethernet Buffers 18k?

736件の閲覧回数
Andrey
Contributor III

I'm kind of running low on available RAM on my K70 project and when poking around found Ethernet Buffers occupying an 18k chunk. I'm having trouble finding where that gets set. Any help is appreciated?

EthernetBuffer.PNG

ethernetBuf.PNG

2 返答(返信)

534件の閲覧回数
EAI
Contributor IV

The number of RX and TX buffers for the driver are controlled by BSPCFG_RX_RING_LEN and BSPCFG_TX_RING_LEN. You can lower these by overriding the default values. FOr example, add :

#define BSPCFG_RX_RING_LEN 3

#define BSPCFG_TX_RING_LEN 3

to user_config.h and rebuild your BSP.

534件の閲覧回数
Andrey
Contributor III

Changed it from 8 to 2 and that brought it down to 6k!

0 件の賞賛