From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5511 invoked by alias); 21 Dec 2011 09:33:42 -0000 Received: (qmail 5499 invoked by uid 22791); 21 Dec 2011 09:33:41 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Dec 2011 09:33:26 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 96E482FB0827 for ; Wed, 21 Dec 2011 09:33:25 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hhxlRVwKEwj8; Wed, 21 Dec 2011 09:33:23 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001219] Ethernet driver for STM32 connectivity line with port on MMstm32f107 board. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: ilijak@siva.com.mk X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 21 Dec 2011 09:33:00 -0000 Message-Id: <20111221093323.9365D2F78005@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2011-12/txt/msg00031.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001219 --- Comment #27 from Ilija Kocho 2011-12-21 09:33:14 GMT --- Created an attachment (id=1475) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1475) CDL Snippet: Eth/lwIP Hardware TCP/IP checksums Hi Jerzy Thank you for update. I I haven't reviewed complete code yet, but I tried HW checksum gen/check part. The behavior of HW checksum CDL is not as expected: - Following addition of lwIP and Common Ethernet Support HW checksum remains unselected. It seems that configtool conflict resolution in this case produces an opposite result than what we want. - When HW checksums are manually selected lwIP checksums are cleared as they should but the opposite action is missing: - Unselect of HW checksum does not re-activate lwIP checksums; - Activation of some lwIP checksum de-selects HW checksum, but other lwIP checksums remain unselected. Attached CDL snippet should provide correct behavior for both. It may look complex, but it seem there are some aspects of configtool's conflict resolution machine that we have to circumvent somehow. The submitted code is not fully tested, but stems from code that works for other hardware so I expect it to be close to what we need for this driver. Following test cases should be executed as a minimum: - eCos - lwIP default settings (should use HW checksum) - lwIP HW checksum disabled (should use lwIP checksum) - RedBoot - HW checksum should be inactive -> SW checksum. It would be also good to test BSDstack but I guess that memory resources are too low. I'm looking forward to some feedback. Ilija -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.