From: "Svenning Sørensen" <sss@secomea.com>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: Bjarke Istrup Pedersen <gurligebis@gentoo.org>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
Andreas Mohr <andi@lisas.de>
Subject: Re: via-rhine: Problem with lost link after a while
Date: Wed, 11 Apr 2012 11:49:51 +0200 [thread overview]
Message-ID: <4F8553BF.6030303@secomea.com> (raw)
In-Reply-To: <20120410225534.GA28480@electric-eye.fr.zoreil.com>
On 11-04-2012 00:55, Francois Romieu wrote:
> Bjarke Istrup Pedersen<gurligebis@gentoo.org> :
>
> [...]
>> Great, I'll try a 3.4-rc2 kernel, and see how it runs.
>>
>> The thread I was talking about earlier is here:
>> http://lists.soekris.com/pipermail/soekris-tech/2012-April/018318.html
>> Is there any of the changes he has there, that makes sense in the new
>> driver you wrote ?
> (I did not write a new driver)
>
> Regarding Svenning's patch:
> - the wmb in alloc_rbufs may help rhine_reset_task().
> - one should probably add one in rhine_rx() as well.
> - rhine_start_tx() is supposed to stop queueing when there is no room left.
> I'm curious to know if the "Tx descriptor busy" test triggered.
> - the rmb() in rhine_tx() will not make a difference for a single core but
> it's a good reminder that I should not have forgotten to propagate the
> xmit / Tx completion fix back from the r8169 driver to the via-rhine one
> (sigh)
>
> mmiowb is probably missing. I doubt it hits hard right now.
>
> I have not checked if MMIO flushes are missing. Actually I need some sleep.
>
Regarding the "Tx descriptor busy" test: no, I didn't see it trigger, I
just put it there just in case because I suspected there could be a race
due to the lock-free tx path.
But I'm glad if you're confident that it can't happen :)
Svenning
next prev parent reply other threads:[~2012-04-11 9:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-10 15:03 via-rhine: Problem with lost link after a while Bjarke Istrup Pedersen
2012-04-10 20:42 ` Francois Romieu
2012-04-10 21:15 ` Bjarke Istrup Pedersen
2012-04-10 22:55 ` Francois Romieu
2012-04-10 23:58 ` Bjarke Istrup Pedersen
2012-04-11 9:49 ` Svenning Sørensen [this message]
2012-04-11 22:21 ` Francois Romieu
2012-04-13 6:16 ` Bjarke Istrup Pedersen
2012-04-14 10:06 ` Francois Romieu
2012-04-14 15:10 ` Bjarke Istrup Pedersen
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=4F8553BF.6030303@secomea.com \
--to=sss@secomea.com \
--cc=andi@lisas.de \
--cc=gurligebis@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.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 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.