xcore/sc_ethernet — Issue #23: What does NUM_MII_RX_BUF/NUM_MII_TX_BUF do & why is it important? 
Author: interactive-matter
Created: 2011-12-15 17:46:20+00:00
State: open

I have solved the mysteries of my issue #20:

I had to set

#define NUM_MII_RX_BUF 5
#define NUM_MII_TX_BUF 5

but I had set it to

#define NUM_MII_RX_BUF 20
#define NUM_MII_TX_BUF 2

(which I copied from some other ethernet_conf.h)

It took me 2! complete days to discover this. It would be extremely great to have some kind of warning like 'running out of tx buffers' or so. Because from anything in the source I was not able to tell what the problem was.

And what does 5 mean? 5 frames? 5 bytes?

I am a bit puzzled …