linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Yoshio Kashiwagi <kashiwagi@co-nss.co.jp>
To: Glenn.G.Hart@us.westinghouse.com, linuxppc-embedded@ozlabs.org
Subject: Re: Virtex 4 Avnet Mini-Module Networking.
Date: Wed, 20 Jun 2007 00:51:04 +0900	[thread overview]
Message-ID: <JC2007062000510426.11290234@co-nss.co.jp> (raw)
In-Reply-To: <OF3C9BCACE.144FD16A-ON852572FF.004F2888-852572FF.005457E7@ct.wec.com>

Glenn-san,

The PLB TEMAC driver is supporting checksum off loading (checksum
calculation by hardware).
If the same kernel source is used, isn't the hardware checksum
of PLB TEMAC disabled by the MHS file of Mini-Module?

BEGIN plb_temac
 PARAMETER INSTANCE = plb_temac_0
 PARAMETER HW_VER = 3.00.a
 PARAMETER C_PLB_CLK_PERIOD_PS = 10000
 PARAMETER C_TXFIFO_DEPTH = 131072
 PARAMETER C_RXFIFO_DEPTH = 131072
 PARAMETER C_MAC_FIFO_DEPTH = 64
 PARAMETER C_BASEADDR = 0x80000000
 PARAMETER C_HIGHADDR = 0x8000ffff
 PARAMETER C_INCLUDE_RX_CSUM = 1    <--- H/W checksum enable
 PARAMETER C_INCLUDE_TX_CSUM = 1    <--- H/W checksum enable
 PARAMETER C_RX_DRE_TYPE = 2
 PARAMETER C_TX_DRE_TYPE = 2

Yoshio Kashiwagi - Nissin Systems

> I am having trouble using the network on the Avent Mini-Module.  I had 
the
> network working on the ML403 board with Linux 2.6.19.
> 
> The kernel comes up fine with the Mini-Module and the network seems to 
work
> until I try to use it.  I can configured the ethernet with ifconfig 
and can
> even ping another machine on the network.
> 
> The problem is with the TCP layer.  It seems almost everytime the
> Mini-Module sends TCP information the checksum is reported an wrong 
(via
> ethereal).  The only thing that comes to mind is the ML403 uses a 
Marvell
> PHY and the Mini-Module has a Broadcom PHY.  I do not know enough 
about
> low-level networking to know where the problem is.  Is the checksum
> generated in the PHY?  Could something be wrong in Linux programming 
the
> Broadcom PHY and not the Marvell PHY?  Why is it only the TCP 
information
> (the IP information has the correct checksum)?
> 
> Thanks for any information you can offer.
> 
> Glenn

  reply	other threads:[~2007-06-19 16:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19 15:21 Virtex 4 Avnet Mini-Module Networking Glenn.G.Hart
2007-06-19 15:51 ` Yoshio Kashiwagi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-06-19 18:06 Glenn.G.Hart
2007-06-19 21:04 Mohammad Sadegh Sadri
2007-06-21 14:53 ` Andrei Konovalov
2007-06-21 16:05 Mohammad Sadegh Sadri
2007-06-21 18:18 ` Andrei Konovalov
2007-06-22 19:02 Glenn.G.Hart
2007-06-22 21:21 Mohammad Sadegh Sadri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=JC2007062000510426.11290234@co-nss.co.jp \
    --to=kashiwagi@co-nss.co.jp \
    --cc=Glenn.G.Hart@us.westinghouse.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).