public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: netdev@vger.kernel.org
Subject: question about ethernet/tundra/tsi108_eth.c
Date: Tue, 20 Aug 2013 12:35:20 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1308201230150.2269@hadrien> (raw)

The driver ethernet/tundra/tsi108_eth.c seems to be inconsistent about how
it shares buffers with the device.  In the open function (tsi108_open), it
uses virt_to_phys.  In the refill function (tsi108_refill_rx), it uses
dma_map_single.  However, there doesn't seem to be any dma_unmap_single
anywhere.

I see that this is not a very actively maintained driver, but I am
interested in the general question of how this works.

thanks,
julia

                 reply	other threads:[~2013-08-20 10:35 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=alpine.DEB.2.02.1308201230150.2269@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=netdev@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