From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4024 invoked by alias); 25 Aug 2009 07:41:00 -0000 Received: (qmail 4016 invoked by uid 22791); 25 Aug 2009 07:40:59 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_44,J_CHICKENPOX_53,J_CHICKENPOX_63 X-Spam-Check-By: sourceware.org Received: from mail01.solnet.ch (HELO mail01.solnet.ch) (212.101.4.135) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Aug 2009 07:40:53 +0000 Received: from mail01.solnet.ch ([127.0.0.1]) by localhost (mail01.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id 43QfquyWHF5P; Tue, 25 Aug 2009 07:40:50 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail01.solnet.ch (Postfix) with ESMTP id B7F114BF74; Tue, 25 Aug 2009 07:40:50 +0000 (UTC) Received: from beta.intefo.ch ([127.0.0.1]) by localhost (beta.intefo.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mcidQ0cEXNTZ; Tue, 25 Aug 2009 09:40:45 +0200 (CEST) Received: from [192.168.1.20] (simon.intefo.ch [192.168.1.20]) by beta.intefo.ch (Postfix) with ESMTP id B99DF7700DB; Tue, 25 Aug 2009 09:40:45 +0200 (CEST) Message-ID: <4A939599.8040703@intefo.ch> Date: Tue, 25 Aug 2009 07:41:00 -0000 From: Simon Kallweit User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Sergei Gavrikov CC: ecos-devel@ecos.sourceware.org Subject: lwip 1.3.1 testing References: <4A8E48C2.10802@intefo.ch> <20090821184336.GA24882@ubuntu.local> <20090824201853.GA10163@ubuntu.local> <4A938008.70909@intefo.ch> In-Reply-To: <4A938008.70909@intefo.ch> Content-Type: multipart/mixed; boundary="------------050300010605020507020408" 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/msg00042.txt.bz2 This is a multi-part message in MIME format. --------------050300010605020507020408 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1514 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 To do synth tests do the following: create a new configuration: > ecosconfig new linux lwip_eth_simple or: > ecosconfig new linux lwip_eth_sequential enable eth0 synth device (file is attached): > ecosconfig import eth_synth.ecm build: > make > make -C build/net/lwip_tcpip/current tests run tests (a sample target.tdf is attached): ./build/install/tests/net/lwip_tcpip/current/tests/httpd_simple -t target.tdf -io -nw The current templates use DHCP to get an IP address. Just reconfigure for static IPs. To do some stress testing you can run the nc_test_slave testcase (only available in sequential mode). You will need the corresponding master test, which can be found in the ecos repository under packages/net/common/current/tests To build the nc_test_master go to the upper directory and type: > make -f make.host Also you should loosen up the very conservative default configuration of lwip pbufs to avoid dropped packets: > ecosconfig import pbufs.ecm > make && make -C build/net/lwip_tcpip/current tests Testing on real hardware would be especially useful. Also testing on big-endian targets might reveal some issues, as I've only been testing on little-endian platforms. Thanks a lot for testing! Simon --------------050300010605020507020408 Content-Type: text/plain; name="eth_synth.ecm" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="eth_synth.ecm" Content-length: 63 cdl_option CYGVAR_DEVS_ETH_ECOSYNTH_ETH0 { user_value 1 }; --------------050300010605020507020408 Content-Type: text/plain; name="target.tdf" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="target.tdf" Content-length: 61 synth_device ethernet { eth0 real eth1 logging 0 } --------------050300010605020507020408 Content-Type: text/plain; name="pbufs.ecm" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pbufs.ecm" Content-length: 118 cdl_option CYGNUM_LWIP_TCP_MSS { user_value 512 }; cdl_option CYGNUM_LWIP_PBUF_POOL_SIZE { user_value 64 }; --------------050300010605020507020408--