lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] Observations about lwIP on a Xilinx Virtex 4


From: Roger W. Cover
Subject: RE: [lwip-users] Observations about lwIP on a Xilinx Virtex 4
Date: Mon, 5 Mar 2007 08:19:57 -0700

Greetings all,

I am receiving TCP/IP packets when the slow response occurs. The number of
transactions per second seems to matter. If I send a fast burst of packets
it is much more likely to be a problem. I have attached my lwipopts.h file
in case any insight can be gained from it.

Regards,
Roger
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Taranowski, Thomas (SWCOE)
Sent: Saturday, March 03, 2007 4:28 PM
To: Mailing list for lwIP users
Subject: RE: [lwip-users] Observations about lwIP on a Xilinx Virtex 4

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: address@hidden
[mailto:address@hidden On Behalf Of
Kieran Mansley
Sent: Saturday, March 03, 2007 1:33 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Observations about lwIP on a Xilinx Virtex 4

On Fri, Mar 02, 2007 at 10:38:06AM -0700, Roger W. Cover wrote:
> 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.

If this issue is still present in the current version could you file a
bug on the savannah lwIP site so that we don't forget about 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?

I'm not sure why it would be doing this, but if you are able to find
out more then please let us know.

Good luck updating to the latest version - there have been lots of bug
fixes and improvements since 0.6.

Kieran

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Matthew Yingling
Sent: Friday, March 02, 2007 4:26 PM
To: Mailing list for lwIP users
Subject: RE: [lwip-users] Observations about lwIP on a Xilinx Virtex 4

You should be able to view the xemacif.c file in the v2pro/netif folder of
ports in the CVS repository.  It's up to date with the current LwIP API, I
believe, and it should be pretty obvious how to update your driver.  It's
mostly some minor return values that change.

Matthew

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
On
> Behalf Of Roger W. Cover
> Sent: Friday, March 02, 2007 9:38 AM
> To: address@hidden
> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: lwipopts.h
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]