Udp no buffer error

Ian Caddy ianc at goanna.iinet.net.au
Mon May 26 09:14:12 UTC 2008


Hi,

Which BSP are you using?  This doesn't look like you are running out of
mbufs, maybe it is a problem with your MAC driver?

Which version of RTEMS are you running?

regards,

Ian Caddy


fall4ufeng wrote:
> hi all:
> I met "RTEMS:Can't send :No buffer space available" error when i test 
> the UDP transmit.
> I only tried to send 500 small packets.I added 
> rtems_bsdnet_show_mbuf_stats() before the program exited,
> and the output is as following:
>  
> ************ MBUF STATISTICS ************
>  
> mbufs:1024    clusters: 128    free:  59
>  
> drops:   0       waits:   0  drains:   0
>  
>       free:898           data:126         header:0           socket:0      
>  
>        pcb:0           rtable:0           htable:0           atable:0      
>  
>     soname:0           soopts:0           ftable:0           rights:0      
>  
>     ifaddr:0          control:0          oobdata:0      
>  
> 
>      It can send packets successfully when i added sleep(1) between it 
> trasnmit each packet.
>     
>      Can someone give advices  ? Thanks .
> 2008-05-26
> ------------------------------------------------------------------------
> fall4ufeng
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users

-- 
Ian Caddy
Goanna Technologies Pty Ltd
+61 8 9444 2634




More information about the users mailing list