I don't got such problems with
current code. Since you got the CVS HEAD today, to you have updated
your port & driver with all "last" requirements?
I think to things like
sys_mbox_tryfetch, lwip_init (if you use tcpip_init, you don't have to
call it directly), the new NETIF_FLAG_ETHARP
flag for netifs.
There is also last changes in
CHANGELOG, like rename of MEMP_TCPIP_MSG to MEMP_TCPIP_MSG_API and the new MEMP_TCPIP_MSG_INPKT pool for input packets.
Perhaps the problem is here? I hope
it help you...
----- Original Message -----
Sent: Tuesday, September 18, 2007
5:34 PM
Subject: [lwip-users] Abnormal Tx
delays
Hi all,
I have a problem with my system.
I use lwip CVS HEAD (got it today).
I use µC/OS-II.
I use ethernet chip KSZ8841 (8 bit mode).
I use tcpip_input to input frame into lwip.
I use several tasks to send/receive data thru lwip.
One of these tasks is a basic WEB server.
At startup, pinging my system (from a WinXP PC) is ok.
Then I use FireFox to browse the WEB of my system.
I refresh several times.
After a random number of refresh, lwip still responds to input packets
but with big delays.
Even pinging my system with a quiet traffic is not ok. Answers come
several seconds (several tens of seconds) after the incoming packets.
See the WireShark capture (a filter has been used to capture only
interresting packets).
Looking at lwip traces, it seems that incoming packets are stored but
not treated immediately. After a random delay, they are treated and
response packet are sent.
I can't figure out where the problem is.
Any help is welcome.
Nicolas
>
_______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users