From: "David S. Miller" <davem@redhat.com>
To: saw@saw.sw.com.sg
Cc: fxzhang@ict.ac.cn, linux-mips@oss.sgi.com,
linux-kernel@vger.kernel.org, netdev@oss.sgi.com,
jgarzik@mandrakesoft.com
Subject: Re: NAPI for eepro100
Date: Thu, 13 Jun 2002 01:47:00 -0700 (PDT) [thread overview]
Message-ID: <20020613.014700.26430433.davem@redhat.com> (raw)
In-Reply-To: <20020613125753.A23693@castle.nmd.msu.ru>
From: Andrey Savochkin <saw@saw.sw.com.sg>
Date: Thu, 13 Jun 2002 12:57:53 +0400
On Wed, Jun 12, 2002 at 04:05:32PM -0700, David S. Miller wrote:
> No, it's worse than that.
>
> See how non-consistent memory is used by the eepro100 driver
> for descriptor bits? The skb->tail bits?
>
> That is very problematic.
What's the problem?
If it isn't allowed to do, then what is the meaning of PCI_DMA_BIDIRECTIONAL
mappings?
It's slow. Not wrong, just inefficient.
Descriptors were meant to be done using consistent mappings, not
"pci_map_*()"'d memory. The latter is meant to be used for long
linear DMA transfers to/from the device. It is not meant for things
the cpu pokes small bits of data in and out of, that is what
consistent DMA memory is for.
prev parent reply other threads:[~2002-06-13 8:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-12 12:39 NAPI for eepro100 Zhang Fuxin
2002-06-12 23:00 ` Jeff Garzik
2002-06-12 23:05 ` David S. Miller
2002-06-12 23:17 ` Jeff Garzik
2002-06-12 23:33 ` David S. Miller
2002-06-13 2:25 ` Donald Becker
2002-06-13 7:15 ` Samuel Maftoul
2002-06-19 11:46 ` Bill Davidsen
2002-06-13 8:57 ` Andrey Savochkin
2002-06-13 8:47 ` David S. Miller [this message]
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=20020613.014700.26430433.davem@redhat.com \
--to=davem@redhat.com \
--cc=fxzhang@ict.ac.cn \
--cc=jgarzik@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@oss.sgi.com \
--cc=netdev@oss.sgi.com \
--cc=saw@saw.sw.com.sg \
/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