[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Elnk and bsdnet configuration problem
- Date: Tue, 30 Oct 2007 11:09:18 +0100
- From: stephane.arquer at c-s.cnes.fr (Arquer Stephane)
- Subject: Elnk and bsdnet configuration problem
Hello,
I'm using a 3c905C nic under Rtems (4.7.1) to send samples. When I try
to send a lot of samples (e.g 1000 samples at 64 Hz) the following
errors occur:
" etherlink: unit elnk1 tx fragments exhausted, truncated packet!"
" etherlink: unit elnk1 tx forced! "
" etherlink: unit elnk1 tx ring full! "
" Still waiting for mbuf cluster "
I changed the bsdnet configuration according to rtems_bsdnet.h file up
to:
rtems_bsdnet_config.mbuf_bytecount = 256*1024;
rtems_bsdnet_config.mbuf_cluster_bytecount = 512*1024;
to avoid the " still waiting for mbuf cluster " msg.
Are there other parameters to change ?
Is it possible to change the #define NUM_FRAGS 6 to increase it ?
Is there a nice value ?
Do you have a tip to compile elnk.c alone to avoid a complete bsp
compilation ?
Thanks for your help.
sa