From: Anton Vorontsov <cbouatmailru@gmail.com>
To: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 1/2] ucc_geth: Do not bring the whole IF down when TX failure.
Date: Fri, 12 Nov 2010 17:05:15 +0300 [thread overview]
Message-ID: <20101112140515.GA28223@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1289570109-8160-1-git-send-email-Joakim.Tjernlund@transmode.se>
On Fri, Nov 12, 2010 at 02:55:08PM +0100, Joakim Tjernlund wrote:
> ucc_geth_close lacks a cancel_work_sync(&ugeth->timeout_work)
> to stop any outstanding processing of TX fail. However, one
> can not call cancel_work_sync without fixing the timeout function
> otherwise it will deadlock. This patch brings ucc_geth in line with
> gianfar:
>
> Don't bring the interface down and up, just reinit controller HW
> and PHY.
>
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Looks sane, thanks!
Reviewed-by: Anton Vorontsov <cbouatmailru@gmail.com>
next prev parent reply other threads:[~2010-11-12 14:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 13:55 [PATCH 1/2] ucc_geth: Do not bring the whole IF down when TX failure Joakim Tjernlund
2010-11-12 13:55 ` [PATCH 2/2] ucc_geth: Fix deadlock Joakim Tjernlund
2010-11-12 14:09 ` Anton Vorontsov
2010-11-12 20:25 ` David Miller
2010-11-14 14:43 ` Joakim Tjernlund
2010-11-12 14:05 ` Anton Vorontsov [this message]
2010-11-12 20:24 ` [PATCH 1/2] ucc_geth: Do not bring the whole IF down when TX failure David Miller
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=20101112140515.GA28223@oksana.dev.rtsoft.ru \
--to=cbouatmailru@gmail.com \
--cc=Joakim.Tjernlund@transmode.se \
--cc=linuxppc-dev@lists.ozlabs.org \
--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;
as well as URLs for NNTP newsgroup(s).