linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Konovalov <akonovalov@ru.mvista.com>
To: Mohammad Sadegh Sadri <mamsadegh@hotmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Virtex 4 Avnet Mini-Module Networking.
Date: Thu, 21 Jun 2007 18:53:49 +0400	[thread overview]
Message-ID: <467A90FD.8060609@ru.mvista.com> (raw)
In-Reply-To: <BAY115-W5609334AE7FC568C37A5DB2120@phx.gbl>

Mohammad Sadegh Sadri wrote:
> I'm wondering where are the original developers of TEMAC driver these days, I have not seen any posts from any of andrei
> nor grant in the recent weeks. may be they are involved in other projects.

As for me - no, not until the end of this week..

I am puzzled with the following:

I've got ML405 recently. There is a prebuilt bitstream with TEMAC in SGDMA mode for this board made by Xilinx (XAPP941).
With the TEMAC driver from EDK 9.1SP2 and the XAPP941 bitstream I've got (no jumbo frames):

   XTemac: using sgDMA mode.
   XTemac: using TxDRE mode
   XTemac: using RxDRE mode
   XTemac: buffer descriptor size: 32768 (0x8000)
   XTemac: (buffer_descriptor_init) phy: 0x3cf8000, virt: 0xff100000, size: 0x8000
   eth%d: XTemac: PHY detected at address 7.
   eth0: Xilinx TEMAC #0 at 0x80000000 mapped to 0xC5060000, irq=0
   eth0: XTemac id 1.0f, block id 5, type 8
<snip>
   eth0: XTemac: Options: 0xb8f2
   eth0: XTemac: We renegotiated the speed to: 1000
   eth0: XTemac: speed set to 1000Mb/s
   eth0: XTemac: Send Threshold = 16, Receive Threshold = 2
   eth0: XTemac: Send Wait bound = 1, Receive Wait bound = 1
<snip>
   root@192.168.119.11:~/netperf-2.4.1/src# ./netperf -l 30 -H 192.168.119.1 -i 10,
   2 -I 99,10 -t UDP_STREAM -- -m 32768 -s 262144
   UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.11
   9.1 (192.168.119.1) port 0 AF_INET : ±5.0% @ 99% conf.
   Socket  Message  Elapsed      Messages
   Size    Size     Time         Okay Errors   Throughput
   bytes   bytes    secs            #      #   10^6bits/sec

   217088   32768   30.00       26391      0     230.60
   107520           30.00       26377            230.48

Not that bad for this setup.

With xps (EDK 9.1 without any SPs) I've tried creating exact the same design.
So that exact the same kernel etc could be used for the both bitstreams.
And with the self-made one I see exact the same output with the only difference:

   root@192.168.119.11:~/netperf-2.4.1/src# ./netperf -l 30 -H 192.168.119.1 -i 10,
   2 -I 99,10 -t UDP_STREAM -- -m 32768 -s 262144
   UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.11
   9.1 (192.168.119.1) port 0 AF_INET : ±5.0% @ 99% conf.
   Socket  Message  Elapsed      Messages
   Size    Size     Time         Okay Errors   Throughput
   bytes   bytes    secs            #      #   10^6bits/sec

   217088   32768   30.00        9593      0      83.82
   107520           30.00        9586             83.76

:o(

Rebuilding the XAPP941 project with EDK 9.1.00 still leaves 230Mb/sec.
I also pulled the additional timing constraints from XAPP941's data/system.ucf
into the self-made data/system.ucf, but this haven't change anything.

I've run out of ideas, and switched from TEMAC to other Xilinx stuff for a while.


Thanks,
Andrei

  reply	other threads:[~2007-06-21 14:46 UTC|newest]

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

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=467A90FD.8060609@ru.mvista.com \
    --to=akonovalov@ru.mvista.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=mamsadegh@hotmail.com \
    /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).