public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* lwip 1.3.1 package
@ 2009-08-20 13:28 Simon Kallweit
  2009-08-21  7:42 ` John Dallaway
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Kallweit @ 2009-08-20 13:28 UTC (permalink / raw)
  To: John Dallaway; +Cc: ecos-devel

Hi John

I have updated my lwIP package with the final 1.3.1 release. There are 
changes in two areas, and I wonder how to tackle them:

1. SLIP polling support

I changed the SLIP netif to support polling, so it does not need to run 
in it's own thread when resources are low. I submitted the patch to lwip 
quite a bit of time ago, but there were no reactions:

http://savannah.nongnu.org/bugs/?26397

I could of course remove my changes, but then the eCos package will not 
support SLIP in the simple/polled mode. So I'd also have to change some 
of the glue code. I would rather like to keep SLIP polling support in.

2. PPP

There are quite a bit of changes I made to the PPP code:

* put code more in line with lwip coding style (mostly renaming)
* added a simple chat component, to connect a modem to the peer
* added support for PPP dumps (wireshark)
* added polling support
* added an eCos testcase (only for simple/polled mode)

If I restore the original PPP code as suggested, I will also have to 
adapt the glue code and configuration. I would remove the testcase and 
generally mark PPP as experimental. The other way would be to try and 
clean PPP more up, and get the changes commited to lwip, but then we 
would have to wait for another release.

What's your suggestion?

Simon

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: lwip 1.3.1 package
  2009-08-20 13:28 lwip 1.3.1 package Simon Kallweit
@ 2009-08-21  7:42 ` John Dallaway
  0 siblings, 0 replies; 2+ messages in thread
From: John Dallaway @ 2009-08-21  7:42 UTC (permalink / raw)
  To: Simon Kallweit; +Cc: ecos-devel

Hi Simon

Simon Kallweit wrote:

> I have updated my lwIP package with the final 1.3.1 release. There are
> changes in two areas, and I wonder how to tackle them:
> 
> 1. SLIP polling support
> 
> I changed the SLIP netif to support polling, so it does not need to run
> in it's own thread when resources are low. I submitted the patch to lwip
> quite a bit of time ago, but there were no reactions:
> 
> http://savannah.nongnu.org/bugs/?26397
> 
> I could of course remove my changes, but then the eCos package will not
> support SLIP in the simple/polled mode. So I'd also have to change some
> of the glue code. I would rather like to keep SLIP polling support in.

I see that Kieran Mansley has replied to your recent follow up on bug
26397. If you can persuade him to accept the patch it would be good to
keep your SLIP polling support in the eCos package. No need to wait for
the next lwIP release.

> 2. PPP
> 
> There are quite a bit of changes I made to the PPP code:
> 
> * put code more in line with lwip coding style (mostly renaming)
> * added a simple chat component, to connect a modem to the peer
> * added support for PPP dumps (wireshark)
> * added polling support
> * added an eCos testcase (only for simple/polled mode)
> 
> If I restore the original PPP code as suggested, I will also have to
> adapt the glue code and configuration. I would remove the testcase and
> generally mark PPP as experimental. The other way would be to try and
> clean PPP more up, and get the changes commited to lwip, but then we
> would have to wait for another release.

The two scenarios are:

a) Your PPP changes are built upon over time by you and/or other people
and ultimately accepted into lwIP.

b) PPP is fixed in lwIP in a different way, rendering your patches
incompatible and obsolete.

Which do you think is the more likely scenario based on your knowledge
of the lwIP project and your own availability/inclination to work on PPP?

John Dallaway

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-21  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-20 13:28 lwip 1.3.1 package Simon Kallweit
2009-08-21  7:42 ` John Dallaway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).