From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16682 invoked by alias); 7 Jun 2011 16:06:29 -0000 Received: (qmail 16666 invoked by uid 22791); 7 Jun 2011 16:06:28 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from nm12.access.bullet.mail.mud.yahoo.com (HELO nm12.access.bullet.mail.mud.yahoo.com) (66.94.237.213) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 07 Jun 2011 16:06:14 +0000 Received: from [66.94.237.198] by nm12.access.bullet.mail.mud.yahoo.com with NNFMP; 07 Jun 2011 16:06:13 -0000 Received: from [66.94.237.106] by tm9.access.bullet.mail.mud.yahoo.com with NNFMP; 07 Jun 2011 16:06:13 -0000 Received: from [127.0.0.1] by omp1011.access.mail.mud.yahoo.com with NNFMP; 07 Jun 2011 16:06:13 -0000 Received: (qmail 73798 invoked from network); 7 Jun 2011 16:06:13 -0000 X-Yahoo-SMTP: _6UaILCswBBhOX_6rRH7WS5y1ZaLCg-- Received: from [172.16.4.241] (jay@207.212.80.162 with plain) by smtp111.biz.mail.mud.yahoo.com with SMTP; 07 Jun 2011 09:06:13 -0700 PDT Message-ID: <4DEE4C74.10402@systech.com> Date: Tue, 07 Jun 2011 16:06:00 -0000 From: Jay Foster User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Grant Edwards CC: ecos-discuss@sources.redhat.com References: <1478E21E-D36A-4451-9F69-0042CBF57E91@netic.com> <4DEDE781.5040108@siva.com.mk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: How to use IP/UDP/TCP checksum offload HW? X-SW-Source: 2011-06/txt/msg00035.txt.bz2 On 6/7/2011 7:41 AM, Grant Edwards wrote: > On 2011-06-07, Ilija Kocho wrote: > >>>>> Must we look at the latest BSD code to see how to implement this? >>>> Maybe. Or there might be a simpler way to do it. I would guess that >>>> the current FreeBSD has an API to configure this on a per-interface >>>> basis at run-time. >>>> >>>> If we can assume that there is only one external interface, then we >>>> don't need any API or runtime checks, just a few strategic #if/#endif >>>> pairs and some CDL to control them. >>> So how do we progress this? Should we offline exchange the mods we've >>> each tried (code and CDL)? > I won't have any hardware available until Q4. So I probably won't be > ble to spend much time on it for a few months. > >> I am going to need the same soon only with lwIP. Recent on-chip >> Ethernet controllers provide for some IP processing so IMO we should >> address this issue generally. Is there place for some community >> project? > There are a number of svn/git/hg/whatever hosting sites that could be > used. IIRC, somebody had set up a site to host eCos-related stuff, I > guess this is it: > > http://ecosx.sourceforge.net/ > > It doesn't look like it's been touched for 5 years, but the guy who > set it up is still active on other projects on sourceforge. > > One question in my mind is whether it needs to be run-time > configurable on a per-interface basis, or can it be a global, > build-time option. > My view is that it should be either (or both) run-time or CDL configurable on a per-interface basis. When using more than one network interface, one cannot assume that the each have the same capabilities. Jay -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss