lkml.org 
[lkml]   [2008]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC v3] net: add PCINet driver
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


\
 
 \ /
  Last update: 2008-11-06 00:21    [W:0.045 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site