Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754041AbYKEXR7 (ORCPT ); Wed, 5 Nov 2008 18:17:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752622AbYKEXRr (ORCPT ); Wed, 5 Nov 2008 18:17:47 -0500 Received: from ovro.ovro.caltech.edu ([192.100.16.2]:54944 "EHLO ovro.ovro.caltech.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752608AbYKEXRq (ORCPT ); Wed, 5 Nov 2008 18:17:46 -0500 Date: Wed, 5 Nov 2008 15:17:44 -0800 From: Ira Snyder To: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, netdev@vger.kernel.org, Stephen Hemminger , Arnd Bergmann , Jan-Bernd Themann Subject: Re: [RFC v3] net: add PCINet driver Message-ID: <20081105231744.GB17821@ovro.caltech.edu> Mail-Followup-To: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, netdev@vger.kernel.org, Stephen Hemminger , Arnd Bergmann , Jan-Bernd Themann References: <20081105212225.GA17821@ovro.caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081105212225.GA17821@ovro.caltech.edu> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (ovro.ovro.caltech.edu); Wed, 05 Nov 2008 15:17:45 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1705 Lines: 56 On Wed, Nov 05, 2008 at 01:22:25PM -0800, Ira Snyder wrote: Despite my best efforts at testing this version, a bug slipped past. There is some problem with this driver, nfsroot, and Linux routing. If you do not apply the fix below, udp packets sent by the nfsroot code have corrupted checksums after they get routed across the network to another host. If I boot both hosts to Linux via other means, the driver works fine with no issues. It only happens for nfsroot. If I run an nfs server on the PCINET_HOST computer, removing the routing, it also works fine. Remove the following line from pcinet_host.c and pcinet_fsl.c: ndev->features |= NETIF_F_NO_CSUM; /* No checksum needed */ In case anyone knows offhand what might be causing this, my setup is as follows: cPCI Crate |-------------------------| | PCINET_FSL | |-------------------------| | ^ 10.0.0.2 | | | | | PCINet Driver Link here | | | | | v 10.0.0.1 | |-------------------------| | PCINET_HOST | |-------------------------| ^ 192.168.17.14 | Normal ethernet link here | v |-------------------------| | Ethernet switch | |-------------------------| ^ | Normal ethernet link here | v 192.168.17.59 |-------------------------| | NFS Server | |-------------------------| Ira -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/