From: Neil Horman <nhorman@tuxdriver.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, cooldavid@cooldavid.org
Subject: Re: [PATCH] jme: Fix DMA unmap warning
Date: Wed, 7 May 2014 17:54:48 -0400 [thread overview]
Message-ID: <20140507215448.GA21071@localhost.localdomain> (raw)
In-Reply-To: <20140507.164434.997979341700998470.davem@davemloft.net>
On Wed, May 07, 2014 at 04:44:34PM -0400, David Miller wrote:
> From: Neil Horman <nhorman@tuxdriver.com>
> Date: Wed, 7 May 2014 16:33:17 -0400
>
> > Perhaps a solution is a signalling mechanism tied to completion interrupts?
> > I.e. a mapping failure gets reported to the stack, which causes the
> > correspondnig queue to be stopped, until such time a the driver signals a safe
> > restart by the reception of a tx completion interrupt? I'm actually tinkering
> > right now with a mechanism that provides guidance to the stack as to how many
> > dma descriptors are available in a given net_device that might come in handy
> > here
>
> Another idea is to signal it from the IOMMU unmap itself, since that is the
> point where the resource becomes available.
>
> Actually either approach is fine with me.
>
I'll look into it shortly. Thanks for the idea!
Neil
next prev parent reply other threads:[~2014-05-07 21:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 18:51 [PATCH] jme: Fix DMA unmap warning Neil Horman
2014-05-06 20:25 ` Govindarajulu Varadarajan
2014-05-06 20:50 ` Neil Horman
2014-05-06 20:53 ` David Miller
2014-05-06 21:04 ` Govindarajulu Varadarajan
2014-05-06 21:10 ` David Miller
2014-05-07 19:56 ` David Miller
2014-05-07 20:33 ` Neil Horman
2014-05-07 20:44 ` David Miller
2014-05-07 21:54 ` Neil Horman [this message]
2014-05-08 9:02 ` David Laight
2014-05-08 11:00 ` Neil Horman
2014-05-08 11:16 ` David Laight
2014-05-08 17:24 ` David Miller
2014-05-08 19:29 ` [RFC PATCH] net: Provide linear backoff mechanism for constrained resources at the driver Neil Horman
2014-05-09 8:55 ` David Laight
2014-05-09 11:17 ` Neil Horman
2014-05-09 12:53 ` David Laight
2014-05-09 15:33 ` Neil Horman
2014-05-09 15:46 ` David Laight
2014-05-09 17:02 ` Neil Horman
2014-05-18 16:19 ` Neil Horman
2014-05-21 18:05 ` Cong Wang
2014-05-21 18:49 ` Neil Horman
2014-05-11 12:49 ` [PATCH] jme: Fix DMA unmap warning Ben Hutchings
2014-05-11 13:04 ` Neil Horman
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=20140507215448.GA21071@localhost.localdomain \
--to=nhorman@tuxdriver.com \
--cc=cooldavid@cooldavid.org \
--cc=davem@davemloft.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.