Ethernet Buffers 18k?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet Buffers 18k?

733 Views
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 Replies

531 Views
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.

531 Views
Andrey
Contributor III

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

0 Kudos