[ECOS] how do you thank about ecos's tcp/ip stack

Andrew Lunn andrew.lunn@ascom.ch
Thu Dec 7 01:41:00 GMT 2000

> Hi all:
>    Are there anybody tell me about the tcp/ip stack of eCos?
>    when I first use the stack which release with v1.3.1,It dumps when pinged
> by a package larger than 1500 bytes.

Actually, thats not a stack issue, but a device driver issue. Its the
generic driver thats throwing an assertion. The basic assumption was
that ethernet packets have a maximum size of 1514 bytes. Packets
longer than this are invalid so the ethernet chip should throw them
away. This assumption was wrong and the i82559 does pass packets up
that are bigger than legal ethernet frames! The driver has now been
modified to detect packets with silly sizes and drop them.

> And then I get the new version from CVS this bug is fixed .But I
> alway feel the tcp/ip stack is not very stable .  Does anybody has
> the same experience with me ?

99% of the code comes from the OpenBSD sources. Thats stable. As
normal, the bits that are specific to eCos have had a few problems. In
terms of the stack thats timer functions, scheduling the stack to run
and select. These have been worked on and and now seem stable. I've
not recently had problems with it. 

You should not consider the stack on its own. The ethernet drivers are
also new, and as you have found, there have been a few minor bugs to
remove. I can only speak for the i82559 driver on the EBSA, but that
is now stable. 

Overall, im happy with the stack and i82559 driver.


More information about the Ecos-discuss mailing list