3 seconds in ip_input seems really excessive, and points to a race condition of some sort, in my mind. For example, I'm using at MOST 1.5ms per received packet, and this includes a bunch of other random operations at the moment.
Do you have an idea of what sort of protocol is being received? For example, are you receiving a UDP datagram, or ICMP packet when it stalls like this? It sounds like it could be an issue with having the #defines in lwipopts.h being set really conservatively, with respect to memory usage, as it has been in our past releases. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roger W. Cover > Sent: Friday, March 02, 2007 9:38 AM > To: [email protected] > Subject: [lwip-users] Observations about lwIP on a Xilinx Virtex 4 > > Greetings all, > > I am using the callback (single-threaded) functions in lwIP version 0.6.3 > on > a Power PC 405 processor in a Xilinx Virtex4FX FPGA. I am using the built- > in > MAC and a 10/100/1000 external PHY. I have noticed some issues with the > stack: > > Time to Live is not decremented by lwIP when it echoes an ICMP packet. > This > is a minor issue, but I thought the developers should be aware of it. > > err_t ip_input(struct pbuf *p, struct netif *inp) - stays busy for over 3 > seconds at times. This causes the watchdog timer to reset my system. In > order to use lwIP I need to get this resolved. Does anyone have some > insight > as to why this might happen? > > In an attempt to use a newer version of lwIP, I downloaded version 1.1.1, > but the driver (port) I have is not compatible with this version. Is there > somewhere I can get guidance to update my port to use the newer version? I > think that might help. > > Thank you in advance for your assistance on these matters. > > Regards, > Roger W. Cover > Spectral Instruments, Inc. > 420 N. Bonita Ave. > Tucson, AZ 85745 > Voice: 520-884-8821 ext. 144 > FAX: 520-884-8803 > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
