Skip to contentSkip to conversation

AMCC 4XX (specially 405EP) and CFG_RX_ETH_BUFFERS

U-Boot-Users Tolunay Orkun 2 participants 2 messages Apr 25, 2006 – Apr 26, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

Is there a valid range for number of RX buffers for AMCC405EP Ethernet driver?

I am using a fairly recent U-Boot from GIT and if I define CFG_RX_ETH_BUFFERS 31 it works but if I use CFG_RX_ETH_BUFFERS 32 it has a lot of timeouts in tftp etc.

Best regards,
Tolunay

#1 lore raw

Hi Tolunay,

Quoted 6 lines · Tolunay Orkun

Is there a valid range for number of RX buffers for AMCC405EP Ethernet driver?

I am using a fairly recent U-Boot from GIT and if I define CFG_RX_ETH_BUFFERS 31 it works but if I use CFG_RX_ETH_BUFFERS 32 it has a lot of timeouts in tftp etc.

Hmmm. I didn't expected this. I would recommend to use at least 16 buffer. If what you say is true (which I don't doubt), then there seems to be a problem in the 4xx ethernet driver.

Sorry but I don't have the time to dig into this right now. I would really appreciate it, if you could find the reason for this strange behavior and come up with a patch for it. :-)

If not, please use 16 for now. This is what is used on most 405 platforms and works quite well.

Best regards,
Stefan