From: "Horvath Gyorgy" <HORVAATH@tmit.bme.hu>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: SGA155D DMA Burst length question - Memory to S5933
Date: Thu, 25 Sep 2003 16:57:23 +0200 [thread overview]
Message-ID: <200309251501.h8PF14mc014760@alpha.ttt.bme.hu> (raw)
Hi all,
I am on the way developing the driver for SGA155D.
The core driver is OK. I simply copy the firmware.bin file
to /dev/sga155d0, and after the firmware identification -
a proper satellite driver is loaded - actually the POS
(Packet Over SONET).
I can then ifconfig my pos0 - and here weeee goooo.
Now I can DMA well from the card to the PC memory -
even for long-bursts. The data is OK.
I see on the oscilloscope a short transfer at the beginning
(8 DWORDS or so) - a little gap, and the rest go smoothly
in one long piece.
I tried then to DMA from the PC memory to the card.
What I see is: 9 DWORDS, some 9+more gap, 9 DWORDS, some 9 more gap,
etc...
I'd like to see a smooooooooooth transfer - not that 50%.
I have S5933 on-board, and I find some issues elsewhere
about advanced PCI commands when spanning across cache-lines,
but I am not sure that is the issue... (MR/MRL/MRM)
Can S5933 do them?
Any tips/suggestions?
Also, what is the suggested burst size under Linux for
such a NET device like mine? (cca. 2x 140 Mbps, MTU is 4470)
Thanks for in advance:
Gyuri
Gyorgy Horvath, Technical University of Budapest
-------------- Dept. of Telecom. and Telematics
Tel.: +36-1-463-1865, Fax.: +36-1-463-1865
Mail: horvaath@bme-tel.ttt.bme.hu
FTP: ttt-pub.ttt.bme.hu ./income
reply other threads:[~2003-09-25 15:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200309251501.h8PF14mc014760@alpha.ttt.bme.hu \
--to=horvaath@tmit.bme.hu \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®