From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27820 invoked by alias); 26 Aug 2009 20:46:26 -0000 Received: (qmail 27809 invoked by uid 22791); 26 Aug 2009 20:46:25 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f223.google.com (HELO mail-fx0-f223.google.com) (209.85.220.223) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Aug 2009 20:46:16 +0000 Received: by fxm23 with SMTP id 23so492679fxm.30 for ; Wed, 26 Aug 2009 13:46:13 -0700 (PDT) Received: by 10.204.161.204 with SMTP id s12mr4075377bkx.26.1251319572911; Wed, 26 Aug 2009 13:46:12 -0700 (PDT) Received: from smtp.gmail.com ([93.84.56.183]) by mx.google.com with ESMTPS id 22sm9813360fkq.23.2009.08.26.13.46.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 26 Aug 2009 13:46:12 -0700 (PDT) Date: Wed, 26 Aug 2009 20:46:00 -0000 From: Sergei Gavrikov To: Simon Kallweit Cc: ecos-devel@ecos.sourceware.org Subject: Re: lwip 1.3.1 testing Message-ID: <20090826204512.GA2940@ubuntu.local> References: <4A8E48C2.10802@intefo.ch> <20090821184336.GA24882@ubuntu.local> <20090824201853.GA10163@ubuntu.local> <4A938008.70909@intefo.ch> <4A939599.8040703@intefo.ch> <20090825120820.GA11701@ubuntu.local> <20090825203324.GA6140@ubuntu.local> <4A94D872.3000606@intefo.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: <4A94D872.3000606@intefo.ch> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-08/txt/msg00047.txt.bz2 --CdrF4e02JqNVZeln Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 842 On Wed, Aug 26, 2009 at 08:38:42AM +0200, Simon Kallweit wrote: > Sergei Gavrikov wrote: >> On Tue, Aug 25, 2009 at 03:08:20PM +0300, Sergei Gavrikov wrote: >>> On Tue, Aug 25, 2009 at 09:41:13AM +0200, Simon Kallweit wrote: >>>> Hi >>>> >>>> I have done a new lwip test release with the following changes: >>>> >>>> * incorporated Sergei's patch (ctrl-c support) >>>> * added an lwip_eth_simple and lwip_eth_sequential template >>>> >>>> The new test release can be downloaded from >>>> http://download.westlicht.ch/lwip-20090825.tar.gz Hi Simon, ya 2 cents. I found that the eth_tread's stack size is redefined in sequential.c:101. First, that stack size is defined in the package's header via CDL option. It seems the redefinition in sequetial.c can be quite removed, otherwise the CDL value (eth stack size) wont be applied. Sergei --CdrF4e02JqNVZeln Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="sequential.c.patch" Content-length: 481 diff -r bed5605f7e6d net/lwip_tcpip/current/src/ecos/sequential.c --- a/net/lwip_tcpip/current/src/ecos/sequential.c Tue Aug 25 18:32:48 2009 +0300 +++ b/net/lwip_tcpip/current/src/ecos/sequential.c Wed Aug 26 23:28:54 2009 +0300 @@ -98,8 +98,6 @@ CYG_HAL_TABLE_BEGIN(__NETDEVTAB__, netdev); CYG_HAL_TABLE_END(__NETDEVTAB_END__, netdev); -#define ETH_THREAD_STACK_SIZE CYGNUM_HAL_STACK_SIZE_TYPICAL - static sys_thread_t eth_thread_handle; static cyg_sem_t eth_thread_sem; --CdrF4e02JqNVZeln--